Changeset View
Changeset View
Standalone View
Standalone View
src/qt/coincontroldialog.cpp
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | if (column == CoinControlDialog::COLUMN_AMOUNT || | ||||
return data(column, Qt::UserRole).toLongLong() < | return data(column, Qt::UserRole).toLongLong() < | ||||
other.data(column, Qt::UserRole).toLongLong(); | other.data(column, Qt::UserRole).toLongLong(); | ||||
} | } | ||||
return QTreeWidgetItem::operator<(other); | return QTreeWidgetItem::operator<(other); | ||||
} | } | ||||
CoinControlDialog::CoinControlDialog(const PlatformStyle *_platformStyle, | CoinControlDialog::CoinControlDialog(const PlatformStyle *_platformStyle, | ||||
QWidget *parent) | QWidget *parent) | ||||
: QDialog(parent), ui(new Ui::CoinControlDialog), model(0), | : QDialog(parent), ui(new Ui::CoinControlDialog), model(nullptr), | ||||
platformStyle(_platformStyle) { | platformStyle(_platformStyle) { | ||||
ui->setupUi(this); | ui->setupUi(this); | ||||
// context menu actions | // context menu actions | ||||
QAction *copyAddressAction = new QAction(tr("Copy address"), this); | QAction *copyAddressAction = new QAction(tr("Copy address"), this); | ||||
QAction *copyLabelAction = new QAction(tr("Copy label"), this); | QAction *copyLabelAction = new QAction(tr("Copy label"), this); | ||||
QAction *copyAmountAction = new QAction(tr("Copy amount"), this); | QAction *copyAmountAction = new QAction(tr("Copy amount"), this); | ||||
// we need to enable/disable this | // we need to enable/disable this | ||||
▲ Show 20 Lines • Show All 773 Lines • Show Last 20 Lines |