mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 03:22:07 +08:00
9a827fea20
* c++ cleanup: standardize file extensions to .cc and .h * cleanup files_common old-commit-hash: 81491dc57f5080c602a0be58dd5f9feba2fa31b9
31 lines
593 B
C++
31 lines
593 B
C++
#include <QString>
|
|
#include <QWidget>
|
|
#include <QLineEdit>
|
|
#include <QPushButton>
|
|
#include <QStackedWidget>
|
|
|
|
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);
|
|
};
|