implement options model / improve view with validators

This commit is contained in:
Wladimir J. van der Laan
2011-06-01 14:40:06 +02:00
parent c6dd35f03d
commit c3e0734dbc
9 changed files with 276 additions and 135 deletions

View File

@@ -3,7 +3,7 @@
#include <QAbstractListModel>
/* Configuration data structure for bitcoin client */
/* Interface from QT to configuration data structure for bitcoin client */
class OptionsModel : public QAbstractListModel
{
Q_OBJECT
@@ -28,6 +28,8 @@ public:
/* Explicit getters */
qint64 getTransactionFee();
bool getMinimizeToTray();
bool getMinimizeOnClose();
signals:
public slots: