Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.h
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | #ifdef ENABLE_WALLET | ||||
void removeWallet(WalletModel *walletModel); | void removeWallet(WalletModel *walletModel); | ||||
void removeAllWallets(); | void removeAllWallets(); | ||||
#endif // ENABLE_WALLET | #endif // ENABLE_WALLET | ||||
bool enableWallet = false; | bool enableWallet = false; | ||||
/** Disconnect core signals from GUI client */ | /** Disconnect core signals from GUI client */ | ||||
void unsubscribeFromCoreSignals(); | void unsubscribeFromCoreSignals(); | ||||
bool isPrivacyModeActivated() const; | |||||
/** | /** | ||||
* Get the tray icon status. | * Get the tray icon status. | ||||
* Some systems have not "system tray" or "notification area" available. | * Some systems have not "system tray" or "notification area" available. | ||||
*/ | */ | ||||
bool hasTrayIcon() const { return trayIcon; } | bool hasTrayIcon() const { return trayIcon; } | ||||
protected: | protected: | ||||
void changeEvent(QEvent *e) override; | void changeEvent(QEvent *e) override; | ||||
▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | private: | ||||
QAction *openAction = nullptr; | QAction *openAction = nullptr; | ||||
QAction *showHelpMessageAction = nullptr; | QAction *showHelpMessageAction = nullptr; | ||||
QAction *m_create_wallet_action{nullptr}; | QAction *m_create_wallet_action{nullptr}; | ||||
QAction *m_open_wallet_action{nullptr}; | QAction *m_open_wallet_action{nullptr}; | ||||
QMenu *m_open_wallet_menu{nullptr}; | QMenu *m_open_wallet_menu{nullptr}; | ||||
QAction *m_close_wallet_action{nullptr}; | QAction *m_close_wallet_action{nullptr}; | ||||
QAction *m_wallet_selector_label_action = nullptr; | QAction *m_wallet_selector_label_action = nullptr; | ||||
QAction *m_wallet_selector_action = nullptr; | QAction *m_wallet_selector_action = nullptr; | ||||
QAction *m_mask_values_action{nullptr}; | |||||
QLabel *m_wallet_selector_label = nullptr; | QLabel *m_wallet_selector_label = nullptr; | ||||
QComboBox *m_wallet_selector = nullptr; | QComboBox *m_wallet_selector = nullptr; | ||||
QSystemTrayIcon *trayIcon = nullptr; | QSystemTrayIcon *trayIcon = nullptr; | ||||
const std::unique_ptr<QMenu> trayIconMenu; | const std::unique_ptr<QMenu> trayIconMenu; | ||||
Notificator *notificator = nullptr; | Notificator *notificator = nullptr; | ||||
RPCConsole *rpcConsole = nullptr; | RPCConsole *rpcConsole = nullptr; | ||||
Show All 37 Lines | #endif | ||||
/** Open the OptionsDialog on the specified tab index */ | /** Open the OptionsDialog on the specified tab index */ | ||||
void openOptionsDialogWithTab(OptionsDialog::Tab tab); | void openOptionsDialogWithTab(OptionsDialog::Tab tab); | ||||
Q_SIGNALS: | Q_SIGNALS: | ||||
/** Signal raised when a URI was entered or dragged to the GUI */ | /** Signal raised when a URI was entered or dragged to the GUI */ | ||||
void receivedURI(const QString &uri); | void receivedURI(const QString &uri); | ||||
/** Signal raised when RPC console shown */ | /** Signal raised when RPC console shown */ | ||||
void consoleShown(RPCConsole *console); | void consoleShown(RPCConsole *console); | ||||
void setPrivacy(bool privacy); | |||||
public Q_SLOTS: | public Q_SLOTS: | ||||
/** Set number of connections shown in the UI */ | /** Set number of connections shown in the UI */ | ||||
void setNumConnections(int count); | void setNumConnections(int count); | ||||
/** Set network state shown in the UI */ | /** Set network state shown in the UI */ | ||||
void setNetworkActive(bool networkActive); | void setNetworkActive(bool networkActive); | ||||
/** Set number of blocks and last block date shown in the UI */ | /** Set number of blocks and last block date shown in the UI */ | ||||
void setNumBlocks(int count, const QDateTime &blockDate, | void setNumBlocks(int count, const QDateTime &blockDate, | ||||
▲ Show 20 Lines • Show All 143 Lines • Show Last 20 Lines |