Bitcoin ABC  0.24.7
P2P Digital Currency
bitcoingui.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2019 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)
9 #include <config/bitcoin-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 Config;
30 class HelpMessageDialog;
31 class ModalOverlay;
32 class NetworkStyle;
33 class Notificator;
34 class OptionsModel;
35 class PlatformStyle;
36 class RPCConsole;
37 class SendCoinsRecipient;
38 enum class SynchronizationState;
40 class WalletController;
41 class WalletFrame;
42 class WalletModel;
43 
44 namespace interfaces {
45 class Handler;
46 class Node;
47 struct BlockAndHeaderTipInfo;
48 } // namespace interfaces
49 
50 QT_BEGIN_NAMESPACE
51 class QAction;
52 class QComboBox;
53 class QMenu;
54 class QProgressBar;
55 class QProgressDialog;
56 QT_END_NAMESPACE
57 
58 namespace GUIUtil {
59 class ClickableLabel;
61 } // namespace GUIUtil
62 
68 class BitcoinGUI : public QMainWindow {
69  Q_OBJECT
70 
71 public:
72  static const std::string DEFAULT_UIPLATFORM;
73 
74  explicit BitcoinGUI(interfaces::Node &node, const Config *,
76  const NetworkStyle *networkStyle,
77  QWidget *parent = nullptr);
78  ~BitcoinGUI();
79 
85  void setClientModel(ClientModel *clientModel = nullptr,
86  interfaces::BlockAndHeaderTipInfo *tip_info = nullptr);
87 #ifdef ENABLE_WALLET
88  void setWalletController(WalletController *wallet_controller);
89  WalletController *getWalletController();
90 #endif
91 
92 #ifdef ENABLE_WALLET
93 
98  void addWallet(WalletModel *walletModel);
99  void removeWallet(WalletModel *walletModel);
100  void removeAllWallets();
101 #endif // ENABLE_WALLET
102  bool enableWallet = false;
103 
106 
107  bool isPrivacyModeActivated() const;
108 
113  bool hasTrayIcon() const { return trayIcon; }
114 
115 protected:
116  void changeEvent(QEvent *e) override;
117  void closeEvent(QCloseEvent *event) override;
118  void showEvent(QShowEvent *event) override;
119  void dragEnterEvent(QDragEnterEvent *event) override;
120  void dropEvent(QDropEvent *event) override;
121  bool eventFilter(QObject *object, QEvent *event) override;
122 
123 private:
126  std::unique_ptr<interfaces::Handler> m_handler_message_box;
127  std::unique_ptr<interfaces::Handler> m_handler_question;
130 
132  QLabel *labelWalletEncryptionIcon = nullptr;
133  QLabel *labelWalletHDStatusIcon = nullptr;
137  QLabel *progressBarLabel = nullptr;
139  QProgressDialog *progressDialog = nullptr;
140 
141  QMenuBar *appMenuBar = nullptr;
142  QToolBar *appToolBar = nullptr;
143  QAction *overviewAction = nullptr;
144  QAction *historyAction = nullptr;
145  QAction *quitAction = nullptr;
146  QAction *sendCoinsAction = nullptr;
147  QAction *sendCoinsMenuAction = nullptr;
148  QAction *usedSendingAddressesAction = nullptr;
149  QAction *usedReceivingAddressesAction = nullptr;
150  QAction *signMessageAction = nullptr;
151  QAction *verifyMessageAction = nullptr;
152  QAction *m_load_psbt_action = nullptr;
153  QAction *aboutAction = nullptr;
154  QAction *receiveCoinsAction = nullptr;
155  QAction *receiveCoinsMenuAction = nullptr;
156  QAction *optionsAction = nullptr;
157  QAction *toggleHideAction = nullptr;
158  QAction *encryptWalletAction = nullptr;
159  QAction *backupWalletAction = nullptr;
160  QAction *changePassphraseAction = nullptr;
161  QAction *aboutQtAction = nullptr;
162  QAction *openRPCConsoleAction = nullptr;
163  QAction *openAction = nullptr;
164  QAction *showHelpMessageAction = nullptr;
165  QAction *m_create_wallet_action{nullptr};
166  QAction *m_open_wallet_action{nullptr};
167  QMenu *m_open_wallet_menu{nullptr};
168  QAction *m_close_wallet_action{nullptr};
169  QAction *m_close_all_wallets_action{nullptr};
170  QAction *m_wallet_selector_label_action = nullptr;
171  QAction *m_wallet_selector_action = nullptr;
172  QAction *m_mask_values_action{nullptr};
173 
174  QLabel *m_wallet_selector_label = nullptr;
175  QComboBox *m_wallet_selector = nullptr;
176 
177  QSystemTrayIcon *trayIcon = nullptr;
178  const std::unique_ptr<QMenu> trayIconMenu;
180  RPCConsole *rpcConsole = nullptr;
183 
184 #ifdef Q_OS_MAC
185  CAppNapInhibitor *m_app_nap_inhibitor = nullptr;
186 #endif
187 
189  int prevBlocks = 0;
190  int spinnerFrame = 0;
191 
192  const Config *config;
195 
197  void createActions();
199  void createMenuBar();
201  void createToolBars();
203  void createTrayIcon();
205  void createTrayIconMenu();
206 
208  void setWalletActionsEnabled(bool enabled);
209 
211  void subscribeToCoreSignals();
212 
214  void updateNetworkState();
215 
217 
220 
221 Q_SIGNALS:
223  void receivedURI(const QString &uri);
225  void consoleShown(RPCConsole *console);
226  void setPrivacy(bool privacy);
227 
228 public Q_SLOTS:
230  void setNumConnections(int count);
232  void setNetworkActive(bool networkActive);
234  void setNumBlocks(int count, const QDateTime &blockDate,
235  double nVerificationProgress, bool headers,
236  SynchronizationState sync_state);
237 
250  void message(const QString &title, QString message, unsigned int style,
251  bool *ret = nullptr,
252  const QString &detailed_message = QString());
253 
254 #ifdef ENABLE_WALLET
255  void setCurrentWallet(WalletModel *wallet_model);
256  void setCurrentWalletBySelectorIndex(int index);
259  void updateWalletStatus();
260 
261 private:
266  void setEncryptionStatus(int status);
267 
272  void setHDStatus(bool privkeyDisabled, int hdEnabled);
273 
274 public Q_SLOTS:
275  bool handlePaymentRequest(const SendCoinsRecipient &recipient);
276 
278  void incomingTransaction(const QString &date, int unit, const Amount amount,
279  const QString &type, const QString &address,
280  const QString &label, const QString &walletName);
281 #endif // ENABLE_WALLET
282 
283 private:
285  void updateProxyIcon();
286  void updateWindowTitle();
287 
288 public Q_SLOTS:
289 #ifdef ENABLE_WALLET
290 
291  void gotoOverviewPage();
293  void gotoHistoryPage();
295  void gotoReceiveCoinsPage();
297  void gotoSendCoinsPage(QString addr = "");
298 
300  void gotoSignMessageTab(QString addr = "");
302  void gotoVerifyMessageTab(QString addr = "");
304  void gotoLoadPSBT();
305 
307  void openClicked();
308 #endif // ENABLE_WALLET
309 
310  void optionsClicked();
312  void aboutClicked();
314  void showDebugWindow();
318  void showHelpMessageClicked();
319 #ifndef Q_OS_MAC
320 
321  void trayIconActivated(QSystemTrayIcon::ActivationReason reason);
322 #else
323 
324  void macosDockIconActivated();
325 #endif
326 
330  void showNormalIfMinimized(bool fToggleHidden);
332  void toggleHidden();
333 
335  void detectShutdown();
336 
338  void showProgress(const QString &title, int nProgress);
339 
342  void setTrayIconVisible(bool);
343 
344  void showModalOverlay();
345 };
346 
347 class UnitDisplayStatusBarControl : public QLabel {
348  Q_OBJECT
349 
350 public:
351  explicit UnitDisplayStatusBarControl(const PlatformStyle *platformStyle);
354 
355 protected:
357  void mousePressEvent(QMouseEvent *event) override;
358 
359 private:
361  QMenu *menu;
362 
364  void onDisplayUnitsClicked(const QPoint &point);
367  void createContextMenu();
368 
369 private Q_SLOTS:
372  void updateDisplayUnit(int newUnits);
374  void onMenuSelection(QAction *action);
375 };
376 
377 #endif // BITCOIN_QT_BITCOINGUI_H
BitcoinGUI::createToolBars
void createToolBars()
Create the toolbars.
Definition: bitcoingui.cpp:615
WalletFrame
A container for embedding all wallet-related controls into BitcoinGUI.
Definition: walletframe.h:29
interfaces
Definition: dummywallet.cpp:12
BitcoinGUI::labelWalletEncryptionIcon
QLabel * labelWalletEncryptionIcon
Definition: bitcoingui.h:132
BitcoinGUI::setClientModel
void setClientModel(ClientModel *clientModel=nullptr, interfaces::BlockAndHeaderTipInfo *tip_info=nullptr)
Set the client model.
Definition: bitcoingui.cpp:654
macos_appnap.h
BitcoinGUI::trayIcon
QSystemTrayIcon * trayIcon
Definition: bitcoingui.h:177
OptionsDialog::Tab
Tab
Definition: optionsdialog.h:50
BitcoinGUI::updateProxyIcon
void updateProxyIcon()
Set the proxy-enabled icon as shown in the UI.
Definition: bitcoingui.cpp:1446
UnitDisplayStatusBarControl::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
So that it responds to left-button clicks.
Definition: bitcoingui.cpp:1608
ModalOverlay
Modal overlay to display information about the chain-sync state.
Definition: modaloverlay.h:21
count
static int count
Definition: tests.c:41
BitcoinGUI::trayIconMenu
const std::unique_ptr< QMenu > trayIconMenu
Definition: bitcoingui.h:178
GUIUtil::ClickableLabel
Definition: guiutil.h:285
BitcoinGUI::setWalletActionsEnabled
void setWalletActionsEnabled(bool enabled)
Enable or disable all wallet-related actions.
Definition: bitcoingui.cpp:829
BitcoinGUI::enableWallet
bool enableWallet
Definition: bitcoingui.h:102
BitcoinGUI::toggleHidden
void toggleHidden()
Simply calls showNormalIfMinimized(true) for use in SLOT() macro.
Definition: bitcoingui.cpp:1495
BitcoinGUI::rpcConsole
RPCConsole * rpcConsole
Definition: bitcoingui.h:180
BitcoinGUI::closeEvent
void closeEvent(QCloseEvent *event) override
Definition: bitcoingui.cpp:1289
CAppNapInhibitor
Definition: macos_appnap.h:10
WalletModel
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:47
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:329
BitcoinGUI::m_wallet_selector_action
QAction * m_wallet_selector_action
Definition: bitcoingui.h:171
BitcoinGUI::m_wallet_selector
QComboBox * m_wallet_selector
Definition: bitcoingui.h:175
BitcoinGUI::clientModel
ClientModel * clientModel
Definition: bitcoingui.h:128
BitcoinGUI::createActions
void createActions()
Create the main UI actions.
Definition: bitcoingui.cpp:245
UnitDisplayStatusBarControl
Definition: bitcoingui.h:347
BitcoinGUI::setTrayIconVisible
void setTrayIconVisible(bool)
When hideTrayIcon setting is changed in OptionsModel hide or show the icon accordingly.
Definition: bitcoingui.cpp:1527
BitcoinGUI::connectionsControl
GUIUtil::ClickableLabel * connectionsControl
Definition: bitcoingui.h:135
BitcoinGUI::dropEvent
void dropEvent(QDropEvent *event) override
Definition: bitcoingui.cpp:1348
BitcoinGUI::usedSendingAddressesAction
QAction * usedSendingAddressesAction
Definition: bitcoingui.h:148
GUIUtil::ClickableProgressBar
Definition: guiutil.h:301
BitcoinGUI::m_load_psbt_action
QAction * m_load_psbt_action
Definition: bitcoingui.h:152
BitcoinGUI::quitAction
QAction * quitAction
Definition: bitcoingui.h:145
GUIUtil
Utility functions used by the Bitcoin Qt UI.
Definition: bitcoingui.h:58
BitcoinGUI::overviewAction
QAction * overviewAction
Definition: bitcoingui.h:143
BitcoinGUI::progressDialog
QProgressDialog * progressDialog
Definition: bitcoingui.h:139
BitcoinGUI::m_node
interfaces::Node & m_node
Definition: bitcoingui.h:124
NetworkStyle
Definition: networkstyle.h:13
interfaces::BlockAndHeaderTipInfo
Block and header tip information.
Definition: node.h:46
BitcoinGUI::changeEvent
void changeEvent(QEvent *e) override
Definition: bitcoingui.cpp:1268
BitcoinGUI::historyAction
QAction * historyAction
Definition: bitcoingui.h:144
BitcoinGUI::createTrayIconMenu
void createTrayIconMenu()
Create system tray menu (or setup the dock menu)
Definition: bitcoingui.cpp:862
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:1201
BitcoinGUI::appToolBar
QToolBar * appToolBar
Definition: bitcoingui.h:142
BitcoinGUI::showDebugWindowActivateConsole
void showDebugWindowActivateConsole()
Show debug window and set focus to the console.
Definition: bitcoingui.cpp:936
BitcoinGUI::hasTrayIcon
bool hasTrayIcon() const
Get the tray icon status.
Definition: bitcoingui.h:113
BitcoinGUI::notificator
Notificator * notificator
Definition: bitcoingui.h:179
UnitDisplayStatusBarControl::setOptionsModel
void setOptionsModel(OptionsModel *optionsModel)
Lets the control know about the Options Model (and its signals)
Definition: bitcoingui.cpp:1627
UnitDisplayStatusBarControl::menu
QMenu * menu
Definition: bitcoingui.h:361
BitcoinGUI::isPrivacyModeActivated
bool isPrivacyModeActivated() const
Definition: bitcoingui.cpp:1584
BitcoinGUI::showEvent
void showEvent(QShowEvent *event) override
Definition: bitcoingui.cpp:1308
SendCoinsRecipient
Definition: sendcoinsrecipient.h:23
Config
Definition: config.h:17
BitcoinGUI::setPrivacy
void setPrivacy(bool privacy)
OptionsModel
Interface from Qt to configuration data structure for Bitcoin client.
Definition: optionsmodel.h:49
BitcoinGUI::showProgress
void showProgress(const QString &title, int nProgress)
Show progress dialog e.g.
Definition: bitcoingui.cpp:1508
BitcoinGUI::modalOverlay
ModalOverlay * modalOverlay
Definition: bitcoingui.h:182
BitcoinGUI::m_network_style
const NetworkStyle *const m_network_style
Definition: bitcoingui.h:194
BitcoinGUI::m_create_wallet_action
QAction * m_create_wallet_action
Definition: bitcoingui.h:165
Notificator
Cross-platform desktop notification client.
Definition: notificator.h:24
BitcoinGUI::m_mask_values_action
QAction * m_mask_values_action
Definition: bitcoingui.h:172
BitcoinGUI::unsubscribeFromCoreSignals
void unsubscribeFromCoreSignals()
Disconnect core signals from GUI client.
Definition: bitcoingui.cpp:1578
BitcoinGUI::m_close_all_wallets_action
QAction * m_close_all_wallets_action
Definition: bitcoingui.h:169
BitcoinGUI::showModalOverlay
void showModalOverlay()
Definition: bitcoingui.cpp:1533
BitcoinGUI::BitcoinGUI
BitcoinGUI(interfaces::Node &node, const Config *, const PlatformStyle *platformStyle, const NetworkStyle *networkStyle, QWidget *parent=nullptr)
Definition: bitcoingui.cpp:75
BitcoinGUI::~BitcoinGUI
~BitcoinGUI()
Definition: bitcoingui.cpp:226
BitcoinGUI::walletFrame
WalletFrame * walletFrame
Definition: bitcoingui.h:129
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:1644
WalletController
Controller between interfaces::Node, WalletModel instances and the GUI.
Definition: walletcontroller.h:48
BitcoinGUI::progressBarLabel
QLabel * progressBarLabel
Definition: bitcoingui.h:137
RPCConsole
Local Bitcoin RPC console.
Definition: rpcconsole.h:36
BitcoinGUI::showHelpMessageAction
QAction * showHelpMessageAction
Definition: bitcoingui.h:164
BitcoinGUI::config
const Config * config
Definition: bitcoingui.h:192
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:1080
BitcoinGUI::aboutQtAction
QAction * aboutQtAction
Definition: bitcoingui.h:161
optionsdialog.h
BitcoinGUI::subscribeToCoreSignals
void subscribeToCoreSignals()
Connect core signals to GUI client.
Definition: bitcoingui.cpp:1568
BitcoinGUI::sendCoinsAction
QAction * sendCoinsAction
Definition: bitcoingui.h:146
BitcoinGUI::m_wallet_selector_label
QLabel * m_wallet_selector_label
Definition: bitcoingui.h:174
BitcoinGUI::setNumConnections
void setNumConnections(int count)
Set number of connections shown in the UI.
Definition: bitcoingui.cpp:1045
Amount
Definition: amount.h:19
BitcoinGUI::optionsClicked
void optionsClicked()
Show configuration dialog.
Definition: bitcoingui.cpp:918
BitcoinGUI::receiveCoinsAction
QAction * receiveCoinsAction
Definition: bitcoingui.h:154
BitcoinGUI::backupWalletAction
QAction * backupWalletAction
Definition: bitcoingui.h:159
BitcoinGUI::detectShutdown
void detectShutdown()
called by a timer to check if ShutdownRequested() has been set
Definition: bitcoingui.cpp:1499
BitcoinGUI::showHelpMessageClicked
void showHelpMessageClicked()
Show help message dialog.
Definition: bitcoingui.cpp:941
BitcoinGUI::aboutClicked
void aboutClicked()
Show about dialog.
Definition: bitcoingui.cpp:922
interfaces::Node
Top-level interface for a bitcoin node (bitcoind process).
Definition: node.h:55
BitcoinGUI::updateNetworkState
void updateNetworkState()
Update UI with latest network info from model.
Definition: bitcoingui.cpp:999
UnitDisplayStatusBarControl::UnitDisplayStatusBarControl
UnitDisplayStatusBarControl(const PlatformStyle *platformStyle)
Definition: bitcoingui.cpp:1589
BitcoinGUI::m_handler_message_box
std::unique_ptr< interfaces::Handler > m_handler_message_box
Definition: bitcoingui.h:126
ClientModel
Model for Bitcoin network client.
Definition: clientmodel.h:36
BitcoinGUI::labelProxyIcon
GUIUtil::ClickableLabel * labelProxyIcon
Definition: bitcoingui.h:134
BitcoinGUI::openAction
QAction * openAction
Definition: bitcoingui.h:163
BitcoinGUI::eventFilter
bool eventFilter(QObject *object, QEvent *event) override
Definition: bitcoingui.cpp:1357
BitcoinGUI::changePassphraseAction
QAction * changePassphraseAction
Definition: bitcoingui.h:160
BitcoinGUI::m_open_wallet_menu
QMenu * m_open_wallet_menu
Definition: bitcoingui.h:167
BitcoinGUI::progressBar
GUIUtil::ClickableProgressBar * progressBar
Definition: bitcoingui.h:138
BitcoinGUI::verifyMessageAction
QAction * verifyMessageAction
Definition: bitcoingui.h:151
BitcoinGUI::platformStyle
const PlatformStyle * platformStyle
Definition: bitcoingui.h:193
BitcoinGUI::toggleHideAction
QAction * toggleHideAction
Definition: bitcoingui.h:157
BitcoinGUI::m_handler_question
std::unique_ptr< interfaces::Handler > m_handler_question
Definition: bitcoingui.h:127
BitcoinGUI::m_close_wallet_action
QAction * m_close_wallet_action
Definition: bitcoingui.h:168
BitcoinGUI::trayIconActivated
void trayIconActivated(QSystemTrayIcon::ActivationReason reason)
Handle tray icon clicked.
Definition: bitcoingui.cpp:905
BitcoinGUI::optionsAction
QAction * optionsAction
Definition: bitcoingui.h:156
BitcoinGUI::usedReceivingAddressesAction
QAction * usedReceivingAddressesAction
Definition: bitcoingui.h:149
BitcoinGUI::openOptionsDialogWithTab
void openOptionsDialogWithTab(OptionsDialog::Tab tab)
Open the OptionsDialog on the specified tab index.
Definition: bitcoingui.cpp:1069
BitcoinGUI::unitDisplayControl
UnitDisplayStatusBarControl * unitDisplayControl
Definition: bitcoingui.h:131
BitcoinGUI::helpMessageDialog
HelpMessageDialog * helpMessageDialog
Definition: bitcoingui.h:181
SynchronizationState
SynchronizationState
Current sync state passed to tip changed callbacks.
Definition: validation.h:130
BitcoinGUI::prevBlocks
int prevBlocks
Keep track of previous number of blocks, to detect progress.
Definition: bitcoingui.h:189
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:517
BitcoinGUI::createTrayIcon
void createTrayIcon()
Create system tray icon and notification.
Definition: bitcoingui.cpp:848
BitcoinGUI::updateWindowTitle
void updateWindowTitle()
Definition: bitcoingui.cpp:1466
UnitDisplayStatusBarControl::createContextMenu
void createContextMenu()
Creates context menu, its actions, and wires up all the relevant signals for mouse events.
Definition: bitcoingui.cpp:1614
BitcoinGUI::aboutAction
QAction * aboutAction
Definition: bitcoingui.h:153
BitcoinGUI::m_wallet_controller
WalletController * m_wallet_controller
Definition: bitcoingui.h:125
UnitDisplayStatusBarControl::onMenuSelection
void onMenuSelection(QAction *action)
Tells underlying optionsModel to update its current display unit.
Definition: bitcoingui.cpp:1655
BitcoinGUI::sendCoinsMenuAction
QAction * sendCoinsMenuAction
Definition: bitcoingui.h:147
BitcoinGUI::labelBlocksIcon
GUIUtil::ClickableLabel * labelBlocksIcon
Definition: bitcoingui.h:136
BitcoinGUI::updateHeadersSyncProgressLabel
void updateHeadersSyncProgressLabel()
Definition: bitcoingui.cpp:1053
BitcoinGUI::m_wallet_selector_label_action
QAction * m_wallet_selector_label_action
Definition: bitcoingui.h:170
PlatformStyle
Definition: platformstyle.h:13
BitcoinGUI::setNetworkActive
void setNetworkActive(bool networkActive)
Set network state shown in the UI.
Definition: bitcoingui.cpp:1049
BitcoinGUI
Bitcoin GUI main class.
Definition: bitcoingui.h:68
amount.h
BitcoinGUI::spinnerFrame
int spinnerFrame
Definition: bitcoingui.h:190
BitcoinGUI::m_open_wallet_action
QAction * m_open_wallet_action
Definition: bitcoingui.h:166
BitcoinGUI::appMenuBar
QMenuBar * appMenuBar
Definition: bitcoingui.h:141
BitcoinGUI::dragEnterEvent
void dragEnterEvent(QDragEnterEvent *event) override
Definition: bitcoingui.cpp:1341
BitcoinGUI::encryptWalletAction
QAction * encryptWalletAction
Definition: bitcoingui.h:158
BitcoinGUI::labelWalletHDStatusIcon
QLabel * labelWalletHDStatusIcon
Definition: bitcoingui.h:133
BitcoinGUI::DEFAULT_UIPLATFORM
static const std::string DEFAULT_UIPLATFORM
Definition: bitcoingui.h:72
BitcoinGUI::openRPCConsoleAction
QAction * openRPCConsoleAction
Definition: bitcoingui.h:162
UnitDisplayStatusBarControl::onDisplayUnitsClicked
void onDisplayUnitsClicked(const QPoint &point)
Shows context menu with Display Unit options by the mouse coordinates.
Definition: bitcoingui.cpp:1649
BitcoinGUI::receiveCoinsMenuAction
QAction * receiveCoinsMenuAction
Definition: bitcoingui.h:155
BitcoinGUI::signMessageAction
QAction * signMessageAction
Definition: bitcoingui.h:150
BitcoinGUI::showDebugWindow
void showDebugWindow()
Show debug window.
Definition: bitcoingui.cpp:931
UnitDisplayStatusBarControl::optionsModel
OptionsModel * optionsModel
Definition: bitcoingui.h:360