Skip to content
Bitcoin Roots

v29.4-roots.3 · Commit 26: [PATCH 26/30] feat(qt): enhance privacy-aware coin control

src/qt/coincontroldialog.h

Before: src/qt/coincontroldialog.h · After: src/qt/coincontroldialog.h

File metadata
index 5fc2cdca9b7976c135aaa42ade1596ce23703db9..b7ebe379873bb9dd85206158c4305a21e1564797 100644

Download original patch · Release notes

Diff rows 1–29 of 29. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/qt/coincontroldialog.h CHANGED
@@ -70,9 +70,12 @@ private:
70
  QAction *unlockAction;
71
 
72
  const PlatformStyle *platformStyle;
 
 
73
 
74
  void sortView(int, Qt::SortOrder);
75
  void updateView();
 
76
 
77
  enum
78
  {
@@ -82,6 +85,9 @@ private:
82
  COLUMN_ADDRESS,
83
  COLUMN_DATE,
84
  COLUMN_CONFIRMATIONS,
 
 
 
85
  };
86
 
87
  enum
@@ -113,6 +119,8 @@ private Q_SLOTS:
113
  void buttonBoxClicked(QAbstractButton*);
114
  void buttonSelectAllClicked();
115
  void updateLabelLocked();
 
 
116
  };
117
 
118
  #endif // BITCOIN_QT_COINCONTROLDIALOG_H
 
70
  QAction *unlockAction;
71
 
72
  const PlatformStyle *platformStyle;
73
+ CAmount m_available_amount{0};
74
+ unsigned int m_available_count{0};
75
 
76
  void sortView(int, Qt::SortOrder);
77
  void updateView();
78
+ void updateAvailableLabel();
79
 
80
  enum
81
  {
 
85
  COLUMN_ADDRESS,
86
  COLUMN_DATE,
87
  COLUMN_CONFIRMATIONS,
88
+ COLUMN_STATUS,
89
+ COLUMN_EFFECTIVE_VALUE,
90
+ COLUMN_INPUT_BYTES,
91
  };
92
 
93
  enum
 
119
  void buttonBoxClicked(QAbstractButton*);
120
  void buttonSelectAllClicked();
121
  void updateLabelLocked();
122
+ void filterChanged(const QString& filter);
123
+ void walletChanged();
124
  };
125
 
126
  #endif // BITCOIN_QT_COINCONTROLDIALOG_H