Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.h
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | public: | ||||
*/ | */ | ||||
void setClientModel(ClientModel *clientModel); | void setClientModel(ClientModel *clientModel); | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
/** | /** | ||||
* Set the wallet model. | * Set the wallet model. | ||||
* The wallet model represents a bitcoin wallet, and offers access to the | * The wallet model represents a bitcoin wallet, and offers access to the | ||||
* list of transactions, address book and sending functionality. | * list of transactions, address book and sending functionality. | ||||
*/ | */ | ||||
bool addWallet(WalletModel *walletModel); | bool addWallet(WalletModel *walletModel); | ||||
void removeAllWallets(); | void removeAllWallets(); | ||||
#endif // ENABLE_WALLET | #endif // ENABLE_WALLET | ||||
bool enableWallet = false; | bool enableWallet = false; | ||||
protected: | protected: | ||||
void changeEvent(QEvent *e) override; | void changeEvent(QEvent *e) override; | ||||
void closeEvent(QCloseEvent *event) override; | void closeEvent(QCloseEvent *event) override; | ||||
▲ Show 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | /** Notify the user of an event from the core network or transaction | ||||
Ok was clicked (modal only) | Ok was clicked (modal only) | ||||
*/ | */ | ||||
void message(const QString &title, const QString &message, | void message(const QString &title, const QString &message, | ||||
unsigned int style, bool *ret = nullptr); | unsigned int style, bool *ret = nullptr); | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
bool setCurrentWallet(const QString &name); | bool setCurrentWallet(const QString &name); | ||||
/** Set the UI status indicators based on the currently selected wallet. | /** Set the UI status indicators based on the currently selected wallet. | ||||
*/ | */ | ||||
void updateWalletStatus(); | void updateWalletStatus(); | ||||
private: | private: | ||||
/** Set the encryption status as shown in the UI. | /** Set the encryption status as shown in the UI. | ||||
@param[in] status current encryption status | @param[in] status current encryption status | ||||
@see WalletModel::EncryptionStatus | @see WalletModel::EncryptionStatus | ||||
*/ | */ | ||||
void setEncryptionStatus(int status); | void setEncryptionStatus(int status); | ||||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |