|
|
|
@ -21,6 +21,7 @@
@@ -21,6 +21,7 @@
|
|
|
|
|
#include <QString> |
|
|
|
|
#include <QTreeWidget> |
|
|
|
|
#include <QTreeWidgetItem> |
|
|
|
|
#include <QtGlobal> |
|
|
|
|
|
|
|
|
|
using namespace std; |
|
|
|
|
QList<qint64> CoinControlDialog::payAmounts; |
|
|
|
@ -96,7 +97,11 @@ CoinControlDialog::CoinControlDialog(QWidget *parent) :
@@ -96,7 +97,11 @@ CoinControlDialog::CoinControlDialog(QWidget *parent) :
|
|
|
|
|
connect(ui->treeWidget, SIGNAL(itemChanged( QTreeWidgetItem*, int)), this, SLOT(viewItemChanged( QTreeWidgetItem*, int))); |
|
|
|
|
|
|
|
|
|
// click on header
|
|
|
|
|
#if QT_VERSION >= 0x050000 |
|
|
|
|
ui->treeWidget->header()->setSectionsClickable(true); |
|
|
|
|
#else |
|
|
|
|
ui->treeWidget->header()->setClickable(true); |
|
|
|
|
#endif |
|
|
|
|
connect(ui->treeWidget->header(), SIGNAL(sectionClicked(int)), this, SLOT(headerSectionClicked(int))); |
|
|
|
|
|
|
|
|
|
// ok button
|
|
|
|
|