diff options
author | Mikhail Gorbushin <m.gorbushin@corp.mail.ru> | 2019-06-12 20:54:27 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2019-06-17 16:40:55 +0300 |
commit | 4025f9f9f16c216983f08b1854f918bcb539efa8 (patch) | |
tree | 3335051fc3f0eb1523931fcc5e93e6200886523f /qt/mwms_borders_selection.hpp | |
parent | 64e4c4ebe7d18474381f852452dc25f7f3487e1f (diff) |
[qt] add option - draw borders from packed_polygon.bin
Diffstat (limited to 'qt/mwms_borders_selection.hpp')
-rw-r--r-- | qt/mwms_borders_selection.hpp | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/qt/mwms_borders_selection.hpp b/qt/mwms_borders_selection.hpp index 15a37374c0..7766985882 100644 --- a/qt/mwms_borders_selection.hpp +++ b/qt/mwms_borders_selection.hpp @@ -1,12 +1,13 @@ #pragma once +#include <string> + #include <QtWidgets/QApplication> #include <QtWidgets/QDialog> #include <QtWidgets/QFormLayout> +#include <QtWidgets/QGroupBox> #include <QtWidgets/QRadioButton> -#include <string> - class Framework; namespace qt @@ -18,18 +19,25 @@ public: enum class Response { - JustBorders, - WithPointsAndBorders, + JustBordersByPolyFiles, + WithPointsAndBordersByPolyFiles, + + JustBordersByPackedPolygon, + WithPointsAndBordersByPackedPolygon, - Canceled + Cancelled }; Response ShowModal(); private: - void AddButtonBox(); + QGroupBox * CreateSourceChoosingGroup(); + QGroupBox * CreateViewTypeGroup(); + QGroupBox * CreateButtonBoxGroup(); + + QRadioButton * m_radioBordersFromPackedPolygon; + QRadioButton * m_radioBordersFromData; - QFormLayout m_form; QRadioButton * m_radioWithPoints; QRadioButton * m_radioJustBorders; }; |