mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-07 08:33:42 +08:00
7e5a84b897
# Conflicts: # opendbc_repo # panda # selfdrive/modeld/fill_model_msg.py # selfdrive/pandad/pandad.cc # selfdrive/test/process_replay/ref_commit # selfdrive/ui/qt/home.h # selfdrive/ui/qt/offroad/developer_panel.cc # selfdrive/ui/qt/offroad/developer_panel.h # selfdrive/ui/tests/test_ui/run.py # selfdrive/ui/translations/main_ar.ts # selfdrive/ui/translations/main_de.ts # selfdrive/ui/translations/main_es.ts # selfdrive/ui/translations/main_ko.ts # selfdrive/ui/translations/main_pt-BR.ts # selfdrive/ui/translations/main_th.ts # selfdrive/ui/translations/main_tr.ts # selfdrive/ui/translations/main_zh-CHS.ts # selfdrive/ui/translations/main_zh-CHT.ts
28 lines
620 B
C++
28 lines
620 B
C++
#pragma once
|
|
|
|
#ifdef SUNNYPILOT
|
|
#include "selfdrive/ui/sunnypilot/qt/offroad/settings/settings.h"
|
|
#else
|
|
#include "selfdrive/ui/qt/offroad/settings.h"
|
|
#endif
|
|
|
|
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;
|
|
ParamControl* hyundaiRadarTracksToggle;
|
|
bool is_release;
|
|
bool offroad;
|
|
|
|
private slots:
|
|
void updateToggles(bool _offroad);
|
|
};
|