2020-11-24 13:40:17 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2020-12-26 19:56:06 +00:00
|
|
|
// Copyright (c) 2020-2021, The Monero Project.
|
2020-11-24 13:40:17 +00:00
|
|
|
|
|
|
|
#ifndef FEATHER_PASSWORDDIALOG_H
|
|
|
|
#define FEATHER_PASSWORDDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2021-10-22 17:19:56 +00:00
|
|
|
#include "components.h"
|
|
|
|
|
2020-11-24 13:40:17 +00:00
|
|
|
namespace Ui {
|
|
|
|
class PasswordDialog;
|
|
|
|
}
|
|
|
|
|
2021-10-22 17:19:56 +00:00
|
|
|
class PasswordDialog : public WindowModalDialog
|
2020-11-24 13:40:17 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-05-18 15:59:18 +00:00
|
|
|
explicit PasswordDialog(const QString &walletName, bool incorrectPassword, QWidget *parent = nullptr);
|
2020-11-24 13:40:17 +00:00
|
|
|
~PasswordDialog() override;
|
|
|
|
|
|
|
|
QString password = "";
|
|
|
|
|
|
|
|
private:
|
2021-06-27 12:13:05 +00:00
|
|
|
QScopedPointer<Ui::PasswordDialog> ui;
|
2020-11-24 13:40:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //FEATHER_PASSWORDDIALOG_H
|