mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-03 22:53:44 +08:00
13 lines
480 B
C++
13 lines
480 B
C++
#include "frogpilot/ui/qt/offroad/data_settings.h"
|
|
|
|
FrogPilotDataPanel::FrogPilotDataPanel(FrogPilotSettingsWindow *parent, bool forceOpen) : FrogPilotListWidget(parent), parent(parent) {
|
|
forceOpenDescriptions = forceOpen;
|
|
|
|
QStackedLayout *dataLayout = new QStackedLayout();
|
|
addItem(dataLayout);
|
|
|
|
FrogPilotListWidget *dataMainList = new FrogPilotListWidget(this);
|
|
ScrollView *dataMainPanel = new ScrollView(dataMainList, this);
|
|
dataLayout->addWidget(dataMainPanel);
|
|
}
|