5 #ifndef BITCOIN_QT_WALLETCONTROLLER_H 6 #define BITCOIN_QT_WALLETCONTROLLER_H 18 #include <QMessageBox> 20 #include <QProgressDialog> 49 void removeAndDeleteWallet(
WalletModel* wallet_model);
56 std::vector<WalletModel*> getOpenWallets()
const;
62 std::map<std::string, bool> listWalletDir()
const;
64 void closeWallet(
WalletModel* wallet_model, QWidget* parent =
nullptr);
65 void closeAllWallets(QWidget* parent =
nullptr);
100 QObject*
worker()
const {
return m_wallet_controller->m_activity_worker; }
102 void showProgressDialog(
const QString& label_text);
103 void destroyProgressDialog();
107 QProgressDialog* m_progress_dialog{
nullptr};
128 void askPassphrase();
144 void open(
const std::string& path);
153 #endif // BITCOIN_QT_WALLETCONTROLLER_H std::vector< WalletModel * > m_wallets
bilingual_str m_error_message
interfaces::Node & node() const
const PlatformStyle *const m_platform_style
std::basic_string< char, std::char_traits< char >, secure_allocator< char > > SecureString
Controller between interfaces::Node, WalletModel instances and the GUI.
QObject *const m_activity_worker
SecureString m_passphrase
QWidget *const m_parent_widget
std::vector< bilingual_str > m_warning_message
ClientModel & m_client_model
interfaces::Node & m_node
Model for Bitcoin network client.
Interface from Qt to configuration data structure for Bitcoin client.
Interface to Bitcoin wallet from Qt view code.
Multifunctional dialog to ask for passphrases.
Dialog for creating wallets.
QThread *const m_activity_thread
std::unique_ptr< interfaces::Handler > m_handler_load_wallet
Top-level interface for a bitcoin node (bitcoind process).
OptionsModel *const m_options_model
WalletController *const m_wallet_controller