mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
[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:
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user