5 #include <QSystemTrayIcon>
150 void message(
const QString &title,
const QString &
message,
unsigned int style,
bool *ret = NULL);
159 void askFee(qint64 nFeeRequired,
bool *payFee);
163 void incomingTransaction(
const QString& date,
int unit, qint64 amount,
const QString& type,
const QString& address);
200 #endif // BITCOINGUI_H
QAction * receiveCoinsAction
Local Bitcoin RPC console.
static const QString DEFAULT_WALLET
void gotoSendCoinsPage(QString addr="")
Switch to send coins page.
QAction * signMessageAction
void showNormalIfMinimized(bool fToggleHidden=false)
Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHid...
void handleURI(QString strURI)
void createTrayIcon()
Create system tray icon and notification.
bool setCurrentWallet(const QString &name)
ClientModel * clientModel
void createToolBars()
Create the toolbars.
QAction * getHistoryAction()
void createTrayIconMenu()
Create system tray menu (or setup the dock menu)
QAction * verifyMessageAction
void dropEvent(QDropEvent *event)
void setWalletActionsEnabled(bool enabled)
Enable or disable all wallet-related actions.
QLabel * progressBarLabel
QSystemTrayIcon * trayIcon
QAction * backupWalletAction
QLabel * labelConnectionsIcon
void saveWindowGeometry()
Save window size and position.
void gotoOverviewPage()
Switch to overview (home) page.
void setClientModel(ClientModel *clientModel)
Set the client model.
QAction * toggleHideAction
QAction * getOverviewAction()
Used by WalletView to allow access to needed QActions.
QAction * addressBookAction
void optionsClicked()
Show configuration dialog.
bool eventFilter(QObject *object, QEvent *event)
WalletFrame * walletFrame
Widget showing the transaction list for a wallet, including a filter row.
void incomingTransaction(const QString &date, int unit, qint64 amount, const QString &type, const QString &address)
Show incoming transaction notification for new transactions.
QAction * openRPCConsoleAction
Dialog for sending bitcoins.
void detectShutdown()
called by a timer to check if fRequestShutdown has been set
Cross-platform desktop notification client.
bool addWallet(const QString &name, WalletModel *walletModel)
Set the wallet model.
void gotoSignMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to sign message tab.
void gotoReceiveCoinsPage()
Switch to receive coins page.
BitcoinGUI(QWidget *parent=0)
void dragEnterEvent(QDragEnterEvent *event)
Widget that shows a list of sending or receiving addresses.
Notificator * notificator
UI model for the transaction table of a wallet.
QAction * getReceiveCoinsAction()
Model for Bitcoin network client.
QAction * sendCoinsAction
QAction * getAddressBookAction()
void gotoAddressBookPage()
Switch to address book page.
void trayIconActivated(QSystemTrayIcon::ActivationReason reason)
Handle tray icon clicked.
QAction * changePassphraseAction
void closeEvent(QCloseEvent *event)
void setEncryptionStatus(int status)
Set the encryption status as shown in the UI.
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...
void gotoVerifyMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to verify message tab.
QProgressBar * progressBar
void setNumConnections(int count)
Set number of connections shown in the UI.
void createActions()
Create the main UI actions.
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.
void restoreWindowGeometry()
Restore window size and position.
QLabel * labelEncryptionIcon
TransactionView * transactionView
Overview ("home") page widget.
void askFee(qint64 nFeeRequired, bool *payFee)
Asks the user whether to pay the transaction fee or to cancel the transaction.
void gotoHistoryPage()
Switch to history (transactions) page.
void createMenuBar()
Create the menu bar and sub-menus.
QAction * getSendCoinsAction()
void setNumBlocks(int count, int nTotalBlocks)
Set number of blocks shown in the UI.