Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)

To expand with full Organic Maps and Maps.ME commits history run:
  git remote add om-historic [om-historic.git repo url]
  git fetch --tags om-historic
  git replace squashed-history historic-commits
This commit is contained in:
Konstantin Pastbin
2025-04-13 16:37:30 +07:00
commit e3e4a1985a
12931 changed files with 13195100 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
#pragma once
#include "geometry/latlon.hpp"
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QLineEdit>
#include <optional>
#include <string>
class Framework;
namespace qt
{
class RoutingSettings : public QDialog
{
public:
static void LoadSession(Framework & framework);
static bool TurnsEnabled();
static bool UseDebugGuideTrack();
static std::optional<ms::LatLon> GetCoords(bool start);
RoutingSettings(QWidget * parent, Framework & framework);
void ShowModal();
private:
static std::optional<ms::LatLon> GetCoordsFromString(std::string const & input);
void ShowMessage(std::string const & message);
bool ValidateAndSaveCoordsFromInput();
bool SaveSettings();
void LoadSettings();
Framework & m_framework;
QLineEdit * m_startInput;
QLineEdit * m_finishInput;
QComboBox * m_routerType;
QCheckBox * m_showTurnsCheckbox;
QCheckBox * m_useDebugGuideCheckbox;
QCheckBox * m_saveSessionCheckbox;
};
} // namespace qt