mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-15 00:12:06 +08:00
65002c7b53
* getting started
* downloading
* some more
* nice checkmark
* nice triangle
* fixup style
* wait for internet
* more responsive
* waiting for internet
old-commit-hash: ddd1342fc5
31 lines
518 B
C++
31 lines
518 B
C++
#pragma once
|
|
|
|
#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 *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);
|
|
};
|