mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-09 05:44:34 +00:00
# Conflicts: # CMakeLists.txt # android/app/src/main/java/app/organicmaps/settings/SettingsPrefsFragment.java # android/sdk/src/main/cpp/app/organicmaps/sdk/Framework.hpp # android/sdk/src/main/cpp/app/organicmaps/sdk/OrganicMaps.cpp # android/sdk/src/main/cpp/app/organicmaps/sdk/util/Config.cpp # libs/indexer/data_source.hpp # libs/indexer/feature.hpp # libs/indexer/ftypes_matcher.hpp # libs/map/framework.cpp # libs/map/traffic_manager.cpp # libs/routing/absent_regions_finder.cpp # libs/routing/edge_estimator.hpp # libs/routing/index_router.cpp # libs/routing/index_router.hpp # libs/routing/routing_session.hpp # libs/routing_common/num_mwm_id.hpp # libs/traffic/traffic_info.cpp # qt/mainwindow.hpp # qt/preferences_dialog.cpp # tools/openlr/helpers.hpp # tools/openlr/openlr_decoder.cpp # tools/openlr/openlr_decoder.hpp # tools/openlr/openlr_stat/openlr_stat.cpp # tools/openlr/router.hpp # tools/openlr/score_candidate_paths_getter.cpp # tools/openlr/score_candidate_paths_getter.hpp # xcode/CoMaps.xcworkspace/contents.xcworkspacedata
37 lines
666 B
C++
37 lines
666 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
class QLineEdit;
|
|
|
|
namespace Ui {
|
|
class TrafficModeInitDlg;
|
|
}
|
|
|
|
namespace traffxml
|
|
{
|
|
class TrafficModeInitDlg : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit TrafficModeInitDlg(QWidget * parent = nullptr);
|
|
~TrafficModeInitDlg();
|
|
|
|
std::string GetDataFilePath() const { return m_dataFileName; }
|
|
|
|
private:
|
|
void SetFilePathViaDialog(QLineEdit & dest, QString const & title, const QString & directory,
|
|
QString const & filter = {});
|
|
public slots:
|
|
void accept() override;
|
|
|
|
private:
|
|
Ui::TrafficModeInitDlg * m_ui;
|
|
|
|
std::string m_dataFileName;
|
|
};
|
|
} // namespace traffxml
|