mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-05 13:32:05 +08:00
d8ac1df789
* cleanup includes * remove include <qtwidgets> * more old-commit-hash: 2c6d27f4828bc57e69f86aed0d1f48364233dffb
29 lines
549 B
C++
29 lines
549 B
C++
#include <QStackedWidget>
|
|
#include <QString>
|
|
#include <QWidget>
|
|
|
|
class Setup : public QStackedWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Setup(QWidget *parent = 0);
|
|
|
|
private:
|
|
QWidget *getting_started();
|
|
QWidget *network_setup();
|
|
QWidget *software_selection();
|
|
QWidget *custom_software();
|
|
QWidget *downloading();
|
|
QWidget *download_failed();
|
|
|
|
QWidget *build_page(QString title, QWidget *content, bool next, bool prev);
|
|
|
|
signals:
|
|
void downloadFailed();
|
|
|
|
public slots:
|
|
void nextPage();
|
|
void prevPage();
|
|
void download(QString url);
|
|
};
|