mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
21 lines
495 B
C++
21 lines
495 B
C++
#include "transactiondescdialog.h"
|
|
#include "ui_transactiondescdialog.h"
|
|
|
|
#include "transactiontablemodel.h"
|
|
|
|
#include <QModelIndex>
|
|
|
|
TransactionDescDialog::TransactionDescDialog(const QModelIndex &idx, QWidget *parent) :
|
|
QDialog(parent),
|
|
ui(new Ui::TransactionDescDialog)
|
|
{
|
|
ui->setupUi(this);
|
|
QString desc = idx.data(TransactionTableModel::LongDescriptionRole).toString();
|
|
ui->detailText->setHtml(desc);
|
|
}
|
|
|
|
TransactionDescDialog::~TransactionDescDialog()
|
|
{
|
|
delete ui;
|
|
}
|