Fabcoin Core
0.16.2
P2P Digital Currency
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
qt
tokendescdialog.cpp
Go to the documentation of this file.
1
#include <
tokendescdialog.h
>
2
#include <
ui_tokendescdialog.h
>
3
4
#include <
tokenfilterproxy.h
>
5
#include <
styleSheet.h
>
6
7
#include <QModelIndex>
8
9
TokenDescDialog::TokenDescDialog
(
const
QModelIndex &idx, QWidget *parent) :
10
QDialog(parent),
11
ui(new
Ui
::
TokenDescDialog
)
12
{
13
ui
->
setupUi
(
this
);
14
15
// Set stylesheet
16
SetObjectStyleSheet
(
this
, StyleSheetNames::ScrollBarDark);
17
18
setWindowTitle(tr(
"Details for %1"
).arg(idx.data(
TokenTransactionTableModel::TxHashRole
).toString()));
19
QString desc = idx.data(
TokenTransactionTableModel::LongDescriptionRole
).toString();
20
ui
->
detailText
->setHtml(desc);
21
}
22
23
TokenDescDialog::~TokenDescDialog
()
24
{
25
delete
ui
;
26
}
styleSheet.h
SetObjectStyleSheet
#define SetObjectStyleSheet(object, name)
Definition:
styleSheet.h:10
ui_tokendescdialog.h
Ui_TokenDescDialog::detailText
QTextEdit * detailText
Definition:
ui_tokendescdialog.h:31
Ui
Definition:
addressbookpage.h:13
tokenfilterproxy.h
TokenTransactionTableModel::TxHashRole
Transaction hash.
Definition:
tokentransactiontablemodel.h:54
tokendescdialog.h
TokenDescDialog
Dialog showing token details.
Definition:
tokendescdialog.h:15
TokenDescDialog::TokenDescDialog
TokenDescDialog(const QModelIndex &idx, QWidget *parent=0)
Definition:
tokendescdialog.cpp:9
Ui_TokenDescDialog::setupUi
void setupUi(QDialog *TokenDescDialog)
Definition:
ui_tokendescdialog.h:36
TokenDescDialog::ui
Ui::TokenDescDialog * ui
Definition:
tokendescdialog.h:24
TokenTransactionTableModel::LongDescriptionRole
Long description (HTML format)
Definition:
tokentransactiontablemodel.h:44
TokenDescDialog::~TokenDescDialog
~TokenDescDialog()
Definition:
tokendescdialog.cpp:23
Generated on Mon Oct 22 2018 15:15:38 for Fabcoin Core by
1.8.11