You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
593 B
31 lines
593 B
4 years ago
|
#include <QString>
|
||
5 years ago
|
#include <QWidget>
|
||
|
#include <QLineEdit>
|
||
4 years ago
|
#include <QPushButton>
|
||
4 years ago
|
#include <QStackedWidget>
|
||
5 years ago
|
|
||
4 years ago
|
class Setup : public QStackedWidget {
|
||
5 years ago
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit Setup(QWidget *parent = 0);
|
||
|
|
||
|
private:
|
||
|
QWidget *getting_started();
|
||
|
QWidget *network_setup();
|
||
|
QWidget *software_selection();
|
||
4 years ago
|
QWidget *custom_software();
|
||
5 years ago
|
QWidget *downloading();
|
||
4 years ago
|
QWidget *download_failed();
|
||
|
|
||
|
QWidget *build_page(QString title, QWidget *content, bool next, bool prev);
|
||
|
|
||
|
signals:
|
||
|
void downloadFailed();
|
||
5 years ago
|
|
||
|
public slots:
|
||
|
void nextPage();
|
||
4 years ago
|
void prevPage();
|
||
|
void download(QString url);
|
||
5 years ago
|
};
|