Raven Core
3.0.0
P2P Digital Currency
src
qt
transactiondescdialog.cpp
Go to the documentation of this file.
1
// Copyright (c) 2011-2016 The Bitcoin Core developers
2
// Copyright (c) 2017-2019 The Raven Core developers
3
// Distributed under the MIT software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6
#include "
transactiondescdialog.h
"
7
#include "ui_transactiondescdialog.h"
8
9
#include "
transactiontablemodel.h
"
10
11
#include "
guiutil.h
"
12
#include <QModelIndex>
13
14
TransactionDescDialog::TransactionDescDialog
(
const
QModelIndex &idx, QWidget *parent) :
15
QDialog(parent),
16
ui(new
Ui
::
TransactionDescDialog
)
17
{
18
ui
->setupUi(
this
);
19
setWindowTitle(tr(
"Details for %1"
).arg(idx.data(
TransactionTableModel::TxIDRole
).toString()));
20
QString desc = idx.data(
TransactionTableModel::LongDescriptionRole
).toString();
21
ui
->detailText->setHtml(desc);
22
23
ui
->detailText->setFont(
GUIUtil::getSubLabelFont
());
24
}
25
26
TransactionDescDialog::~TransactionDescDialog
()
27
{
28
delete
ui
;
29
}
TransactionDescDialog
Dialog showing transaction details.
Definition:
transactiondescdialog.h:20
Ui
Definition:
addressbookpage.h:14
TransactionDescDialog::TransactionDescDialog
TransactionDescDialog(const QModelIndex &idx, QWidget *parent=0)
Definition:
transactiondescdialog.cpp:14
transactiondescdialog.h
TransactionTableModel::LongDescriptionRole
Long description (HTML format)
Definition:
transactiontablemodel.h:54
TransactionDescDialog::ui
Ui::TransactionDescDialog * ui
Definition:
transactiondescdialog.h:29
GUIUtil::getSubLabelFont
QFont getSubLabelFont()
Definition:
guiutil.cpp:86
guiutil.h
TransactionTableModel::TxIDRole
Unique identifier.
Definition:
transactiontablemodel.h:62
transactiontablemodel.h
TransactionDescDialog::~TransactionDescDialog
~TransactionDescDialog()
Definition:
transactiondescdialog.cpp:26
Generated on Mon Jul 29 2019 02:32:20 for Raven Core by
1.8.13