Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

transactiondescdialog.cpp
Go to the documentation of this file.
1 // Copyright (c) 2011-2014 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #include <qt/guiutil.h>
7 #include <qt/forms/ui_transactiondescdialog.h>
8 
10 
11 #include <QModelIndex>
12 #include <QSettings>
13 #include <QString>
14 
15 TransactionDescDialog::TransactionDescDialog(const QModelIndex &idx, QWidget *parent) :
16  QDialog(parent),
17  ui(new Ui::TransactionDescDialog)
18 {
19  ui->setupUi(this);
21  setWindowTitle(tr("Details for %1").arg(idx.data(TransactionTableModel::TxIDRole).toString()));
22  QString desc = idx.data(TransactionTableModel::LongDescriptionRole).toString();
23  ui->detailText->setHtml(desc);
24 }
25 
27 {
28  delete ui;
29 }
Dialog showing transaction details.
TransactionDescDialog(const QModelIndex &idx, QWidget *parent=0)
Ui::TransactionDescDialog * ui
void updateFonts()
Update the font of all widgets where a custom font has been set with GUIUtil::setFont.
Definition: guiutil.cpp:1563
Released under the MIT license