GlobeEngine
UnitCirclesDialog.h
Go to the documentation of this file.
1 #ifndef ExoEngine_UnitCirclesDialog_h
2 #define ExoEngine_UnitCirclesDialog_h
3 
4 #include "OpenGL_Includes.h"
5 #include <QDialog>
6 #include <QFormLayout>
7 #include <QLineEdit>
8 #include <QButtonGroup>
9 #include <QDialogButtonBox>
10 #include <QDoubleValidator>
11 #include <QIntValidator>
12 
13 namespace geExoViewer {
14  class UnitCirclesDialog : public QDialog
15  {
16  Q_OBJECT
17 
18  public:
19  UnitCirclesDialog(QWidget * parent = 0, Qt::WindowFlags f = 0);
21 
22  signals:
23  void accepted(double, int, int);
24 
25  private:
26 
27  QFormLayout* layout;
28  QLineEdit* unitSize;
29  QLineEdit* numberOfCircles;
30  QDoubleValidator* unitSizeValidator;
31  QIntValidator* numberOfCirclesValidator;
32  QButtonGroup* units;
33  QDialogButtonBox* buttonBox;
34 
35  private slots:
36  void checkLineEdits(const QString & text);
37  void accept();
38  };
39 }
40 #endif
const std::string text
Definition: Error.cpp:11
Definition: UnitCirclesDialog.h:14
~UnitCirclesDialog()
Definition: UnitCirclesDialog.cpp:56
UnitCirclesDialog(QWidget *parent=0, Qt::WindowFlags f=0)
Definition: UnitCirclesDialog.cpp:6
void accepted(double, int, int)
Definition: BodySelectionDialog.h:12