Anoncoin  0.9.4
P2P Digital Currency
transactiondescdialog.cpp
Go to the documentation of this file.
1 // Copyright (c) 2011-2013 The Bitcoin developers
2 // Copyright (c) 2013-2014 The Anoncoin Core developers
3 // Distributed under the MIT/X11 software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
8 
10 
11 #include <QModelIndex>
12 
13 TransactionDescDialog::TransactionDescDialog(const QModelIndex &idx, QWidget *parent) :
14  QDialog(parent),
15  ui(new Ui::TransactionDescDialog)
16 {
17  ui->setupUi(this);
18  QString desc = idx.data(TransactionTableModel::LongDescriptionRole).toString();
19  ui->detailText->setHtml(desc);
20 }
21 
23 {
24  delete ui;
25 }
Dialog showing transaction details.
TransactionDescDialog(const QModelIndex &idx, QWidget *parent=0)
Ui::TransactionDescDialog * ui
void setupUi(QDialog *TransactionDescDialog)