8 #if defined(HAVE_CONFIG_H)
12 #include <QMainWindow>
14 #include <QSystemTrayIcon>
55 bool addWallet(
const QString& name,
WalletModel *walletModel);
56 bool setCurrentWallet(
const QString& name);
57 void removeAllWallets();
143 void message(
const QString &title,
const QString &
message,
unsigned int style,
bool *ret = NULL);
150 void setEncryptionStatus(
int status);
155 void incomingTransaction(
const QString& date,
int unit, qint64 amount,
const QString& type,
const QString& address);
161 void gotoOverviewPage();
163 void gotoBalancesPage();
165 void gotoHistoryPage();
167 void gotoReceiveCoinsPage();
169 void gotoSendCoinsPage(QString addr =
"");
172 void gotoSignMessageTab(QString addr =
"");
174 void gotoVerifyMessageTab(QString addr =
"");
199 #endif // BITCOINGUI_H
void subscribeToCoreSignals()
Connect core signals to GUI client.
void unsubscribeFromCoreSignals()
Disconnect core signals from GUI client.
QAction * receiveCoinsAction
Local Bitcoin RPC console.
static const QString DEFAULT_WALLET
QAction * signMessageAction
void receivedURI(const QString &uri)
Signal raised when a URI was entered or dragged to the GUI.
void showNormalIfMinimized(bool fToggleHidden=false)
Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHid...
void createTrayIcon(bool fIsTestnet)
Create system tray icon and notification.
ClientModel * clientModel
void createToolBars()
Create the toolbars.
void createTrayIconMenu()
Create system tray menu (or setup the dock menu)
QAction * verifyMessageAction
void dropEvent(QDropEvent *event)
BitcoinGUI(bool fIsTestnet=false, QWidget *parent=0)
void setWalletActionsEnabled(bool enabled)
Enable or disable all wallet-related actions.
QLabel * progressBarLabel
QSystemTrayIcon * trayIcon
QAction * showHelpMessageAction
QAction * backupWalletAction
QLabel * labelConnectionsIcon
void createActions(bool fIsTestnet)
Create the main UI actions.
QAction * usedReceivingAddressesAction
void setClientModel(ClientModel *clientModel)
Set the client model.
QAction * toggleHideAction
void optionsClicked()
Show configuration dialog.
bool eventFilter(QObject *object, QEvent *event)
WalletFrame * walletFrame
QAction * usedSendingAddressesAction
QAction * openRPCConsoleAction
void detectShutdown()
called by a timer to check if fRequestShutdown has been set
Cross-platform desktop notification client.
void showHelpMessageClicked()
Show help message dialog.
void dragEnterEvent(QDragEnterEvent *event)
Notificator * notificator
Model for Bitcoin network client.
QAction * sendCoinsAction
void trayIconActivated(QSystemTrayIcon::ActivationReason reason)
Handle tray icon clicked.
QAction * changePassphraseAction
void closeEvent(QCloseEvent *event)
Interface to Bitcoin wallet from Qt view code.
void changeEvent(QEvent *e)
int prevBlocks
Keep track of previous number of blocks, to detect progress.
void toggleHidden()
Simply calls showNormalIfMinimized(true) for use in SLOT() macro.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
QProgressBar * progressBar
void setNumConnections(int count)
Set number of connections shown in the UI.
QAction * encryptWalletAction
void aboutClicked()
Show about dialog.
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.
QLabel * labelEncryptionIcon
void createMenuBar()
Create the menu bar and sub-menus.
void setNumBlocks(int count)
Set number of blocks shown in the UI.