wip
This commit is contained in:
@@ -14,17 +14,18 @@
|
||||
#include "selfdrive/ui/ui.h"
|
||||
|
||||
class ReadyWindow : public QWidget {
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
public:
|
||||
ReadyWindow(QWidget* parent = 0);
|
||||
ReadyWindow(QWidget* parent = nullptr);
|
||||
private:
|
||||
void paintEvent(QPaintEvent*) override;
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
void refresh();
|
||||
bool is_hot = false;
|
||||
QString cur_temp;
|
||||
QPixmap img_ready;
|
||||
QPixmap img_hot;
|
||||
|
||||
private slots:
|
||||
void updateState(const UIState &s);
|
||||
void offroadTransition(bool onroad);
|
||||
void showEvent(QShowEvent *event) override;
|
||||
void hideEvent(QHideEvent *event) override;
|
||||
// void refresh();
|
||||
|
||||
// QTimer* timer;
|
||||
};
|
||||
void showEvent(QShowEvent *event) override;
|
||||
void hideEvent(QHideEvent *event) override;
|
||||
};
|
||||
Reference in New Issue
Block a user