aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsdialog.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-25 21:35:45 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-25 21:38:54 +0200
commite285ffcd052a42a6e870f093e7663671a2a3b147 (patch)
treed9c5237ba0d2c6617d6202cbf1fda666a0b33d78 /src/qt/optionsdialog.h
parentbbae0fc9efa6eb7155d679a1cc3eeb451d594d14 (diff)
preparations for multiple unit (uBTC, mBTC, BTC) support, fix amount entry issue
Diffstat (limited to 'src/qt/optionsdialog.h')
-rw-r--r--src/qt/optionsdialog.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/qt/optionsdialog.h b/src/qt/optionsdialog.h
index 07e85297d5..d5238a3664 100644
--- a/src/qt/optionsdialog.h
+++ b/src/qt/optionsdialog.h
@@ -11,6 +11,7 @@ class QPushButton;
QT_END_NAMESPACE
class OptionsModel;
class MainOptionsPage;
+class DisplayOptionsPage;
class MonitoredDataMapper;
class OptionsDialog : public QDialog
@@ -24,7 +25,8 @@ public:
signals:
public slots:
- void changePage(QListWidgetItem *current, QListWidgetItem *previous);
+ void changePage(int index);
+
private slots:
void okClicked();
void cancelClicked();
@@ -34,11 +36,14 @@ private slots:
private:
QListWidget *contents_widget;
QStackedWidget *pages_widget;
- MainOptionsPage *main_options_page;
OptionsModel *model;
MonitoredDataMapper *mapper;
QPushButton *apply_button;
+ // Pages
+ MainOptionsPage *main_page;
+ DisplayOptionsPage *display_page;
+
void setupMainPage();
};