![]() |
Anoncoin
0.9.4
P2P Digital Currency
|
Anoncoin GUI main class. More...
#include <anoncoingui.h>
Public Slots | |
void | setNumConnections (int count) |
Set number of connections shown in the UI. More... | |
void | setNumBlocks (int count) |
Set number of blocks shown in the UI. More... | |
void | message (const QString &title, const QString &message, unsigned int style, bool *ret=NULL) |
Notify the user of an event from the core network or transaction handling code. More... | |
Signals | |
void | receivedURI (const QString &uri) |
Signal raised when a URI was entered or dragged to the GUI. More... | |
Public Member Functions | |
AnoncoinGUI (bool fIsTestnet=false, QWidget *parent=0) | |
~AnoncoinGUI () | |
void | setClientModel (ClientModel *clientModel) |
Set the client model. More... | |
Static Public Attributes | |
static const QString | DEFAULT_WALLET = "~Default" |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
void | closeEvent (QCloseEvent *event) |
void | dragEnterEvent (QDragEnterEvent *event) |
void | dropEvent (QDropEvent *event) |
bool | eventFilter (QObject *object, QEvent *event) |
Private Slots | |
void | optionsClicked () |
Show configuration dialog. More... | |
void | aboutClicked () |
Show about dialog. More... | |
void | showHelpMessageClicked () |
Show help message dialog. More... | |
void | trayIconActivated (QSystemTrayIcon::ActivationReason reason) |
Handle tray icon clicked. More... | |
void | showNormalIfMinimized (bool fToggleHidden=false) |
Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHidden is true. More... | |
void | toggleHidden () |
Simply calls showNormalIfMinimized(true) for use in SLOT() macro. More... | |
void | detectShutdown () |
called by a timer to check if fRequestShutdown has been set More... | |
Private Member Functions | |
void | createActions (bool fIsTestnet) |
Create the main UI actions. More... | |
void | createMenuBar () |
Create the menu bar and sub-menus. More... | |
void | createToolBars () |
Create the toolbars. More... | |
void | createTrayIcon (bool fIsTestnet) |
Create system tray icon and notification. More... | |
void | createTrayIconMenu () |
Create system tray menu (or setup the dock menu) More... | |
void | setWalletActionsEnabled (bool enabled) |
Enable or disable all wallet-related actions. More... | |
void | subscribeToCoreSignals () |
Connect core signals to GUI client. More... | |
void | unsubscribeFromCoreSignals () |
Disconnect core signals from GUI client. More... | |
Private Attributes | |
ClientModel * | clientModel |
WalletFrame * | walletFrame |
UnitDisplayStatusBarControl * | unitDisplayControl |
QLabel * | labelEncryptionIcon |
QLabel * | labelConnectionsIcon |
QLabel * | labelBlocksIcon |
QLabel * | progressBarLabel |
QProgressBar * | progressBar |
QMenuBar * | appMenuBar |
QAction * | overviewAction |
QAction * | historyAction |
QAction * | quitAction |
QAction * | sendCoinsAction |
QAction * | usedSendingAddressesAction |
QAction * | usedReceivingAddressesAction |
QAction * | signMessageAction |
QAction * | verifyMessageAction |
QAction * | aboutAction |
QAction * | receiveCoinsAction |
QAction * | optionsAction |
QAction * | toggleHideAction |
QAction * | encryptWalletAction |
QAction * | backupWalletAction |
QAction * | changePassphraseAction |
QAction * | aboutQtAction |
QAction * | openRPCConsoleAction |
QAction * | openAction |
QAction * | showHelpMessageAction |
QSystemTrayIcon * | trayIcon |
Notificator * | notificator |
RPCConsole * | rpcConsole |
int | prevBlocks |
Keep track of previous number of blocks, to detect progress. More... | |
int | spinnerFrame |
Anoncoin GUI main class.
This class represents the main window of the Anoncoin UI. It communicates with both the client and wallet models to give the user an up-to-date view of the current core state.
Definition at line 47 of file anoncoingui.h.
|
explicit |
AnoncoinGUI::~AnoncoinGUI | ( | ) |
|
privateslot |
Show about dialog.
Definition at line 605 of file anoncoingui.cpp.
|
protected |
|
protected |
|
private |
Create the main UI actions.
Definition at line 240 of file anoncoingui.cpp.
|
private |
Create the menu bar and sub-menus.
Definition at line 356 of file anoncoingui.cpp.
|
private |
Create the toolbars.
Definition at line 401 of file anoncoingui.cpp.
|
private |
Create system tray icon and notification.
Definition at line 522 of file anoncoingui.cpp.
|
private |
Create system tray menu (or setup the dock menu)
Definition at line 544 of file anoncoingui.cpp.
|
privateslot |
called by a timer to check if fRequestShutdown has been set
Definition at line 1032 of file anoncoingui.cpp.
|
protected |
Definition at line 930 of file anoncoingui.cpp.
|
protected |
Definition at line 937 of file anoncoingui.cpp.
|
protected |
Definition at line 949 of file anoncoingui.cpp.
|
slot |
Notify the user of an event from the core network or transaction handling code.
[in] | title | the message box / notification title |
[in] | message | the displayed text |
[in] | style | modality and style definitions (icon and used buttons - buttons only for message boxes) |
[in] | ret | pointer to a bool that will be modified to whether Ok was clicked (modal only) |
Definition at line 817 of file anoncoingui.cpp.
|
privateslot |
Show configuration dialog.
Definition at line 592 of file anoncoingui.cpp.
|
signal |
Signal raised when a URI was entered or dragged to the GUI.
Definition at line 257 of file moc_anoncoingui.cpp.
void AnoncoinGUI::setClientModel | ( | ClientModel * | clientModel | ) |
Set the client model.
The client model represents the part of the core that communicates with the P2P network, and is wallet-agnostic.
Definition at line 415 of file anoncoingui.cpp.
|
slot |
Set number of blocks shown in the UI.
Definition at line 710 of file anoncoingui.cpp.
|
slot |
Set number of connections shown in the UI.
Definition at line 667 of file anoncoingui.cpp.
|
private |
Enable or disable all wallet-related actions.
Definition at line 506 of file anoncoingui.cpp.
|
privateslot |
Show help message dialog.
Definition at line 615 of file anoncoingui.cpp.
|
privateslot |
Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHidden is true.
Definition at line 1005 of file anoncoingui.cpp.
|
private |
Connect core signals to GUI client.
Definition at line 1108 of file anoncoingui.cpp.
|
privateslot |
Simply calls showNormalIfMinimized(true) for use in SLOT() macro.
Definition at line 1027 of file anoncoingui.cpp.
|
privateslot |
Handle tray icon clicked.
Definition at line 582 of file anoncoingui.cpp.
|
private |
Disconnect core signals from GUI client.
Definition at line 1117 of file anoncoingui.cpp.
|
private |
Definition at line 104 of file anoncoingui.h.
|
private |
Definition at line 111 of file anoncoingui.h.
|
private |
Definition at line 95 of file anoncoingui.h.
|
private |
Definition at line 109 of file anoncoingui.h.
|
private |
Definition at line 110 of file anoncoingui.h.
|
private |
Definition at line 80 of file anoncoingui.h.
|
static |
Definition at line 52 of file anoncoingui.h.
|
private |
Definition at line 108 of file anoncoingui.h.
|
private |
Definition at line 97 of file anoncoingui.h.
|
private |
Definition at line 86 of file anoncoingui.h.
|
private |
Definition at line 85 of file anoncoingui.h.
|
private |
Definition at line 84 of file anoncoingui.h.
|
private |
Definition at line 117 of file anoncoingui.h.
|
private |
Definition at line 113 of file anoncoingui.h.
|
private |
Definition at line 112 of file anoncoingui.h.
|
private |
Definition at line 106 of file anoncoingui.h.
|
private |
Definition at line 96 of file anoncoingui.h.
|
private |
Keep track of previous number of blocks, to detect progress.
Definition at line 121 of file anoncoingui.h.
|
private |
Definition at line 93 of file anoncoingui.h.
|
private |
Definition at line 92 of file anoncoingui.h.
|
private |
Definition at line 98 of file anoncoingui.h.
|
private |
Definition at line 105 of file anoncoingui.h.
|
private |
Definition at line 118 of file anoncoingui.h.
|
private |
Definition at line 99 of file anoncoingui.h.
|
private |
Definition at line 114 of file anoncoingui.h.
|
private |
Definition at line 102 of file anoncoingui.h.
|
private |
Definition at line 122 of file anoncoingui.h.
|
private |
Definition at line 107 of file anoncoingui.h.
|
private |
Definition at line 116 of file anoncoingui.h.
|
private |
Definition at line 83 of file anoncoingui.h.
|
private |
Definition at line 101 of file anoncoingui.h.
|
private |
Definition at line 100 of file anoncoingui.h.
|
private |
Definition at line 103 of file anoncoingui.h.
|
private |
Definition at line 81 of file anoncoingui.h.