mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
40 lines
745 B
C
40 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
|