mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
33 lines
565 B
C++
33 lines
565 B
C++
#pragma once
|
|
|
|
#include <set>
|
|
|
|
#include "frogpilot/ui/qt/offroad/frogpilot_settings.h"
|
|
|
|
class FrogPilotWheelPanel : public FrogPilotListWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit FrogPilotWheelPanel(FrogPilotSettingsWindow *parent);
|
|
|
|
protected:
|
|
void showEvent(QShowEvent *event) override;
|
|
|
|
private:
|
|
void updateToggles();
|
|
|
|
bool forceOpenDescriptions;
|
|
bool hasOpenpilotLongitudinal;
|
|
bool isSubaru;
|
|
|
|
int tuningLevel;
|
|
|
|
std::map<QString, AbstractControl*> toggles;
|
|
|
|
FrogPilotSettingsWindow *parent;
|
|
|
|
Params params;
|
|
|
|
QJsonObject frogpilotToggleLevels;
|
|
};
|