Files
dragonpilot/selfdrive/ui/qt/setup/setup.h
Adeeb Shihadeh 0d0aad05ce setup: add low voltage warning (#22342)
* setup: add low voltage warning

* read voltage

* fix path
2021-09-24 14:30:49 -07:00

32 lines
544 B
C++

#pragma once
#include <QStackedWidget>
#include <QString>
#include <QWidget>
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);
};