wip
This commit is contained in:
@@ -29,9 +29,6 @@
|
||||
#include "selfdrive/frogpilot/ui/vehicle_settings.h"
|
||||
#include "selfdrive/frogpilot/ui/visual_settings.h"
|
||||
|
||||
// Bbot notes:
|
||||
// This is the main settings page. All other settings pages attach themselves to this page.
|
||||
|
||||
TogglesPanel::TogglesPanel(SettingsWindow *parent) : ListWidget(parent) {
|
||||
// param, title, desc, icon
|
||||
std::vector<std::tuple<QString, QString, QString, QString>> toggle_defs{
|
||||
@@ -447,16 +444,14 @@ SettingsWindow::SettingsWindow(QWidget *parent) : QFrame(parent) {
|
||||
QObject::connect(frogpilotVisuals, &FrogPilotVisualsPanel::openParentToggle, this, [this]() {frogPilotTogglesOpen = true;});
|
||||
|
||||
QList<QPair<QString, QWidget *>> panels = {
|
||||
{tr("Basic"), toggles},
|
||||
{tr("Interface"), frogpilotVisuals},
|
||||
{tr("Advanced"), frogpilotControls},
|
||||
{tr("System"), new Networking(this)},
|
||||
{tr("Software"), new SoftwarePanel(this)},
|
||||
// {tr("Extras"), device},
|
||||
// {tr("Navigation"), new FrogPilotNavigationPanel(this)},
|
||||
// {tr("Vehicles"), new FrogPilotVehiclesPanel(this)},
|
||||
// {tr("Visuals"), frogpilotVisuals},
|
||||
{tr("Device"), device},
|
||||
{tr("Network"), new Networking(this)},
|
||||
{tr("Toggles"), toggles},
|
||||
{tr("Software"), new SoftwarePanel(this)},
|
||||
{tr("Controls"), frogpilotControls},
|
||||
{tr("Navigation"), new FrogPilotNavigationPanel(this)},
|
||||
{tr("Vehicles"), new FrogPilotVehiclesPanel(this)},
|
||||
{tr("Visuals"), frogpilotVisuals},
|
||||
};
|
||||
|
||||
nav_btns = new QButtonGroup(this);
|
||||
|
||||
Reference in New Issue
Block a user