#pragma once #include #include #include class Setup : public QStackedWidget { Q_OBJECT public: explicit Setup(QWidget *parent = 0); private: QWidget *low_voltage(); QWidget *getting_started(); QWidget *network_setup(); QWidget *software_selection(); QWidget *downloading(); QWidget *download_failed(); QWidget *failed_widget; QWidget *downloading_widget; signals: void finished(bool success); public slots: void nextPage(); void prevPage(); void download(QString url); };