Files
dragonpilot/selfdrive/ui/qt/setup/setup.h
Dean Lee 81491dc57f c++ cleanup: standardize file extensions to .cc and .h (#20800)
* c++ cleanup: standardize file extensions to .cc and .h

* cleanup files_common
2021-05-03 11:53:11 +02: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);
};