Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.h
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | #ifdef ENABLE_WALLET | ||||
*/ | */ | ||||
bool addWallet(const QString &name, WalletModel *walletModel); | bool addWallet(const QString &name, WalletModel *walletModel); | ||||
bool setCurrentWallet(const QString &name); | bool setCurrentWallet(const QString &name); | ||||
void removeAllWallets(); | void removeAllWallets(); | ||||
#endif // ENABLE_WALLET | #endif // ENABLE_WALLET | ||||
bool enableWallet; | bool enableWallet; | ||||
protected: | protected: | ||||
void changeEvent(QEvent *e); | void changeEvent(QEvent *e) override; | ||||
void closeEvent(QCloseEvent *event); | void closeEvent(QCloseEvent *event) override; | ||||
void showEvent(QShowEvent *event); | void showEvent(QShowEvent *event) override; | ||||
void dragEnterEvent(QDragEnterEvent *event); | void dragEnterEvent(QDragEnterEvent *event) override; | ||||
void dropEvent(QDropEvent *event); | void dropEvent(QDropEvent *event) override; | ||||
bool eventFilter(QObject *object, QEvent *event); | bool eventFilter(QObject *object, QEvent *event) override; | ||||
private: | private: | ||||
ClientModel *clientModel; | ClientModel *clientModel; | ||||
WalletFrame *walletFrame; | WalletFrame *walletFrame; | ||||
UnitDisplayStatusBarControl *unitDisplayControl; | UnitDisplayStatusBarControl *unitDisplayControl; | ||||
QLabel *labelWalletEncryptionIcon; | QLabel *labelWalletEncryptionIcon; | ||||
QLabel *labelWalletHDStatusIcon; | QLabel *labelWalletHDStatusIcon; | ||||
▲ Show 20 Lines • Show All 172 Lines • ▼ Show 20 Lines | |||||
public: | public: | ||||
explicit UnitDisplayStatusBarControl(const PlatformStyle *platformStyle); | explicit UnitDisplayStatusBarControl(const PlatformStyle *platformStyle); | ||||
/** Lets the control know about the Options Model (and its signals) */ | /** Lets the control know about the Options Model (and its signals) */ | ||||
void setOptionsModel(OptionsModel *optionsModel); | void setOptionsModel(OptionsModel *optionsModel); | ||||
protected: | protected: | ||||
/** So that it responds to left-button clicks */ | /** So that it responds to left-button clicks */ | ||||
void mousePressEvent(QMouseEvent *event); | void mousePressEvent(QMouseEvent *event) override; | ||||
private: | private: | ||||
OptionsModel *optionsModel; | OptionsModel *optionsModel; | ||||
QMenu *menu; | QMenu *menu; | ||||
/** Shows context menu with Display Unit options by the mouse coordinates */ | /** Shows context menu with Display Unit options by the mouse coordinates */ | ||||
void onDisplayUnitsClicked(const QPoint &point); | void onDisplayUnitsClicked(const QPoint &point); | ||||
/** Creates context menu, its actions, and wires up all the relevant signals | /** Creates context menu, its actions, and wires up all the relevant signals | ||||
Show All 12 Lines |