Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.h
Show All 25 Lines | |||||
class RPCConsole; | class RPCConsole; | ||||
class SendCoinsRecipient; | class SendCoinsRecipient; | ||||
class UnitDisplayStatusBarControl; | class UnitDisplayStatusBarControl; | ||||
class WalletFrame; | class WalletFrame; | ||||
class WalletModel; | class WalletModel; | ||||
class HelpMessageDialog; | class HelpMessageDialog; | ||||
class ModalOverlay; | class ModalOverlay; | ||||
class Config; | |||||
class CWallet; | class CWallet; | ||||
QT_BEGIN_NAMESPACE | QT_BEGIN_NAMESPACE | ||||
class QAction; | class QAction; | ||||
class QProgressBar; | class QProgressBar; | ||||
class QProgressDialog; | class QProgressDialog; | ||||
QT_END_NAMESPACE | QT_END_NAMESPACE | ||||
/** | /** | ||||
* Bitcoin GUI main class. This class represents the main window of the Bitcoin | * Bitcoin GUI main class. This class represents the main window of the Bitcoin | ||||
* UI. It communicates with both the client and wallet models to give the user | * UI. It communicates with both the client and wallet models to give the user | ||||
* an up-to-date view of the current core state. | * an up-to-date view of the current core state. | ||||
*/ | */ | ||||
class BitcoinGUI : public QMainWindow { | class BitcoinGUI : public QMainWindow { | ||||
Q_OBJECT | Q_OBJECT | ||||
public: | public: | ||||
static const QString DEFAULT_WALLET; | static const QString DEFAULT_WALLET; | ||||
static const std::string DEFAULT_UIPLATFORM; | static const std::string DEFAULT_UIPLATFORM; | ||||
explicit BitcoinGUI(const PlatformStyle *platformStyle, | explicit BitcoinGUI(const Config *, const PlatformStyle *platformStyle, | ||||
const NetworkStyle *networkStyle, QWidget *parent = 0); | const NetworkStyle *networkStyle, QWidget *parent = 0); | ||||
~BitcoinGUI(); | ~BitcoinGUI(); | ||||
/** | /** | ||||
* Set the client model. | * Set the client model. | ||||
* The client model represents the part of the core that communicates with | * The client model represents the part of the core that communicates with | ||||
* the P2P network, and is wallet-agnostic. | * the P2P network, and is wallet-agnostic. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | private: | ||||
HelpMessageDialog *helpMessageDialog; | HelpMessageDialog *helpMessageDialog; | ||||
ModalOverlay *modalOverlay; | ModalOverlay *modalOverlay; | ||||
/** Keep track of previous number of blocks, to detect progress */ | /** Keep track of previous number of blocks, to detect progress */ | ||||
int prevBlocks; | int prevBlocks; | ||||
int spinnerFrame; | int spinnerFrame; | ||||
const PlatformStyle *platformStyle; | const PlatformStyle *platformStyle; | ||||
const Config *cfg; | |||||
/** Create the main UI actions. */ | /** Create the main UI actions. */ | ||||
void createActions(); | void createActions(); | ||||
/** Create the menu bar and sub-menus. */ | /** Create the menu bar and sub-menus. */ | ||||
void createMenuBar(); | void createMenuBar(); | ||||
/** Create the toolbars */ | /** Create the toolbars */ | ||||
void createToolBars(); | void createToolBars(); | ||||
/** Create system tray icon and notification */ | /** Create system tray icon and notification */ | ||||
▲ Show 20 Lines • Show All 151 Lines • Show Last 20 Lines |