wowlet/src/dialog/transactioninfodialog.h

39 lines
865 B
C
Raw Normal View History

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