// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2020-2021, The Monero Project. #ifndef FEATHER_TXINFODIALOG_H #define FEATHER_TXINFODIALOG_H #include #include #include #include "appcontext.h" #include "dialog/TxProofDialog.h" namespace Ui { class TxInfoDialog; } class TxInfoDialog : public QDialog { Q_OBJECT public: explicit TxInfoDialog(QSharedPointer ctx, TransactionInfo *txInfo, QWidget *parent = nullptr); ~TxInfoDialog() override; signals: void resendTranscation(const QString &txid); private: void copyTxKey(); void createTxProof(); void setData(TransactionInfo *tx); void updateData(); QScopedPointer ui; QSharedPointer m_ctx; TransactionInfo *m_txInfo; TxProofDialog *m_txProofDialog; QString m_txKey; QString m_txid; }; #endif //FEATHER_TXINFODIALOG_H