mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-10 12:54:46 +00:00
38 lines
726 B
C++
38 lines
726 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
|
|
|
#ifndef FEATHER_WIZARDNETWORK_H
|
|
#define FEATHER_WIZARDNETWORK_H
|
|
|
|
#include <QLabel>
|
|
#include <QWizardPage>
|
|
#include <QWidget>
|
|
|
|
#include "appcontext.h"
|
|
#include "utils/nodes.h"
|
|
|
|
namespace Ui {
|
|
class PageNetwork;
|
|
}
|
|
|
|
class PageNetwork : public QWizardPage
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit PageNetwork(QWidget *parent = nullptr);
|
|
bool validatePage() override;
|
|
int nextId() const override;
|
|
bool isComplete() const override;
|
|
|
|
private:
|
|
enum Button {
|
|
AUTO=0,
|
|
CUSTOM
|
|
};
|
|
|
|
Ui::PageNetwork *ui;
|
|
QFutureWatcher<QPair<bool, QString>> *m_portOpenWatcher;
|
|
};
|
|
|
|
#endif //FEATHER_WIZARDNETWORK_H
|