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_TXCONFDIALOG_H
|
|
|
|
#define WOWLET_TXCONFDIALOG_H
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include "libwalletqt/PendingTransaction.h"
|
|
|
|
#include "libwalletqt/WalletManager.h"
|
2020-10-16 03:05:05 +00:00
|
|
|
#include "appcontext.h"
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class TxConfDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class TxConfDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-01-26 23:55:27 +00:00
|
|
|
explicit TxConfDialog(AppContext *ctx, PendingTransaction *tx, const QString &address, const QString &description, QWidget *parent = nullptr);
|
2020-10-07 10:36:04 +00:00
|
|
|
~TxConfDialog() override;
|
|
|
|
|
2020-10-16 03:05:05 +00:00
|
|
|
bool showAdvanced = false;
|
|
|
|
|
2020-10-07 10:36:04 +00:00
|
|
|
private:
|
2020-10-16 03:05:05 +00:00
|
|
|
void setShowAdvanced();
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
Ui::TxConfDialog *ui;
|
2020-10-16 03:05:05 +00:00
|
|
|
AppContext *m_ctx;
|
2020-10-07 10:36:04 +00:00
|
|
|
PendingTransaction *m_tx;
|
|
|
|
QString m_address;
|
|
|
|
QString m_description;
|
|
|
|
};
|
|
|
|
|
2021-03-30 09:52:29 +00:00
|
|
|
#endif //WOWLET_TXCONFDIALOG_H
|