mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 19:42:07 +08:00
24 lines
442 B
C++
24 lines
442 B
C++
#pragma once
|
|
|
|
#include "starpilot/ui/qt/offroad/starpilot_settings.h"
|
|
|
|
class StarPilotDataPanel : public StarPilotListWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit StarPilotDataPanel(StarPilotSettingsWindow *parent, bool forceOpen = false);
|
|
|
|
signals:
|
|
void openSubPanel();
|
|
|
|
private:
|
|
void updateStatsLabels(StarPilotListWidget *labelsList);
|
|
|
|
bool forceOpenDescriptions;
|
|
bool isMetric;
|
|
|
|
StarPilotSettingsWindow *parent;
|
|
|
|
Params params;
|
|
};
|