Bitcoin Core  21.99.0
P2P Digital Currency
bitcoingui.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2020 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_QT_BITCOINGUI_H
6 #define BITCOIN_QT_BITCOINGUI_H
7 
8 #if defined(HAVE_CONFIG_H)
10 #endif
11 
12 #include <qt/optionsdialog.h>
13 
14 #include <amount.h>
15 
16 #include <QLabel>
17 #include <QMainWindow>
18 #include <QMap>
19 #include <QPoint>
20 #include <QSystemTrayIcon>
21 
22 #ifdef Q_OS_MAC
23 #include <qt/macos_appnap.h>
24 #endif
25 
26 #include <memory>
27 
28 class ClientModel;
29 class NetworkStyle;
30 class Notificator;
31 class OptionsModel;
32 class PlatformStyle;
33 class RPCConsole;
34 class SendCoinsRecipient;
36 class WalletController;
37 class WalletFrame;
38 class WalletModel;
39 class HelpMessageDialog;
40 class ModalOverlay;
41 enum class SynchronizationState;
42 
43 namespace interfaces {
44 class Handler;
45 class Node;
46 struct BlockAndHeaderTipInfo;
47 }
48 
49 QT_BEGIN_NAMESPACE
50 class QAction;
51 class QComboBox;
52 class QDateTime;
53 class QMenu;
54 class QProgressBar;
55 class QProgressDialog;
56 QT_END_NAMESPACE
57 
58 namespace GUIUtil {
59 class ClickableLabel;
61 }
62 
67 class BitcoinGUI : public QMainWindow
68 {
69  Q_OBJECT
70 
71 public:
72  static const std::string DEFAULT_UIPLATFORM;
73 
74  explicit BitcoinGUI(interfaces::Node& node, const PlatformStyle *platformStyle, const NetworkStyle *networkStyle, QWidget *parent = nullptr);
75  ~BitcoinGUI();
76 
80  void setClientModel(ClientModel *clientModel = nullptr, interfaces::BlockAndHeaderTipInfo* tip_info = nullptr);
81 #ifdef ENABLE_WALLET
82  void setWalletController(WalletController* wallet_controller);
83  WalletController* getWalletController();
84 #endif
85 
86 #ifdef ENABLE_WALLET
87 
91  void addWallet(WalletModel* walletModel);
92  void removeWallet(WalletModel* walletModel);
93  void removeAllWallets();
94 #endif // ENABLE_WALLET
95  bool enableWallet = false;
96 
100  bool hasTrayIcon() const { return trayIcon; }
101 
104 
105  bool isPrivacyModeActivated() const;
106 
107 protected:
108  void changeEvent(QEvent *e) override;
109  void closeEvent(QCloseEvent *event) override;
110  void showEvent(QShowEvent *event) override;
111  void dragEnterEvent(QDragEnterEvent *event) override;
112  void dropEvent(QDropEvent *event) override;
113  bool eventFilter(QObject *object, QEvent *event) override;
114 
115 private:
118  std::unique_ptr<interfaces::Handler> m_handler_message_box;
119  std::unique_ptr<interfaces::Handler> m_handler_question;
122 
124  QLabel* labelWalletEncryptionIcon = nullptr;
125  QLabel* labelWalletHDStatusIcon = nullptr;
129  QLabel* progressBarLabel = nullptr;
131  QProgressDialog* progressDialog = nullptr;
132 
133  QMenuBar* appMenuBar = nullptr;
134  QToolBar* appToolBar = nullptr;
135  QAction* overviewAction = nullptr;
136  QAction* historyAction = nullptr;
137  QAction* quitAction = nullptr;
138  QAction* sendCoinsAction = nullptr;
139  QAction* sendCoinsMenuAction = nullptr;
140  QAction* usedSendingAddressesAction = nullptr;
141  QAction* usedReceivingAddressesAction = nullptr;
142  QAction* signMessageAction = nullptr;
143  QAction* verifyMessageAction = nullptr;
144  QAction* m_load_psbt_action = nullptr;
145  QAction* m_load_psbt_clipboard_action = nullptr;
146  QAction* aboutAction = nullptr;
147  QAction* receiveCoinsAction = nullptr;
148  QAction* receiveCoinsMenuAction = nullptr;
149  QAction* optionsAction = nullptr;
150  QAction* toggleHideAction = nullptr;
151  QAction* encryptWalletAction = nullptr;
152  QAction* backupWalletAction = nullptr;
153  QAction* changePassphraseAction = nullptr;
154  QAction* aboutQtAction = nullptr;
155  QAction* openRPCConsoleAction = nullptr;
156  QAction* openAction = nullptr;
157  QAction* showHelpMessageAction = nullptr;
158  QAction* m_create_wallet_action{nullptr};
159  QAction* m_open_wallet_action{nullptr};
160  QMenu* m_open_wallet_menu{nullptr};
161  QAction* m_close_wallet_action{nullptr};
162  QAction* m_close_all_wallets_action{nullptr};
163  QAction* m_wallet_selector_label_action = nullptr;
164  QAction* m_wallet_selector_action = nullptr;
165  QAction* m_mask_values_action{nullptr};
166 
167  QLabel *m_wallet_selector_label = nullptr;
168  QComboBox* m_wallet_selector = nullptr;
169 
170  QSystemTrayIcon* trayIcon = nullptr;
171  const std::unique_ptr<QMenu> trayIconMenu;
173  RPCConsole* rpcConsole = nullptr;
176 
177 #ifdef Q_OS_MAC
178  CAppNapInhibitor* m_app_nap_inhibitor = nullptr;
179 #endif
180 
182  int prevBlocks = 0;
183  int spinnerFrame = 0;
184 
187 
189  void createActions();
191  void createMenuBar();
193  void createToolBars();
195  void createTrayIcon();
197  void createTrayIconMenu();
198 
200  void setWalletActionsEnabled(bool enabled);
201 
203  void subscribeToCoreSignals();
204 
206  void updateNetworkState();
207 
209 
212 
213 Q_SIGNALS:
215  void receivedURI(const QString &uri);
217  void consoleShown(RPCConsole* console);
218  void setPrivacy(bool privacy);
219 
220 public Q_SLOTS:
222  void setNumConnections(int count);
224  void setNetworkActive(bool networkActive);
226  void setNumBlocks(int count, const QDateTime& blockDate, double nVerificationProgress, bool headers, SynchronizationState sync_state);
227 
236  void message(const QString& title, QString message, unsigned int style, bool* ret = nullptr, const QString& detailed_message = QString());
237 
238 #ifdef ENABLE_WALLET
239  void setCurrentWallet(WalletModel* wallet_model);
240  void setCurrentWalletBySelectorIndex(int index);
243  void updateWalletStatus();
244 
245 private:
250  void setEncryptionStatus(int status);
251 
256  void setHDStatus(bool privkeyDisabled, int hdEnabled);
257 
258 public Q_SLOTS:
259  bool handlePaymentRequest(const SendCoinsRecipient& recipient);
260 
262  void incomingTransaction(const QString& date, int unit, const CAmount& amount, const QString& type, const QString& address, const QString& label, const QString& walletName);
263 #endif // ENABLE_WALLET
264 
265 private:
267  void updateProxyIcon();
268  void updateWindowTitle();
269 
270 public Q_SLOTS:
271 #ifdef ENABLE_WALLET
272 
273  void gotoOverviewPage();
275  void gotoHistoryPage();
277  void gotoReceiveCoinsPage();
279  void gotoSendCoinsPage(QString addr = "");
280 
282  void gotoSignMessageTab(QString addr = "");
284  void gotoVerifyMessageTab(QString addr = "");
286  void gotoLoadPSBT(bool from_clipboard = false);
287 
289  void openClicked();
290 #endif // ENABLE_WALLET
291 
292  void optionsClicked();
294  void aboutClicked();
296  void showDebugWindow();
300  void showHelpMessageClicked();
301 #ifndef Q_OS_MAC
302 
303  void trayIconActivated(QSystemTrayIcon::ActivationReason reason);
304 #else
305 
306  void macosDockIconActivated();
307 #endif
308 
311  void showNormalIfMinimized(bool fToggleHidden);
313  void toggleHidden();
314 
316  void detectShutdown();
317 
319  void showProgress(const QString &title, int nProgress);
320 
321  void showModalOverlay();
322 };
323 
324 class UnitDisplayStatusBarControl : public QLabel
325 {
326  Q_OBJECT
327 
328 public:
329  explicit UnitDisplayStatusBarControl(const PlatformStyle *platformStyle);
332 
333 protected:
335  void mousePressEvent(QMouseEvent *event) override;
336 
337 private:
339  QMenu* menu;
340 
342  void onDisplayUnitsClicked(const QPoint& point);
344  void createContextMenu();
345 
346 private Q_SLOTS:
348  void updateDisplayUnit(int newUnits);
350  void onMenuSelection(QAction* action);
351 };
352 
353 #endif // BITCOIN_QT_BITCOINGUI_H
BitcoinGUI::createToolBars
void createToolBars()
Create the toolbars.
Definition: bitcoingui.cpp:543
WalletFrame
A container for embedding all wallet-related controls into BitcoinGUI.
Definition: walletframe.h:29
interfaces
Definition: dummywallet.cpp:10
BitcoinGUI::labelWalletEncryptionIcon
QLabel * labelWalletEncryptionIcon
Definition: bitcoingui.h:124
BitcoinGUI::setClientModel
void setClientModel(ClientModel *clientModel=nullptr, interfaces::BlockAndHeaderTipInfo *tip_info=nullptr)
Set the client model.
Definition: bitcoingui.cpp:579
macos_appnap.h
BitcoinGUI::trayIcon
QSystemTrayIcon * trayIcon
Definition: bitcoingui.h:170
OptionsDialog::Tab
Tab
Definition: optionsdialog.h:43
BitcoinGUI::updateProxyIcon
void updateProxyIcon()
Set the proxy-enabled icon as shown in the UI.
Definition: bitcoingui.cpp:1310
UnitDisplayStatusBarControl::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
So that it responds to left-button clicks.
Definition: bitcoingui.cpp:1462
ModalOverlay
Modal overlay to display information about the chain-sync state.
Definition: modaloverlay.h:20
count
static int count
Definition: tests.c:35
BitcoinGUI::trayIconMenu
const std::unique_ptr< QMenu > trayIconMenu
Definition: bitcoingui.h:171
GUIUtil::ClickableLabel
Definition: guiutil.h:219
BitcoinGUI::setWalletActionsEnabled
void setWalletActionsEnabled(bool enabled)
Enable or disable all wallet-related actions.
Definition: bitcoingui.cpp:734
BitcoinGUI::enableWallet
bool enableWallet
Definition: bitcoingui.h:95
BitcoinGUI::toggleHidden
void toggleHidden()
Simply calls showNormalIfMinimized(true) for use in SLOT() macro.
Definition: bitcoingui.cpp:1357
BitcoinGUI::rpcConsole
RPCConsole * rpcConsole
Definition: bitcoingui.h:173
BitcoinGUI::closeEvent
void closeEvent(QCloseEvent *event) override
Definition: bitcoingui.cpp:1163
CAppNapInhibitor
Definition: macos_appnap.h:10
WalletModel
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:51
HelpMessageDialog
"Help message" dialog box
Definition: utilitydialog.h:20
BitcoinGUI::receivedURI
void receivedURI(const QString &uri)
Signal raised when a URI was entered or dragged to the GUI.
BitcoinGUI::showNormalIfMinimized
void showNormalIfMinimized()
Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHid...
Definition: bitcoingui.h:310
BitcoinGUI::m_wallet_selector_action
QAction * m_wallet_selector_action
Definition: bitcoingui.h:164
BitcoinGUI::m_wallet_selector
QComboBox * m_wallet_selector
Definition: bitcoingui.h:168
BitcoinGUI::clientModel
ClientModel * clientModel
Definition: bitcoingui.h:120
BitcoinGUI::createActions
void createActions()
Create the main UI actions.
Definition: bitcoingui.cpp:242
UnitDisplayStatusBarControl
Definition: bitcoingui.h:324
BitcoinGUI::connectionsControl
GUIUtil::ClickableLabel * connectionsControl
Definition: bitcoingui.h:127
BitcoinGUI::dropEvent
void dropEvent(QDropEvent *event) override
Definition: bitcoingui.cpp:1220
BitcoinGUI::usedSendingAddressesAction
QAction * usedSendingAddressesAction
Definition: bitcoingui.h:140
GUIUtil::ClickableProgressBar
Definition: guiutil.h:232
BitcoinGUI::m_load_psbt_action
QAction * m_load_psbt_action
Definition: bitcoingui.h:144
BitcoinGUI::quitAction
QAction * quitAction
Definition: bitcoingui.h:137
GUIUtil
Utility functions used by the Bitcoin Qt UI.
Definition: bitcoingui.h:58
BitcoinGUI::overviewAction
QAction * overviewAction
Definition: bitcoingui.h:135
BitcoinGUI::progressDialog
QProgressDialog * progressDialog
Definition: bitcoingui.h:131
BitcoinGUI::m_node
interfaces::Node & m_node
Definition: bitcoingui.h:116
NetworkStyle
Definition: networkstyle.h:13
interfaces::BlockAndHeaderTipInfo
Block and header tip information.
Definition: node.h:43
BitcoinGUI::changeEvent
void changeEvent(QEvent *e) override
Definition: bitcoingui.cpp:1139
BitcoinGUI::historyAction
QAction * historyAction
Definition: bitcoingui.h:136
bitcoin-config.h
BitcoinGUI::createTrayIconMenu
void createTrayIconMenu()
Create system tray menu (or setup the dock menu)
Definition: bitcoingui.cpp:767
BitcoinGUI::message
void message(const QString &title, QString message, unsigned int style, bool *ret=nullptr, const QString &detailed_message=QString())
Notify the user of an event from the core network or transaction handling code.
Definition: bitcoingui.cpp:1079
BitcoinGUI::appToolBar
QToolBar * appToolBar
Definition: bitcoingui.h:134
BitcoinGUI::showDebugWindowActivateConsole
void showDebugWindowActivateConsole()
Show debug window and set focus to the console.
Definition: bitcoingui.cpp:842
BitcoinGUI::hasTrayIcon
bool hasTrayIcon() const
Get the tray icon status.
Definition: bitcoingui.h:100
BitcoinGUI::notificator
Notificator * notificator
Definition: bitcoingui.h:172
UnitDisplayStatusBarControl::setOptionsModel
void setOptionsModel(OptionsModel *optionsModel)
Lets the control know about the Options Model (and its signals)
Definition: bitcoingui.cpp:1481
UnitDisplayStatusBarControl::menu
QMenu * menu
Definition: bitcoingui.h:339
BitcoinGUI::isPrivacyModeActivated
bool isPrivacyModeActivated() const
Definition: bitcoingui.cpp:1437
BitcoinGUI::showEvent
void showEvent(QShowEvent *event) override
Definition: bitcoingui.cpp:1186
SendCoinsRecipient
Definition: sendcoinsrecipient.h:19
BitcoinGUI::setPrivacy
void setPrivacy(bool privacy)
OptionsModel
Interface from Qt to configuration data structure for Bitcoin client.
Definition: optionsmodel.h:39
BitcoinGUI::showProgress
void showProgress(const QString &title, int nProgress)
Show progress dialog e.g.
Definition: bitcoingui.cpp:1372
BitcoinGUI::modalOverlay
ModalOverlay * modalOverlay
Definition: bitcoingui.h:175
BitcoinGUI::m_network_style
const NetworkStyle *const m_network_style
Definition: bitcoingui.h:186
BitcoinGUI::m_create_wallet_action
QAction * m_create_wallet_action
Definition: bitcoingui.h:158
Notificator
Cross-platform desktop notification client.
Definition: notificator.h:24
BitcoinGUI::m_mask_values_action
QAction * m_mask_values_action
Definition: bitcoingui.h:165
BitcoinGUI::unsubscribeFromCoreSignals
void unsubscribeFromCoreSignals()
Disconnect core signals from GUI client.
Definition: bitcoingui.cpp:1430
BitcoinGUI::m_close_all_wallets_action
QAction * m_close_all_wallets_action
Definition: bitcoingui.h:162
BitcoinGUI::showModalOverlay
void showModalOverlay()
Definition: bitcoingui.cpp:1392
BitcoinGUI::~BitcoinGUI
~BitcoinGUI()
Definition: bitcoingui.cpp:224
BitcoinGUI::walletFrame
WalletFrame * walletFrame
Definition: bitcoingui.h:121
UnitDisplayStatusBarControl::updateDisplayUnit
void updateDisplayUnit(int newUnits)
When Display Units are changed on OptionsModel it will refresh the display text of the control on the...
Definition: bitcoingui.cpp:1496
WalletController
Controller between interfaces::Node, WalletModel instances and the GUI.
Definition: walletcontroller.h:45
BitcoinGUI::progressBarLabel
QLabel * progressBarLabel
Definition: bitcoingui.h:129
RPCConsole
Local Bitcoin RPC console.
Definition: rpcconsole.h:37
BitcoinGUI::showHelpMessageAction
QAction * showHelpMessageAction
Definition: bitcoingui.h:157
CAmount
int64_t CAmount
Amount in satoshis (Can be negative)
Definition: amount.h:12
BitcoinGUI::setNumBlocks
void setNumBlocks(int count, const QDateTime &blockDate, double nVerificationProgress, bool headers, SynchronizationState sync_state)
Set number of blocks and last block date shown in the UI.
Definition: bitcoingui.cpp:961
BitcoinGUI::aboutQtAction
QAction * aboutQtAction
Definition: bitcoingui.h:154
optionsdialog.h
BitcoinGUI::subscribeToCoreSignals
void subscribeToCoreSignals()
Connect core signals to GUI client.
Definition: bitcoingui.cpp:1423
BitcoinGUI::sendCoinsAction
QAction * sendCoinsAction
Definition: bitcoingui.h:138
BitcoinGUI::m_wallet_selector_label
QLabel * m_wallet_selector_label
Definition: bitcoingui.h:167
BitcoinGUI::setNumConnections
void setNumConnections(int count)
Set number of connections shown in the UI.
Definition: bitcoingui.cpp:931
BitcoinGUI::optionsClicked
void optionsClicked()
Show configuration dialog.
Definition: bitcoingui.cpp:822
BitcoinGUI::receiveCoinsAction
QAction * receiveCoinsAction
Definition: bitcoingui.h:147
BitcoinGUI::backupWalletAction
QAction * backupWalletAction
Definition: bitcoingui.h:152
BitcoinGUI::detectShutdown
void detectShutdown()
called by a timer to check if ShutdownRequested() has been set
Definition: bitcoingui.cpp:1362
BitcoinGUI::showHelpMessageClicked
void showHelpMessageClicked()
Show help message dialog.
Definition: bitcoingui.cpp:848
BitcoinGUI::aboutClicked
void aboutClicked()
Show about dialog.
Definition: bitcoingui.cpp:827
interfaces::Node
Top-level interface for a bitcoin node (bitcoind process).
Definition: node.h:53
BitcoinGUI::updateNetworkState
void updateNetworkState()
Update UI with latest network info from model.
Definition: bitcoingui.cpp:902
UnitDisplayStatusBarControl::UnitDisplayStatusBarControl
UnitDisplayStatusBarControl(const PlatformStyle *platformStyle)
Definition: bitcoingui.cpp:1443
BitcoinGUI::BitcoinGUI
BitcoinGUI(interfaces::Node &node, const PlatformStyle *platformStyle, const NetworkStyle *networkStyle, QWidget *parent=nullptr)
Definition: bitcoingui.cpp:78
BitcoinGUI::m_handler_message_box
std::unique_ptr< interfaces::Handler > m_handler_message_box
Definition: bitcoingui.h:118
ClientModel
Model for Bitcoin network client.
Definition: clientmodel.h:46
BitcoinGUI::labelProxyIcon
GUIUtil::ClickableLabel * labelProxyIcon
Definition: bitcoingui.h:126
BitcoinGUI::openAction
QAction * openAction
Definition: bitcoingui.h:156
BitcoinGUI::eventFilter
bool eventFilter(QObject *object, QEvent *event) override
Definition: bitcoingui.cpp:1232
BitcoinGUI::changePassphraseAction
QAction * changePassphraseAction
Definition: bitcoingui.h:153
BitcoinGUI::m_open_wallet_menu
QMenu * m_open_wallet_menu
Definition: bitcoingui.h:160
BitcoinGUI::progressBar
GUIUtil::ClickableProgressBar * progressBar
Definition: bitcoingui.h:130
BitcoinGUI::verifyMessageAction
QAction * verifyMessageAction
Definition: bitcoingui.h:143
BitcoinGUI::platformStyle
const PlatformStyle * platformStyle
Definition: bitcoingui.h:185
BitcoinGUI::toggleHideAction
QAction * toggleHideAction
Definition: bitcoingui.h:150
BitcoinGUI::m_handler_question
std::unique_ptr< interfaces::Handler > m_handler_question
Definition: bitcoingui.h:119
BitcoinGUI::m_close_wallet_action
QAction * m_close_wallet_action
Definition: bitcoingui.h:161
BitcoinGUI::trayIconActivated
void trayIconActivated(QSystemTrayIcon::ActivationReason reason)
Handle tray icon clicked.
Definition: bitcoingui.cpp:806
BitcoinGUI::m_load_psbt_clipboard_action
QAction * m_load_psbt_clipboard_action
Definition: bitcoingui.h:145
BitcoinGUI::optionsAction
QAction * optionsAction
Definition: bitcoingui.h:149
BitcoinGUI::usedReceivingAddressesAction
QAction * usedReceivingAddressesAction
Definition: bitcoingui.h:141
BitcoinGUI::openOptionsDialogWithTab
void openOptionsDialogWithTab(OptionsDialog::Tab tab)
Open the OptionsDialog on the specified tab index.
Definition: bitcoingui.cpp:950
node
Definition: interfaces.cpp:64
BitcoinGUI::unitDisplayControl
UnitDisplayStatusBarControl * unitDisplayControl
Definition: bitcoingui.h:123
BitcoinGUI::helpMessageDialog
HelpMessageDialog * helpMessageDialog
Definition: bitcoingui.h:174
SynchronizationState
SynchronizationState
Current sync state passed to tip changed callbacks.
Definition: validation.h:103
BitcoinGUI::prevBlocks
int prevBlocks
Keep track of previous number of blocks, to detect progress.
Definition: bitcoingui.h:182
BitcoinGUI::consoleShown
void consoleShown(RPCConsole *console)
Signal raised when RPC console shown.
BitcoinGUI::createMenuBar
void createMenuBar()
Create the menu bar and sub-menus.
Definition: bitcoingui.cpp:446
BitcoinGUI::createTrayIcon
void createTrayIcon()
Create system tray icon and notification.
Definition: bitcoingui.cpp:754
BitcoinGUI::updateWindowTitle
void updateWindowTitle()
Definition: bitcoingui.cpp:1328
UnitDisplayStatusBarControl::createContextMenu
void createContextMenu()
Creates context menu, its actions, and wires up all the relevant signals for mouse events.
Definition: bitcoingui.cpp:1468
BitcoinGUI::aboutAction
QAction * aboutAction
Definition: bitcoingui.h:146
BitcoinGUI::m_wallet_controller
WalletController * m_wallet_controller
Definition: bitcoingui.h:117
UnitDisplayStatusBarControl::onMenuSelection
void onMenuSelection(QAction *action)
Tells underlying optionsModel to update its current display unit.
Definition: bitcoingui.cpp:1509
BitcoinGUI::sendCoinsMenuAction
QAction * sendCoinsMenuAction
Definition: bitcoingui.h:139
BitcoinGUI::labelBlocksIcon
GUIUtil::ClickableLabel * labelBlocksIcon
Definition: bitcoingui.h:128
BitcoinGUI::updateHeadersSyncProgressLabel
void updateHeadersSyncProgressLabel()
Definition: bitcoingui.cpp:941
BitcoinGUI::m_wallet_selector_label_action
QAction * m_wallet_selector_label_action
Definition: bitcoingui.h:163
PlatformStyle
Definition: platformstyle.h:13
BitcoinGUI::setNetworkActive
void setNetworkActive(bool networkActive)
Set network state shown in the UI.
Definition: bitcoingui.cpp:936
BitcoinGUI
Bitcoin GUI main class.
Definition: bitcoingui.h:67
amount.h
BitcoinGUI::spinnerFrame
int spinnerFrame
Definition: bitcoingui.h:183
BitcoinGUI::m_open_wallet_action
QAction * m_open_wallet_action
Definition: bitcoingui.h:159
BitcoinGUI::appMenuBar
QMenuBar * appMenuBar
Definition: bitcoingui.h:133
BitcoinGUI::dragEnterEvent
void dragEnterEvent(QDragEnterEvent *event) override
Definition: bitcoingui.cpp:1213
BitcoinGUI::encryptWalletAction
QAction * encryptWalletAction
Definition: bitcoingui.h:151
BitcoinGUI::labelWalletHDStatusIcon
QLabel * labelWalletHDStatusIcon
Definition: bitcoingui.h:125
BitcoinGUI::DEFAULT_UIPLATFORM
static const std::string DEFAULT_UIPLATFORM
Definition: bitcoingui.h:72
BitcoinGUI::openRPCConsoleAction
QAction * openRPCConsoleAction
Definition: bitcoingui.h:155
UnitDisplayStatusBarControl::onDisplayUnitsClicked
void onDisplayUnitsClicked(const QPoint &point)
Shows context menu with Display Unit options by the mouse coordinates.
Definition: bitcoingui.cpp:1502
BitcoinGUI::receiveCoinsMenuAction
QAction * receiveCoinsMenuAction
Definition: bitcoingui.h:148
BitcoinGUI::signMessageAction
QAction * signMessageAction
Definition: bitcoingui.h:142
BitcoinGUI::showDebugWindow
void showDebugWindow()
Show debug window.
Definition: bitcoingui.cpp:836
UnitDisplayStatusBarControl::optionsModel
OptionsModel * optionsModel
Definition: bitcoingui.h:338