[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
This commit is contained in:
Cristian Mircea Messel
2018-05-16 23:05:09 +03:00
parent 7ebd8c6385
commit 6d5fcad576
4 changed files with 46 additions and 18 deletions

View File

@@ -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) */