Files
StarPilot/selfdrive/ui/qt/setup/setup.hpp
T
Adeeb Shihadeh 80c3d67a28 Qt UI refactoring + improvements (#20033)
old-commit-hash: f9d8652cbda86a4777166b1f970f770fcf65f4f3
2021-02-07 17:33:48 -08:00

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);
};