mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
show transaction details on doubleclick
This commit is contained in:
parent
c30075142f
commit
a777f7b9b5
@ -37,7 +37,7 @@ public:
|
|||||||
QVariant data(const QModelIndex &index, int role) const;
|
QVariant data(const QModelIndex &index, int role) const;
|
||||||
QVariant headerData(int section, Qt::Orientation orientation, int role) const;
|
QVariant headerData(int section, Qt::Orientation orientation, int role) const;
|
||||||
Qt::ItemFlags flags(const QModelIndex &index) const;
|
Qt::ItemFlags flags(const QModelIndex &index) const;
|
||||||
QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const;
|
QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex()) const;
|
||||||
private:
|
private:
|
||||||
QStringList columns;
|
QStringList columns;
|
||||||
TransactionTablePriv *priv;
|
TransactionTablePriv *priv;
|
||||||
|
@ -214,7 +214,7 @@ QWidget *BitcoinGUI::createTabs()
|
|||||||
QTableView *view = new QTableView(this);
|
QTableView *view = new QTableView(this);
|
||||||
tabs->addTab(view, tab_labels.at(i));
|
tabs->addTab(view, tab_labels.at(i));
|
||||||
|
|
||||||
connect(view, SIGNAL(activated(const QModelIndex&)), this, SLOT(transactionDetails(const QModelIndex&)));
|
connect(view, SIGNAL(doubleClicked(const QModelIndex&)), this, SLOT(transactionDetails(const QModelIndex&)));
|
||||||
transactionViews.append(view);
|
transactionViews.append(view);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user