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

mwms_borders_selection.hpp « qt - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 15a37374c033ad595793f66f779e089edfd4b6e0 (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 <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