aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsdialog.h
diff options
context:
space:
mode:
authorCristian Mircea Messel <mess110@gmail.com>2018-05-16 23:05:09 +0300
committerCristian Mircea Messel <mess110@gmail.com>2018-07-25 01:03:26 +0300
commit6d5fcad576962e5950641f7e7b113a6ac6f397e5 (patch)
treee650b09380890669bbd3623bfbd5c5960ebf84eb /src/qt/optionsdialog.h
parent7ebd8c6385253bfa30175169a22f93474d8ddfaf (diff)
[gui] Make proxy icon from statusbar clickable
Clicking on the proxy icon will open settings showing the network tab Create enum Tab in OptionsModel Use new connect syntax Use lambda for private slots
Diffstat (limited to 'src/qt/optionsdialog.h')
-rw-r--r--src/qt/optionsdialog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/optionsdialog.h b/src/qt/optionsdialog.h
index 5aad484ce7..482f61658e 100644
--- a/src/qt/optionsdialog.h
+++ b/src/qt/optionsdialog.h
@@ -40,8 +40,14 @@ public:
explicit OptionsDialog(QWidget *parent, bool enableWallet);
~OptionsDialog();
+ enum Tab {
+ TAB_MAIN,
+ TAB_NETWORK,
+ };
+
void setModel(OptionsModel *model);
void setMapper();
+ void setCurrentTab(OptionsDialog::Tab tab);
private Q_SLOTS:
/* set OK button state (enabled / disabled) */