2020-10-07 10:36:04 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2020-12-26 19:56:06 +00:00
|
|
|
// Copyright (c) 2020-2021, The Monero Project.
|
2020-10-07 10:36:04 +00:00
|
|
|
|
2021-03-30 09:52:29 +00:00
|
|
|
#ifndef WOWLET_TRANSACTIONINFODIALOG_H
|
|
|
|
#define WOWLET_TRANSACTIONINFODIALOG_H
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
#include <QDialog>
|
2021-01-29 14:51:59 +00:00
|
|
|
#include <QTextCharFormat>
|
2020-10-07 10:36:04 +00:00
|
|
|
#include <QtSvg/QSvgWidget>
|
|
|
|
#include "libwalletqt/Coins.h"
|
|
|
|
#include "libwalletqt/TransactionInfo.h"
|
2020-10-19 23:05:42 +00:00
|
|
|
#include "libwalletqt/Wallet.h"
|
2020-11-08 11:08:15 +00:00
|
|
|
#include "widgets/txproofwidget.h"
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class TransactionInfoDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class TransactionInfoDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2020-10-19 23:05:42 +00:00
|
|
|
explicit TransactionInfoDialog(Wallet *wallet, TransactionInfo *txInfo, QWidget *parent = nullptr);
|
2020-10-07 10:36:04 +00:00
|
|
|
~TransactionInfoDialog() override;
|
|
|
|
|
|
|
|
private:
|
2021-01-29 14:51:59 +00:00
|
|
|
void copyTxKey();
|
|
|
|
|
2020-10-07 10:36:04 +00:00
|
|
|
Ui::TransactionInfoDialog *ui;
|
|
|
|
|
|
|
|
TransactionInfo *m_txInfo;
|
2020-10-19 23:05:42 +00:00
|
|
|
Wallet *m_wallet;
|
2020-11-08 11:08:15 +00:00
|
|
|
TxProofWidget *m_txProofWidget;
|
2021-01-29 14:51:59 +00:00
|
|
|
QString m_txKey;
|
2020-10-07 10:36:04 +00:00
|
|
|
};
|
|
|
|
|
2021-03-30 09:52:29 +00:00
|
|
|
#endif //WOWLET_TRANSACTIONINFODIALOG_H
|