12 #if defined(HAVE_CONFIG_H)
17 #include <QMainWindow>
21 #include <QSystemTrayIcon>
54 explicit AnoncoinGUI(
bool fIsTestnet =
false, QWidget *parent = 0);
67 bool addWallet(
const QString& name,
WalletModel *walletModel);
68 bool setCurrentWallet(
const QString& name);
69 void removeAllWallets();
88 QLabel* labelI2PConnections;
90 QLabel* labelI2PGenerated;
91 #endif // ENABLE_I2PSAM
162 void message(
const QString &title,
const QString &
message,
unsigned int style,
bool *ret = NULL);
169 void setEncryptionStatus(
int status);
174 void incomingTransaction(
const QString& date,
int unit, qint64 amount,
const QString& type,
const QString& address);
179 void setNumI2PConnections(
int count);
180 void showGeneratedI2PAddr(
const QString& caption,
const QString& pub,
const QString& priv,
const QString& b32,
const QString& configFileName);
181 #endif // ENABLE_I2PSAM
186 void gotoOverviewPage();
188 void gotoHistoryPage();
190 void gotoReceiveCoinsPage();
192 void gotoSendCoinsPage(QString addr =
"");
195 void gotoSignMessageTab(QString addr =
"");
197 void gotoVerifyMessageTab(QString addr =
"");
250 #endif // ANONCOINGUI_H
int prevBlocks
Keep track of previous number of blocks, to detect progress.
void detectShutdown()
called by a timer to check if fRequestShutdown has been set
QLabel * labelEncryptionIcon
QLabel * labelConnectionsIcon
Local Anoncoin RPC console.
QAction * encryptWalletAction
void mousePressEvent(QMouseEvent *event)
So that it responds to left-button clicks.
void aboutClicked()
Show about dialog.
QProgressBar * progressBar
void createTrayIcon(bool fIsTestnet)
Create system tray icon and notification.
QAction * verifyMessageAction
QAction * changePassphraseAction
UnitDisplayStatusBarControl * unitDisplayControl
void trayIconActivated(QSystemTrayIcon::ActivationReason reason)
Handle tray icon clicked.
void receivedURI(const QString &uri)
Signal raised when a URI was entered or dragged to the GUI.
WalletFrame * walletFrame
QAction * usedReceivingAddressesAction
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.
void setOptionsModel(OptionsModel *optionsModel)
Lets the control know about the Options Model (and its signals)
void optionsClicked()
Show configuration dialog.
void createTrayIconMenu()
Create system tray menu (or setup the dock menu)
Notificator * notificator
void setNumConnections(int count)
Set number of connections shown in the UI.
OptionsModel * optionsModel
void createMenuBar()
Create the menu bar and sub-menus.
static const QString DEFAULT_WALLET
QAction * receiveCoinsAction
void updateDisplayUnit(int newUnits)
When Display Units are changed on OptionsModel it will refresh the display text of the control on the...
UnitDisplayStatusBarControl()
void showNormalIfMinimized(bool fToggleHidden=false)
Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHid...
QAction * backupWalletAction
void closeEvent(QCloseEvent *event)
AnoncoinGUI(bool fIsTestnet=false, QWidget *parent=0)
QAction * usedSendingAddressesAction
void createActions(bool fIsTestnet)
Create the main UI actions.
Cross-platform desktop notification client.
Model for Anoncoin network client.
QLabel * progressBarLabel
void dropEvent(QDropEvent *event)
void showHelpMessageClicked()
Show help message dialog.
bool eventFilter(QObject *object, QEvent *event)
void dragEnterEvent(QDragEnterEvent *event)
Interface from Qt to configuration data structure for Anoncoin client.
Interface to Anoncoin wallet from Qt view code.
void setClientModel(ClientModel *clientModel)
Set the client model.
void setWalletActionsEnabled(bool enabled)
Enable or disable all wallet-related actions.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
QAction * sendCoinsAction
ClientModel * clientModel
void toggleHidden()
Simply calls showNormalIfMinimized(true) for use in SLOT() macro.
void changeEvent(QEvent *e)
QAction * signMessageAction
void createContextMenu()
Creates context menu, its actions, and wires up all the relevant signals for mouse events...
void createToolBars()
Create the toolbars.
void setNumBlocks(int count)
Set number of blocks shown in the UI.
QAction * toggleHideAction
void unsubscribeFromCoreSignals()
Disconnect core signals from GUI client.
void subscribeToCoreSignals()
Connect core signals to GUI client.
QAction * openRPCConsoleAction
void onDisplayUnitsClicked(const QPoint &point)
Shows context menu with Display Unit options by the mouse coordinates.
QAction * showHelpMessageAction
void onMenuSelection(QAction *action)
Tells underlying optionsModel to update its current display unit.
QSystemTrayIcon * trayIcon