wowlet/src/wizard/openwallet.h
dsc 133700160a Feather, a free Monero desktop wallet
Co-Authored-By: tobtoht <thotbot@protonmail.com>
2020-10-08 04:31:22 +02:00

41 lines
827 B
C++

// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020, The Monero Project.
#ifndef FEATHER_OPENWALLET_H
#define FEATHER_OPENWALLET_H
#include <QLabel>
#include <QWizardPage>
#include <QWidget>
#include "appcontext.h"
#include "utils/keysfiles.h"
namespace Ui {
class OpenWalletPage;
}
class OpenWalletPage : public QWizardPage
{
Q_OBJECT
public:
explicit OpenWalletPage(AppContext *ctx, QWidget *parent = nullptr);
bool validatePage() override;
int nextId() const override;
signals:
void openWallet(QString path);
private:
AppContext *m_ctx;
WalletKeysFilesModel *walletKeysFilesModel;
WalletKeysFilesProxyModel *m_keysProxy;
QSortFilterProxyModel *ll;
QLabel *topLabel;
Ui::OpenWalletPage *ui;
QStandardItemModel *m_model;
};
#endif //FEATHER_OPENWALLET_H