mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-04 13:02:09 +08:00
87bc80d351
* fix errors in developerPanel * clean up * clean up * need to keep track of offroad sadly --------- Co-authored-by: Shane Smiskol <shane@smiskol.com>
21 lines
406 B
C++
21 lines
406 B
C++
#pragma once
|
|
|
|
#include "selfdrive/ui/qt/offroad/settings.h"
|
|
|
|
class DeveloperPanel : public ListWidget {
|
|
Q_OBJECT
|
|
public:
|
|
explicit DeveloperPanel(SettingsWindow *parent);
|
|
void showEvent(QShowEvent *event) override;
|
|
|
|
private:
|
|
Params params;
|
|
ParamControl* joystickToggle;
|
|
ParamControl* longManeuverToggle;
|
|
bool is_release;
|
|
bool offroad;
|
|
|
|
private slots:
|
|
void updateToggles(bool _offroad);
|
|
};
|