maps_settings
This commit is contained in:
parent
236074e3d5
commit
44a708f25a
|
@ -76,11 +76,6 @@ FrogPilotMapsPanel::FrogPilotMapsPanel(FrogPilotSettingsWindow *parent) : FrogPi
|
|||
addItem(territoriesLabel = new LabelControl(tr("United States - Territories"), ""));
|
||||
addItem(territoriesMaps = new MapSelectionControl(territoriesMap));
|
||||
|
||||
///////////////////////////////////
|
||||
addItem(taiwanLabel = new LabelControl(tr("Taiwan"), ""));
|
||||
addItem(taiwanMaps = new MapSelectionControl(taiwanMap, true));
|
||||
///////////////////////////////////
|
||||
|
||||
addItem(africaLabel = new LabelControl(tr("Africa"), ""));
|
||||
addItem(africaMaps = new MapSelectionControl(africaMap, true));
|
||||
|
||||
|
@ -319,9 +314,6 @@ void FrogPilotMapsPanel::displayMapButtons(bool visible) {
|
|||
removeMapsButton->setVisible(!visible && QDir(mapsFolderPath).exists());
|
||||
selectMapsButton->setVisible(!visible);
|
||||
|
||||
///////////////////////////////////
|
||||
taiwanMaps->setVisible(visible && countriesOpen);
|
||||
///////////////////////////////////
|
||||
africaMaps->setVisible(visible && countriesOpen);
|
||||
antarcticaMaps->setVisible(visible && countriesOpen);
|
||||
asiaMaps->setVisible(visible && countriesOpen);
|
||||
|
|
|
@ -33,9 +33,6 @@ private:
|
|||
|
||||
FrogPilotButtonsControl *selectMapsButton;
|
||||
|
||||
///////////////////////////
|
||||
LabelControl *taiwanLabel;
|
||||
///////////////////////////
|
||||
LabelControl *africaLabel;
|
||||
LabelControl *antarcticaLabel;
|
||||
LabelControl *asiaLabel;
|
||||
|
@ -54,9 +51,6 @@ private:
|
|||
LabelControl *territoriesLabel;
|
||||
LabelControl *westLabel;
|
||||
|
||||
///////////////////////////
|
||||
MapSelectionControl *taiwanMaps;
|
||||
///////////////////////////
|
||||
MapSelectionControl *africaMaps;
|
||||
MapSelectionControl *antarcticaMaps;
|
||||
MapSelectionControl *asiaMaps;
|
||||
|
|
|
@ -7,12 +7,6 @@
|
|||
|
||||
#include "selfdrive/frogpilot/ui/qt/widgets/frogpilot_controls.h"
|
||||
|
||||
///////////////////////////
|
||||
inline QMap<QString, QString> taiwanMap = {
|
||||
{"TW", "Taiwan"}
|
||||
};
|
||||
///////////////////////////
|
||||
|
||||
inline QMap<QString, QString> northeastMap = {
|
||||
{"CT", "Connecticut"}, {"ME", "Maine"}, {"MA", "Massachusetts"},
|
||||
{"NH", "New Hampshire"}, {"NJ", "New Jersey"}, {"NY", "New York"},
|
||||
|
|
Loading…
Reference in New Issue