mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-09 07:32:06 +08:00
1ce647b0a6
* body ui template * faces * abs * not raw * auto switch * check that * no smoosh * cmath old-commit-hash: b51deb97d162f724df5e7469cdef2615a0a23a0e
20 lines
263 B
C++
20 lines
263 B
C++
#pragma once
|
|
|
|
#include <QMovie>
|
|
#include <QLabel>
|
|
|
|
#include "selfdrive/ui/ui.h"
|
|
|
|
class BodyWindow : public QLabel {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
BodyWindow(QWidget* parent = 0);
|
|
|
|
private:
|
|
QMovie *awake, *sleep;
|
|
|
|
private slots:
|
|
void updateState(const UIState &s);
|
|
};
|