0023284: Using 'memcpy' on class that contains a virtual method
[occt.git] / samples / qt / Graphic3dDemo / inc / AutoTestDlg.h
1 #ifndef AUTOTESTDLG_H
2 #define AUTOTESTDLG_H
3
4 #include <qdialog.h>
5 #include <qspinbox.h> 
6 #include <qcheckbox.h> 
7 #include <qobject.h>
8
9 class AutoTestDlg : public QDialog
10 {
11   Q_OBJECT
12
13 public:
14   AutoTestDlg(QWidget * parent=0);
15   int getStartNbItems() { return myStartSpin->value(); }
16   int getStopNbItems()  { return myStopSpin->value(); }
17   int getStep()         { return myStepSpin->value(); }
18   int isText()          { return myTeCheck->isChecked(); }
19
20 public slots:
21   void onStart();
22   void onCancel();
23   void setStartMaxValue(int i);
24   void checkStepSpinState();
25   void onText();
26
27 private:
28   QSpinBox* myStartSpin;
29   QSpinBox* myStopSpin;
30   QSpinBox* myStepSpin;
31   QCheckBox* myTeCheck;
32 };
33
34 #endif  //#ifndef AUTOTESTDLG_H