forked from mapsme/omim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmwms_borders_selection.hpp
48 lines (36 loc) · 955 Bytes
/
mwms_borders_selection.hpp
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
37
38
39
40
41
42
43
44
45
46
47
48
#pragma once
#include <string>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QRadioButton>
class Framework;
namespace qt
{
class MwmsBordersSelection : public QDialog
{
public:
MwmsBordersSelection(QWidget * parent);
enum class Response
{
MwmsBordersByPolyFiles,
MwmsBordersWithVerticesByPolyFiles,
MwmsBordersByPackedPolygon,
MwmsBordersWithVerticesByPackedPolygon,
BoundingBoxByPolyFiles,
BoundingBoxByPackedPolygon,
Cancelled
};
Response ShowModal();
private:
QGroupBox * CreateSourceChoosingGroup();
QGroupBox * CreateViewTypeGroup();
QGroupBox * CreateButtonBoxGroup();
QRadioButton * m_radioBordersFromPackedPolygon;
QRadioButton * m_radioBordersFromData;
QRadioButton * m_radioWithPoints;
QRadioButton * m_radioJustBorders;
QRadioButton * m_radioBoundingBox;
};
} // namespace qt