mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-20 11:23:56 +08:00
* recover mode * clean up * less margin * use inter * little nicer Co-authored-by: Comma Device <device@comma.ai>
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();
|
|
};
|