Master Core  v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
transactiondescdialog.cpp
Go to the documentation of this file.
1 // Copyright (c) 2011-2013 The Bitcoin developers
2 // Distributed under the MIT/X11 software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
7 
9 
10 #include <QModelIndex>
11 
12 TransactionDescDialog::TransactionDescDialog(const QModelIndex &idx, QWidget *parent) :
13  QDialog(parent),
14  ui(new Ui::TransactionDescDialog)
15 {
16  ui->setupUi(this);
17  QString desc = idx.data(TransactionTableModel::LongDescriptionRole).toString();
18  ui->detailText->setHtml(desc);
19 }
20 
22 {
23  delete ui;
24 }
Dialog showing transaction details.
TransactionDescDialog(const QModelIndex &idx, QWidget *parent=0)
Ui::TransactionDescDialog * ui
void setupUi(QDialog *TransactionDescDialog)