mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-23 18:22:13 +08:00
c57f535238
* add adb toggle to developerPanel * translations + toggleOrder * initial docs * move adb.sh into toggle * finish up docs * QProcess * adbToggle h * translations * vanish translations * description * tr --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
23 lines
481 B
C++
23 lines
481 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* adbToggle;
|
|
ParamControl* joystickToggle;
|
|
ParamControl* longManeuverToggle;
|
|
ParamControl* experimentalLongitudinalToggle;
|
|
bool is_release;
|
|
bool offroad;
|
|
|
|
private slots:
|
|
void updateToggles(bool _offroad);
|
|
};
|