wowlet/src/dialog/txconfdialog.h

40 lines
865 B
C
Raw Normal View History

// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020, The Monero Project.
#ifndef FEATHER_TXCONFDIALOG_H
#define FEATHER_TXCONFDIALOG_H
#include <QDialog>
#include "libwalletqt/PendingTransaction.h"
#include "libwalletqt/WalletManager.h"
2020-10-16 03:05:05 +00:00
#include "appcontext.h"
namespace Ui {
class TxConfDialog;
}
class TxConfDialog : public QDialog
{
Q_OBJECT
public:
2020-10-16 03:05:05 +00:00
explicit TxConfDialog(AppContext *ctx, PendingTransaction *tx, const QString &address, const QString &description, int mixin, QWidget *parent = nullptr);
~TxConfDialog() override;
2020-10-16 03:05:05 +00:00
bool showAdvanced = false;
private:
2020-10-16 03:05:05 +00:00
void setShowAdvanced();
void saveToFile();
void copyToClipboard();
Ui::TxConfDialog *ui;
2020-10-16 03:05:05 +00:00
AppContext *m_ctx;
PendingTransaction *m_tx;
QString m_address;
QString m_description;
int m_mixin;
};
#endif //FEATHER_TXCONFDIALOG_H