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.
22 lines
481 B
22 lines
481 B
#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;
|
|
|
|
private slots:
|
|
void updateToggles(bool _offroad);
|
|
};
|
|
|