You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
489 B
23 lines
489 B
2 months ago
|
#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* adbToggle;
|
||
|
ParamControl* joystickToggle;
|
||
|
ParamControl* longManeuverToggle;
|
||
|
ParamControl* experimentalLongitudinalToggle;
|
||
|
bool is_release;
|
||
|
bool offroad = false;
|
||
|
|
||
|
private slots:
|
||
|
void updateToggles(bool _offroad);
|
||
|
};
|