openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
644 B

#include "map_settings.h"
#include "selfdrive/ui/qt/widgets/controls.h"
MapPanel::MapPanel(QWidget* parent) : QWidget(parent) {
QVBoxLayout *layout = new QVBoxLayout;
Params params = Params();
QString dongle = QString::fromStdString(params.get("DongleId", false));
// TODO: Add buttons for home/work shortcuts
layout->addWidget(new ParamControl("NavSettingTime24h",
"Show ETA in 24h format",
"Use 24h format instead of am/pm",
"",
this));
layout->addStretch();
setLayout(layout);
}