Changeset View
Changeset View
Standalone View
Standalone View
src/qt/walletview.h
Show All 13 Lines | |||||
class OverviewPage; | class OverviewPage; | ||||
class PlatformStyle; | class PlatformStyle; | ||||
class ReceiveCoinsDialog; | class ReceiveCoinsDialog; | ||||
class SendCoinsDialog; | class SendCoinsDialog; | ||||
class SendCoinsRecipient; | class SendCoinsRecipient; | ||||
class TransactionView; | class TransactionView; | ||||
class WalletModel; | class WalletModel; | ||||
class AddressBookPage; | class AddressBookPage; | ||||
class Config; | |||||
QT_BEGIN_NAMESPACE | QT_BEGIN_NAMESPACE | ||||
class QModelIndex; | class QModelIndex; | ||||
class QProgressDialog; | class QProgressDialog; | ||||
QT_END_NAMESPACE | QT_END_NAMESPACE | ||||
/* | /* | ||||
WalletView class. This class represents the view to a single wallet. | WalletView class. This class represents the view to a single wallet. | ||||
It was added to support multiple wallet functionality. Each wallet gets its | It was added to support multiple wallet functionality. Each wallet gets its | ||||
own WalletView instance. | own WalletView instance. | ||||
It communicates with both the client and the wallet models to give the user an | It communicates with both the client and the wallet models to give the user an | ||||
up-to-date view of the | up-to-date view of the | ||||
current core state. | current core state. | ||||
*/ | */ | ||||
class WalletView : public QStackedWidget { | class WalletView : public QStackedWidget { | ||||
Q_OBJECT | Q_OBJECT | ||||
public: | public: | ||||
explicit WalletView(const PlatformStyle *platformStyle, QWidget *parent); | explicit WalletView(const PlatformStyle *platformStyle, const Config *cfg, | ||||
QWidget *parent); | |||||
~WalletView(); | ~WalletView(); | ||||
void setBitcoinGUI(BitcoinGUI *gui); | void setBitcoinGUI(BitcoinGUI *gui); | ||||
/** 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. | ||||
*/ | */ | ||||
void setClientModel(ClientModel *clientModel); | void setClientModel(ClientModel *clientModel); | ||||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |