mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-10 12:54:46 +00:00
133700160a
Co-Authored-By: tobtoht <thotbot@protonmail.com>
39 lines
745 B
C++
39 lines
745 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// Copyright (c) 2020, The Monero Project.
|
|
|
|
#ifndef RESTOREDIALOG_H
|
|
#define RESTOREDIALOG_H
|
|
|
|
#include <QPushButton>
|
|
#include <QDialogButtonBox>
|
|
#include <QDialog>
|
|
#include <QStandardItemModel>
|
|
#include <QAbstractButton>
|
|
|
|
#include "utils/seeds.h"
|
|
#include "appcontext.h"
|
|
|
|
namespace Ui {
|
|
class RestoreDialog;
|
|
}
|
|
|
|
class RestoreDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit RestoreDialog(AppContext *ctx, QWidget *parent = nullptr);
|
|
void initRestoreHeights(RestoreHeightLookup *lookup);
|
|
unsigned int getHeight();
|
|
~RestoreDialog() override;
|
|
|
|
signals:
|
|
void accepted();
|
|
void rejected();
|
|
|
|
private:
|
|
AppContext *m_ctx;
|
|
Ui::RestoreDialog *ui;
|
|
};
|
|
|
|
#endif // RESTOREDIALOG_H
|