This commit is contained in:
Your Name
2024-04-27 13:43:16 -05:00
parent 21363ce751
commit ea1aad5ed1
128 changed files with 3533 additions and 1918 deletions

8
selfdrive/ui/qt/home.h Executable file → Normal file
View File

@@ -33,7 +33,6 @@ private:
Params params;
QTimer* timer;
ElidedLabel* date;
ElidedLabel* version;
QStackedLayout* center_layout;
UpdateAlert *update_widget;
@@ -42,7 +41,7 @@ private:
QPushButton* update_notif;
// FrogPilot variables
QString modelName;
ElidedLabel* date;
};
class HomeWindow : public QWidget {
@@ -57,7 +56,7 @@ signals:
public slots:
void offroadTransition(bool offroad);
void showDriverView(bool show);
void showDriverView(bool show, bool started=false);
void showSidebar(bool show);
void showMapPanel(bool show);
@@ -73,6 +72,9 @@ private:
DriverViewWindow *driver_view;
QStackedLayout *slayout;
// FrogPilot variables
Params params;
private slots:
void updateState(const UIState &s);
};