You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// Copyright (c) 2011-2013 The Bitcoin Core developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|