Welcome to mirror list, hosted at ThFree Co, Russian Federation.

trafficmodeinitdlg.h « openlr_assessment_tool « openlr_match_quality « openlr - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0de1cbbc95bef0c735b1fcc233a39c12f1ca5ce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#pragma once

#include <string>

#include <QtWidgets/QDialog>

class QLineEdit;

namespace Ui {
class TrafficModeInitDlg;
}

namespace openlr
{
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,
                            QString const & filter = {});
public slots:
  void accept() override;

private:
  Ui::TrafficModeInitDlg * m_ui;

  std::string m_dataFileName;
};
}  // namespace openlr