forked from wowlet/wowlet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
791 B
37 lines
791 B
// SPDX-License-Identifier: BSD-3-Clause
|
|
// Copyright (c) 2020-2021, The Monero Project.
|
|
|
|
#ifndef FEATHER_TXCONFDIALOG_H
|
|
#define FEATHER_TXCONFDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include "libwalletqt/PendingTransaction.h"
|
|
#include "libwalletqt/WalletManager.h"
|
|
#include "appcontext.h"
|
|
|
|
namespace Ui {
|
|
class TxConfDialog;
|
|
}
|
|
|
|
class TxConfDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit TxConfDialog(AppContext *ctx, PendingTransaction *tx, const QString &address, const QString &description, QWidget *parent = nullptr);
|
|
~TxConfDialog() override;
|
|
|
|
bool showAdvanced = false;
|
|
|
|
private:
|
|
void setShowAdvanced();
|
|
|
|
Ui::TxConfDialog *ui;
|
|
AppContext *m_ctx;
|
|
PendingTransaction *m_tx;
|
|
QString m_address;
|
|
QString m_description;
|
|
};
|
|
|
|
#endif //FEATHER_TXCONFDIALOG_H
|