2020-11-14 10:26:37 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2022-02-10 10:26:41 +00:00
|
|
|
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
2020-11-14 10:26:37 +00:00
|
|
|
|
2020-11-10 11:38:37 +00:00
|
|
|
#ifndef FEATHER_TXIMPORTDIALOG_H
|
|
|
|
#define FEATHER_TXIMPORTDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2021-06-27 14:33:18 +00:00
|
|
|
|
2020-11-10 11:38:37 +00:00
|
|
|
#include "appcontext.h"
|
2021-10-22 17:19:56 +00:00
|
|
|
#include "components.h"
|
2020-11-10 11:38:37 +00:00
|
|
|
#include "utils/daemonrpc.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class TxImportDialog;
|
|
|
|
}
|
|
|
|
|
2021-10-22 17:19:56 +00:00
|
|
|
class TxImportDialog : public WindowModalDialog
|
2020-11-10 11:38:37 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-05-18 15:59:18 +00:00
|
|
|
explicit TxImportDialog(QWidget *parent, QSharedPointer<AppContext> ctx);
|
2020-11-10 11:38:37 +00:00
|
|
|
~TxImportDialog() override;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void onImport();
|
|
|
|
|
|
|
|
private:
|
2021-06-27 12:13:05 +00:00
|
|
|
QScopedPointer<Ui::TxImportDialog> ui;
|
2021-05-18 15:59:18 +00:00
|
|
|
QSharedPointer<AppContext> m_ctx;
|
2020-11-10 11:38:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //FEATHER_TXIMPORTDIALOG_H
|