mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 02:52:04 +08:00
93461be530
* recover mode * clean up * less margin * use inter * little nicer Co-authored-by: Comma Device <device@comma.ai> old-commit-hash: ec00e71b643e6bb6abcb1f977cb51df31bd8c058
21 lines
333 B
C++
21 lines
333 B
C++
#include <QLabel>
|
|
#include <QPushButton>
|
|
#include <QWidget>
|
|
|
|
class Reset : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Reset(bool recover = false, QWidget *parent = 0);
|
|
|
|
private:
|
|
QLabel *body;
|
|
QPushButton *rejectBtn;
|
|
QPushButton *rebootBtn;
|
|
QPushButton *confirmBtn;
|
|
void doReset();
|
|
|
|
private slots:
|
|
void confirm();
|
|
};
|