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

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qt/mwms_borders_selection.hpp')
-rw-r--r--qt/mwms_borders_selection.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/qt/mwms_borders_selection.hpp b/qt/mwms_borders_selection.hpp
new file mode 100644
index 0000000000..15a37374c0
--- /dev/null
+++ b/qt/mwms_borders_selection.hpp
@@ -0,0 +1,36 @@
+#pragma once
+
+#include <QtWidgets/QApplication>
+#include <QtWidgets/QDialog>
+#include <QtWidgets/QFormLayout>
+#include <QtWidgets/QRadioButton>
+
+#include <string>
+
+class Framework;
+
+namespace qt
+{
+class MwmsBordersSelection : public QDialog
+{
+public:
+ MwmsBordersSelection(QWidget * parent);
+
+ enum class Response
+ {
+ JustBorders,
+ WithPointsAndBorders,
+
+ Canceled
+ };
+
+ Response ShowModal();
+
+private:
+ void AddButtonBox();
+
+ QFormLayout m_form;
+ QRadioButton * m_radioWithPoints;
+ QRadioButton * m_radioJustBorders;
+};
+} // namespace qt