add export functionality for address book / receiving addresses
[novacoin.git] / src / qt / bitcoingui.h
index 432a9e3..6f4ca19 100644 (file)
@@ -9,6 +9,8 @@ class ClientModel;
 class WalletModel;
 class TransactionView;
 class OverviewPage;
+class AddressBookPage;
+class SendCoinsDialog;
 
 QT_BEGIN_NAMESPACE
 class QLabel;
@@ -45,25 +47,29 @@ private:
     WalletModel *walletModel;
 
     QStackedWidget *centralWidget;
+
     OverviewPage *overviewPage;
     QWidget *transactionsPage;
+    AddressBookPage *addressBookPage;
+    AddressBookPage *receiveCoinsPage;
+    SendCoinsDialog *sendCoinsPage;
 
     QLabel *labelConnections;
     QLabel *labelConnectionsIcon;
     QLabel *labelBlocks;
-    QLabel *labelTransactions;
     QLabel *progressBarLabel;
     QProgressBar *progressBar;
 
     QAction *overviewAction;
     QAction *historyAction;
-    QAction *quit;
-    QAction *sendCoins;
-    QAction *addressbook;
-    QAction *about;
-    QAction *receiveCoins;
-    QAction *options;
-    QAction *openBitcoin;
+    QAction *quitAction;
+    QAction *sendCoinsAction;
+    QAction *addressBookAction;
+    QAction *aboutAction;
+    QAction *receiveCoinsAction;
+    QAction *optionsAction;
+    QAction *openBitcoinAction;
+    QAction *exportAction;
 
     QSystemTrayIcon *trayIcon;
     TransactionView *transactionView;
@@ -85,17 +91,18 @@ public slots:
     void askFee(qint64 nFeeRequired, bool *payFee);
 
 private slots:
-    void sendCoinsClicked();
-    void addressbookClicked();
+    // UI pages
+    void gotoOverviewPage();
+    void gotoHistoryPage();
+    void gotoAddressBookPage();
+    void gotoReceiveCoinsPage();
+    void gotoSendCoinsPage();
+
+    // Misc actions
     void optionsClicked();
-    void receiveCoinsClicked();
     void aboutClicked();
     void trayIconActivated(QSystemTrayIcon::ActivationReason reason);
-    void transactionDetails(const QModelIndex& idx);
     void incomingTransaction(const QModelIndex & parent, int start, int end);
-
-    void gotoOverviewTab();
-    void gotoHistoryTab();
 };
 
 #endif