Bitcoin Core  22.99.0
P2P Digital Currency
bitcoingui.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2021 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/guiutil.h>
13 #include <qt/optionsdialog.h>
14 
15 #include <consensus/amount.h>
16 
17 #include <QLabel>
18 #include <QMainWindow>
19 #include <QMap>
20 #include <QMenu>
21 #include <QPoint>
22 #include <QSystemTrayIcon>
23 
24 #ifdef Q_OS_MAC
25 #include <qt/macos_appnap.h>
26 #endif
27 
28 #include <memory>
29 
30 class ClientModel;
31 class NetworkStyle;
32 class Notificator;
33 class OptionsModel;
34 class PlatformStyle;
35 class RPCConsole;
36 class SendCoinsRecipient;
38 class WalletController;
39 class WalletFrame;
40 class WalletModel;
41 class HelpMessageDialog;
42 class ModalOverlay;
43 enum class SynchronizationState;
44 
45 namespace interfaces {
46 class Handler;
47 class Node;
48 struct BlockAndHeaderTipInfo;
49 }
50 
51 QT_BEGIN_NAMESPACE
52 class QAction;
53 class QComboBox;
54 class QDateTime;
55 class QProgressBar;
56 class QProgressDialog;
57 QT_END_NAMESPACE
58 
59 namespace GUIUtil {
60 class ClickableLabel;
62 }
63 
68 class BitcoinGUI : public QMainWindow
69 {
70  Q_OBJECT
71 
72 public:
73  static const std::string DEFAULT_UIPLATFORM;
74 
75  explicit BitcoinGUI(interfaces::Node& node, const PlatformStyle *platformStyle, const NetworkStyle *networkStyle, QWidget *parent = nullptr);
76  ~BitcoinGUI();
77 
81  void setClientModel(ClientModel *clientModel = nullptr, interfaces::BlockAndHeaderTipInfo* tip_info = nullptr);
82 #ifdef ENABLE_WALLET
83  void setWalletController(WalletController* wallet_controller);
84  WalletController* getWalletController();
85 #endif
86 
87 #ifdef ENABLE_WALLET
88 
92  void addWallet(WalletModel* walletModel);
93  void removeWallet(WalletModel* walletModel);
94  void removeAllWallets();
95 #endif // ENABLE_WALLET
96  bool enableWallet = false;
97 
101  bool hasTrayIcon() const { return trayIcon; }
102 
105 
106  bool isPrivacyModeActivated() const;
107 
108 protected:
109  void changeEvent(QEvent *e) override;
110  void closeEvent(QCloseEvent *event) override;
111  void showEvent(QShowEvent *event) override;
112  void dragEnterEvent(QDragEnterEvent *event) override;
113  void dropEvent(QDropEvent *event) override;
114  bool eventFilter(QObject *object, QEvent *event) override;
115 
116 private:
119  std::unique_ptr<interfaces::Handler> m_handler_message_box;
120  std::unique_ptr<interfaces::Handler> m_handler_question;
123 
130  QLabel* progressBarLabel = nullptr;
132  QProgressDialog* progressDialog = nullptr;
133 
134  QMenuBar* appMenuBar = nullptr;
135  QToolBar* appToolBar = nullptr;
136  QAction* overviewAction = nullptr;
137  QAction* historyAction = nullptr;
138  QAction* quitAction = nullptr;
139  QAction* sendCoinsAction = 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* optionsAction = nullptr;
149  QAction* encryptWalletAction = nullptr;
150  QAction* backupWalletAction = nullptr;
151  QAction* changePassphraseAction = nullptr;
152  QAction* aboutQtAction = nullptr;
153  QAction* openRPCConsoleAction = nullptr;
154  QAction* openAction = nullptr;
155  QAction* showHelpMessageAction = nullptr;
156  QAction* m_create_wallet_action{nullptr};
157  QAction* m_open_wallet_action{nullptr};
158  QMenu* m_open_wallet_menu{nullptr};
159  QAction* m_close_wallet_action{nullptr};
160  QAction* m_close_all_wallets_action{nullptr};
161  QAction* m_wallet_selector_label_action = nullptr;
162  QAction* m_wallet_selector_action = nullptr;
163  QAction* m_mask_values_action{nullptr};
164 
165  QLabel *m_wallet_selector_label = nullptr;
166  QComboBox* m_wallet_selector = nullptr;
167 
168  QSystemTrayIcon* trayIcon = nullptr;
169  const std::unique_ptr<QMenu> trayIconMenu;
171  RPCConsole* rpcConsole = nullptr;
174 
175  QMenu* m_network_context_menu = new QMenu(this);
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:
214  void quitRequested();
216  void receivedURI(const QString &uri);
218  void consoleShown(RPCConsole* console);
219  void setPrivacy(bool privacy);
220 
221 public Q_SLOTS:
223  void setNumConnections(int count);
225  void setNetworkActive(bool network_active);
227  void setNumBlocks(int count, const QDateTime& blockDate, double nVerificationProgress, bool headers, SynchronizationState sync_state);
228 
237  void message(const QString& title, QString message, unsigned int style, bool* ret = nullptr, const QString& detailed_message = QString());
238 
239 #ifdef ENABLE_WALLET
240  void setCurrentWallet(WalletModel* wallet_model);
241  void setCurrentWalletBySelectorIndex(int index);
244  void updateWalletStatus();
245 
246 private:
251  void setEncryptionStatus(int status);
252 
257  void setHDStatus(bool privkeyDisabled, int hdEnabled);
258 
259 public Q_SLOTS:
260  bool handlePaymentRequest(const SendCoinsRecipient& recipient);
261 
263  void incomingTransaction(const QString& date, int unit, const CAmount& amount, const QString& type, const QString& address, const QString& label, const QString& walletName);
264 #endif // ENABLE_WALLET
265 
266 private:
268  void updateProxyIcon();
269  void updateWindowTitle();
270 
271 public Q_SLOTS:
272 #ifdef ENABLE_WALLET
273 
274  void gotoOverviewPage();
276  void gotoHistoryPage();
278  void gotoReceiveCoinsPage();
280  void gotoSendCoinsPage(QString addr = "");
281 
283  void gotoSignMessageTab(QString addr = "");
285  void gotoVerifyMessageTab(QString addr = "");
287  void gotoLoadPSBT(bool from_clipboard = false);
288 
290  void openClicked();
291 #endif // ENABLE_WALLET
292 
293  void optionsClicked();
295  void aboutClicked();
297  void showDebugWindow();
301  void showHelpMessageClicked();
302 
305  void showNormalIfMinimized(bool fToggleHidden);
307  void toggleHidden();
308 
310  void detectShutdown();
311 
313  void showProgress(const QString &title, int nProgress);
314 
315  void showModalOverlay();
316 };
317 
318 class UnitDisplayStatusBarControl : public QLabel
319 {
320  Q_OBJECT
321 
322 public:
323  explicit UnitDisplayStatusBarControl(const PlatformStyle *platformStyle);
326 
327 protected:
329  void mousePressEvent(QMouseEvent *event) override;
330  void changeEvent(QEvent* e) override;
331 
332 private:
334  QMenu* menu;
336 
338  void onDisplayUnitsClicked(const QPoint& point);
340  void createContextMenu();
341 
342 private Q_SLOTS:
344  void updateDisplayUnit(int newUnits);
346  void onMenuSelection(QAction* action);
347 };
348 
349 #endif // BITCOIN_QT_BITCOINGUI_H
BitcoinGUI::createToolBars
void createToolBars()
Create the toolbars.
Definition: bitcoingui.cpp:529
WalletFrame
A container for embedding all wallet-related controls into BitcoinGUI.
Definition: walletframe.h:28
interfaces
Definition: dummywallet.cpp:10
BitcoinGUI::setClientModel
void setClientModel(ClientModel *clientModel=nullptr, interfaces::BlockAndHeaderTipInfo *tip_info=nullptr)
Set the client model.
Definition: bitcoingui.cpp:565
macos_appnap.h
BitcoinGUI::trayIcon
QSystemTrayIcon * trayIcon
Definition: bitcoingui.h:168
OptionsDialog::Tab
Tab
Definition: optionsdialog.h:43
BitcoinGUI::updateProxyIcon
void updateProxyIcon()
Set the proxy-enabled icon as shown in the UI.
Definition: bitcoingui.cpp:1358
UnitDisplayStatusBarControl::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
So that it responds to left-button clicks.
Definition: bitcoingui.cpp:1510
ModalOverlay
Modal overlay to display information about the chain-sync state.
Definition: modaloverlay.h:20
count
static int count
Definition: tests.c:31
BitcoinGUI::trayIconMenu
const std::unique_ptr< QMenu > trayIconMenu
Definition: bitcoingui.h:169
GUIUtil::ClickableLabel
Definition: guiutil.h:260
BitcoinGUI::setWalletActionsEnabled
void setWalletActionsEnabled(bool enabled)
Enable or disable all wallet-related actions.
Definition: bitcoingui.cpp:734
BitcoinGUI::enableWallet
bool enableWallet
Definition: bitcoingui.h:96
BitcoinGUI::toggleHidden
void toggleHidden()
Simply calls showNormalIfMinimized(true) for use in SLOT() macro.
Definition: bitcoingui.cpp:1405
BitcoinGUI::rpcConsole
RPCConsole * rpcConsole
Definition: bitcoingui.h:171
BitcoinGUI::closeEvent
void closeEvent(QCloseEvent *event) override
Definition: bitcoingui.cpp:1214
CAppNapInhibitor
Definition: macos_appnap.h:10
WalletModel
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:52
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:304
BitcoinGUI::m_wallet_selector_action
QAction * m_wallet_selector_action
Definition: bitcoingui.h:162
BitcoinGUI::m_wallet_selector
QComboBox * m_wallet_selector
Definition: bitcoingui.h:166
BitcoinGUI::clientModel
ClientModel * clientModel
Definition: bitcoingui.h:121
BitcoinGUI::createActions
void createActions()
Create the main UI actions.
Definition: bitcoingui.cpp:245
UnitDisplayStatusBarControl
Definition: bitcoingui.h:318
BitcoinGUI::connectionsControl
GUIUtil::ClickableLabel * connectionsControl
Definition: bitcoingui.h:128
BitcoinGUI::dropEvent
void dropEvent(QDropEvent *event) override
Definition: bitcoingui.cpp:1271
BitcoinGUI::usedSendingAddressesAction
QAction * usedSendingAddressesAction
Definition: bitcoingui.h:140
GUIUtil::ClickableProgressBar
Definition: guiutil.h:276
BitcoinGUI::m_load_psbt_action
QAction * m_load_psbt_action
Definition: bitcoingui.h:144
BitcoinGUI::quitAction
QAction * quitAction
Definition: bitcoingui.h:138
GUIUtil
Utility functions used by the Bitcoin Qt UI.
Definition: bitcoingui.h:59
BitcoinGUI::overviewAction
QAction * overviewAction
Definition: bitcoingui.h:136
BitcoinGUI::progressDialog
QProgressDialog * progressDialog
Definition: bitcoingui.h:132
BitcoinGUI::m_node
interfaces::Node & m_node
Definition: bitcoingui.h:117
BitcoinGUI::setNetworkActive
void setNetworkActive(bool network_active)
Set network state shown in the UI.
Definition: bitcoingui.cpp:963
NetworkStyle
Definition: networkstyle.h:13
interfaces::BlockAndHeaderTipInfo
Block and header tip information.
Definition: node.h:48
BitcoinGUI::changeEvent
void changeEvent(QEvent *e) override
Definition: bitcoingui.cpp:1182
BitcoinGUI::historyAction
QAction * historyAction
Definition: bitcoingui.h:137
bitcoin-config.h
BitcoinGUI::createTrayIconMenu
void createTrayIconMenu()
Create system tray menu (or setup the dock menu)
Definition: bitcoingui.cpp:765
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:1122
BitcoinGUI::appToolBar
QToolBar * appToolBar
Definition: bitcoingui.h:135
BitcoinGUI::showDebugWindowActivateConsole
void showDebugWindowActivateConsole()
Show debug window and set focus to the console.
Definition: bitcoingui.cpp:865
BitcoinGUI::hasTrayIcon
bool hasTrayIcon() const
Get the tray icon status.
Definition: bitcoingui.h:101
BitcoinGUI::notificator
Notificator * notificator
Definition: bitcoingui.h:170
UnitDisplayStatusBarControl::setOptionsModel
void setOptionsModel(OptionsModel *optionsModel)
Lets the control know about the Options Model (and its signals)
Definition: bitcoingui.cpp:1538
UnitDisplayStatusBarControl::menu
QMenu * menu
Definition: bitcoingui.h:334
BitcoinGUI::isPrivacyModeActivated
bool isPrivacyModeActivated() const
Definition: bitcoingui.cpp:1484
BitcoinGUI::showEvent
void showEvent(QShowEvent *event) override
Definition: bitcoingui.cpp:1237
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:38
BitcoinGUI::showProgress
void showProgress(const QString &title, int nProgress)
Show progress dialog e.g.
Definition: bitcoingui.cpp:1420
BitcoinGUI::modalOverlay
ModalOverlay * modalOverlay
Definition: bitcoingui.h:173
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:156
Notificator
Cross-platform desktop notification client.
Definition: notificator.h:24
GUIUtil::ThemedLabel
Definition: guiutil.h:241
BitcoinGUI::m_mask_values_action
QAction * m_mask_values_action
Definition: bitcoingui.h:163
BitcoinGUI::unsubscribeFromCoreSignals
void unsubscribeFromCoreSignals()
Disconnect core signals from GUI client.
Definition: bitcoingui.cpp:1477
BitcoinGUI::m_close_all_wallets_action
QAction * m_close_all_wallets_action
Definition: bitcoingui.h:160
BitcoinGUI::showModalOverlay
void showModalOverlay()
Definition: bitcoingui.cpp:1439
BitcoinGUI::~BitcoinGUI
~BitcoinGUI()
Definition: bitcoingui.cpp:227
BitcoinGUI::walletFrame
WalletFrame * walletFrame
Definition: bitcoingui.h:122
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:1553
WalletController
Controller between interfaces::Node, WalletModel instances and the GUI.
Definition: walletcontroller.h:45
BitcoinGUI::progressBarLabel
QLabel * progressBarLabel
Definition: bitcoingui.h:130
RPCConsole
Local Bitcoin RPC console.
Definition: rpcconsole.h:38
BitcoinGUI::showHelpMessageAction
QAction * showHelpMessageAction
Definition: bitcoingui.h:155
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:1004
guiutil.h
BitcoinGUI::aboutQtAction
QAction * aboutQtAction
Definition: bitcoingui.h:152
optionsdialog.h
BitcoinGUI::subscribeToCoreSignals
void subscribeToCoreSignals()
Connect core signals to GUI client.
Definition: bitcoingui.cpp:1470
BitcoinGUI::sendCoinsAction
QAction * sendCoinsAction
Definition: bitcoingui.h:139
BitcoinGUI::m_wallet_selector_label
QLabel * m_wallet_selector_label
Definition: bitcoingui.h:165
BitcoinGUI::setNumConnections
void setNumConnections(int count)
Set number of connections shown in the UI.
Definition: bitcoingui.cpp:958
BitcoinGUI::optionsClicked
void optionsClicked()
Show configuration dialog.
Definition: bitcoingui.cpp:845
BitcoinGUI::receiveCoinsAction
QAction * receiveCoinsAction
Definition: bitcoingui.h:147
BitcoinGUI::backupWalletAction
QAction * backupWalletAction
Definition: bitcoingui.h:150
BitcoinGUI::detectShutdown
void detectShutdown()
called by a timer to check if ShutdownRequested() has been set
Definition: bitcoingui.cpp:1410
BitcoinGUI::showHelpMessageClicked
void showHelpMessageClicked()
Show help message dialog.
Definition: bitcoingui.cpp:871
BitcoinGUI::aboutClicked
void aboutClicked()
Show about dialog.
Definition: bitcoingui.cpp:850
interfaces::Node
Top-level interface for a bitcoin node (bitcoind process).
Definition: node.h:68
BitcoinGUI::updateNetworkState
void updateNetworkState()
Update UI with latest network info from model.
Definition: bitcoingui.cpp:925
UnitDisplayStatusBarControl::UnitDisplayStatusBarControl
UnitDisplayStatusBarControl(const PlatformStyle *platformStyle)
Definition: bitcoingui.cpp:1490
BitcoinGUI::BitcoinGUI
BitcoinGUI(interfaces::Node &node, const PlatformStyle *platformStyle, const NetworkStyle *networkStyle, QWidget *parent=nullptr)
Definition: bitcoingui.cpp:79
BitcoinGUI::m_handler_message_box
std::unique_ptr< interfaces::Handler > m_handler_message_box
Definition: bitcoingui.h:119
ClientModel
Model for Bitcoin network client.
Definition: clientmodel.h:47
BitcoinGUI::labelProxyIcon
GUIUtil::ClickableLabel * labelProxyIcon
Definition: bitcoingui.h:127
BitcoinGUI::openAction
QAction * openAction
Definition: bitcoingui.h:154
BitcoinGUI::eventFilter
bool eventFilter(QObject *object, QEvent *event) override
Definition: bitcoingui.cpp:1283
BitcoinGUI::changePassphraseAction
QAction * changePassphraseAction
Definition: bitcoingui.h:151
BitcoinGUI::m_open_wallet_menu
QMenu * m_open_wallet_menu
Definition: bitcoingui.h:158
BitcoinGUI::progressBar
GUIUtil::ClickableProgressBar * progressBar
Definition: bitcoingui.h:131
BitcoinGUI::verifyMessageAction
QAction * verifyMessageAction
Definition: bitcoingui.h:143
UnitDisplayStatusBarControl::changeEvent
void changeEvent(QEvent *e) override
Definition: bitcoingui.cpp:1515
BitcoinGUI::platformStyle
const PlatformStyle * platformStyle
Definition: bitcoingui.h:185
BitcoinGUI::m_handler_question
std::unique_ptr< interfaces::Handler > m_handler_question
Definition: bitcoingui.h:120
BitcoinGUI::labelWalletEncryptionIcon
GUIUtil::ThemedLabel * labelWalletEncryptionIcon
Definition: bitcoingui.h:125
BitcoinGUI::m_close_wallet_action
QAction * m_close_wallet_action
Definition: bitcoingui.h:159
UnitDisplayStatusBarControl::m_platform_style
const PlatformStyle * m_platform_style
Definition: bitcoingui.h:335
BitcoinGUI::m_load_psbt_clipboard_action
QAction * m_load_psbt_clipboard_action
Definition: bitcoingui.h:145
BitcoinGUI::optionsAction
QAction * optionsAction
Definition: bitcoingui.h:148
BitcoinGUI::usedReceivingAddressesAction
QAction * usedReceivingAddressesAction
Definition: bitcoingui.h:141
BitcoinGUI::quitRequested
void quitRequested()
BitcoinGUI::openOptionsDialogWithTab
void openOptionsDialogWithTab(OptionsDialog::Tab tab)
Open the OptionsDialog on the specified tab index.
Definition: bitcoingui.cpp:992
node
Definition: init.h:22
BitcoinGUI::unitDisplayControl
UnitDisplayStatusBarControl * unitDisplayControl
Definition: bitcoingui.h:124
BitcoinGUI::helpMessageDialog
HelpMessageDialog * helpMessageDialog
Definition: bitcoingui.h:172
SynchronizationState
SynchronizationState
Current sync state passed to tip changed callbacks.
Definition: validation.h:105
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:432
BitcoinGUI::createTrayIcon
void createTrayIcon()
Create system tray icon and notification.
Definition: bitcoingui.cpp:752
BitcoinGUI::updateWindowTitle
void updateWindowTitle()
Definition: bitcoingui.cpp:1376
BitcoinGUI::m_network_context_menu
QMenu * m_network_context_menu
Definition: bitcoingui.h:175
UnitDisplayStatusBarControl::createContextMenu
void createContextMenu()
Creates context menu, its actions, and wires up all the relevant signals for mouse events.
Definition: bitcoingui.cpp:1528
BitcoinGUI::aboutAction
QAction * aboutAction
Definition: bitcoingui.h:146
BitcoinGUI::m_wallet_controller
WalletController * m_wallet_controller
Definition: bitcoingui.h:118
UnitDisplayStatusBarControl::onMenuSelection
void onMenuSelection(QAction *action)
Tells underlying optionsModel to update its current display unit.
Definition: bitcoingui.cpp:1566
BitcoinGUI::labelBlocksIcon
GUIUtil::ClickableLabel * labelBlocksIcon
Definition: bitcoingui.h:129
BitcoinGUI::updateHeadersSyncProgressLabel
void updateHeadersSyncProgressLabel()
Definition: bitcoingui.cpp:983
BitcoinGUI::m_wallet_selector_label_action
QAction * m_wallet_selector_label_action
Definition: bitcoingui.h:161
PlatformStyle
Definition: platformstyle.h:13
BitcoinGUI
Bitcoin GUI main class.
Definition: bitcoingui.h:68
amount.h
BitcoinGUI::spinnerFrame
int spinnerFrame
Definition: bitcoingui.h:183
BitcoinGUI::m_open_wallet_action
QAction * m_open_wallet_action
Definition: bitcoingui.h:157
BitcoinGUI::appMenuBar
QMenuBar * appMenuBar
Definition: bitcoingui.h:134
BitcoinGUI::dragEnterEvent
void dragEnterEvent(QDragEnterEvent *event) override
Definition: bitcoingui.cpp:1264
BitcoinGUI::encryptWalletAction
QAction * encryptWalletAction
Definition: bitcoingui.h:149
BitcoinGUI::DEFAULT_UIPLATFORM
static const std::string DEFAULT_UIPLATFORM
Definition: bitcoingui.h:73
BitcoinGUI::openRPCConsoleAction
QAction * openRPCConsoleAction
Definition: bitcoingui.h:153
UnitDisplayStatusBarControl::onDisplayUnitsClicked
void onDisplayUnitsClicked(const QPoint &point)
Shows context menu with Display Unit options by the mouse coordinates.
Definition: bitcoingui.cpp:1559
BitcoinGUI::labelWalletHDStatusIcon
GUIUtil::ThemedLabel * labelWalletHDStatusIcon
Definition: bitcoingui.h:126
BitcoinGUI::signMessageAction
QAction * signMessageAction
Definition: bitcoingui.h:142
BitcoinGUI::showDebugWindow
void showDebugWindow()
Show debug window.
Definition: bitcoingui.cpp:859
UnitDisplayStatusBarControl::optionsModel
OptionsModel * optionsModel
Definition: bitcoingui.h:333