Changeset View
Changeset View
Standalone View
Standalone View
src/qt/coincontroldialog.h
Show All 37 Lines | public: | ||||
bool operator<(const QTreeWidgetItem &other) const override; | bool operator<(const QTreeWidgetItem &other) const override; | ||||
}; | }; | ||||
class CoinControlDialog : public QDialog { | class CoinControlDialog : public QDialog { | ||||
Q_OBJECT | Q_OBJECT | ||||
public: | public: | ||||
explicit CoinControlDialog(const PlatformStyle *platformStyle, | explicit CoinControlDialog(CCoinControl &coin_control, WalletModel *model, | ||||
const PlatformStyle *platformStyle, | |||||
QWidget *parent = nullptr); | QWidget *parent = nullptr); | ||||
~CoinControlDialog(); | ~CoinControlDialog(); | ||||
void setModel(WalletModel *model); | |||||
// static because also called from sendcoinsdialog | // static because also called from sendcoinsdialog | ||||
static void updateLabels(WalletModel *, QDialog *); | static void updateLabels(CCoinControl &m_coin_control, WalletModel *, | ||||
QDialog *); | |||||
static QList<Amount> payAmounts; | static QList<Amount> payAmounts; | ||||
static CCoinControl *coinControl(); | |||||
static bool fSubtractFeeFromAmount; | static bool fSubtractFeeFromAmount; | ||||
private: | private: | ||||
Ui::CoinControlDialog *ui; | Ui::CoinControlDialog *ui; | ||||
CCoinControl &m_coin_control; | |||||
WalletModel *model; | WalletModel *model; | ||||
int sortColumn; | int sortColumn; | ||||
Qt::SortOrder sortOrder; | Qt::SortOrder sortOrder; | ||||
QMenu *contextMenu; | QMenu *contextMenu; | ||||
QTreeWidgetItem *contextMenuItem; | QTreeWidgetItem *contextMenuItem; | ||||
QAction *copyTransactionHashAction; | QAction *copyTransactionHashAction; | ||||
QAction *lockAction; | QAction *lockAction; | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |