diff options
| author | Cozz Lovan <[email protected]> | 2014-08-10 02:26:04 +0200 |
|---|---|---|
| committer | Cozz Lovan <[email protected]> | 2014-08-11 21:38:36 +0200 |
| commit | 1c5f0af0fd8b5630470d471d8319a7c979aa2587 (patch) | |
| tree | 4eb6b12ba606e034284fb65ad7263515bf227d01 /src/qt/transactionview.h | |
| parent | Add boolean HaveWatchonly and signal NotifyWatchonlyChanged (diff) | |
| download | discoin-1c5f0af0fd8b5630470d471d8319a7c979aa2587.tar.xz discoin-1c5f0af0fd8b5630470d471d8319a7c979aa2587.zip | |
[Qt] Add column Watch-only to transactions list
Diffstat (limited to 'src/qt/transactionview.h')
| -rw-r--r-- | src/qt/transactionview.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/transactionview.h b/src/qt/transactionview.h index 618efbc56..b249e0041 100644 --- a/src/qt/transactionview.h +++ b/src/qt/transactionview.h @@ -50,6 +50,7 @@ public: enum ColumnWidths { STATUS_COLUMN_WIDTH = 23, + WATCHONLY_COLUMN_WIDTH = 23, DATE_COLUMN_WIDTH = 120, TYPE_COLUMN_WIDTH = 120, AMOUNT_MINIMUM_COLUMN_WIDTH = 120, @@ -63,6 +64,7 @@ private: QComboBox *dateWidget; QComboBox *typeWidget; + QComboBox *watchOnlyWidget; QLineEdit *addressWidget; QLineEdit *amountWidget; @@ -91,6 +93,7 @@ private slots: void copyAmount(); void copyTxID(); void openThirdPartyTxUrl(QString url); + void updateWatchOnlyColumn(bool fHaveWatchOnly); signals: void doubleClicked(const QModelIndex&); @@ -101,6 +104,7 @@ signals: public slots: void chooseDate(int idx); void chooseType(int idx); + void chooseWatchonly(int idx); void changedPrefix(const QString &prefix); void changedAmount(const QString &amount); void exportClicked(); |