cd7e362c10cd2a7aa819284e161532abb416c929
[snark14.git] / tools / Input / select.h
1 /** @file select.h
2     @package snark14Input
3     @author Bruno M. Carvalho and Deniz Sarioz
4     licensed under (open-source) QPL v1.0
5     which accompanies this distribution in the file QPL
6 */
7
8 #ifndef SELECTWINDOW_H
9 #define SELECTWINDOW_H
10
11 #include <qcheckbox.h>
12 #include <qvariant.h>
13 #include <qdialog.h>
14 class QVBoxLayout; 
15 class QHBoxLayout; 
16 class QGridLayout; 
17 class QButtonGroup;
18 class QComboBox;
19 class QFrame;
20 class QLabel;
21 class QLineEdit;
22 class QPushButton;
23 class QRadioButton;
24
25 class selectwindow : public QDialog
26
27     Q_OBJECT
28
29 public:
30     selectwindow( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
31     ~selectwindow();
32     QString getOutput();
33
34     QLabel* selectlabel;
35     QButtonGroup* selectbuttongroup;
36     QRadioButton* snarkbutton;
37     QRadioButton* userbutton;
38     QCheckBox* efficientcb;
39     QLabel* steplabel;
40     QLineEdit* mod2;
41     QLineEdit* mod1;
42     QLabel* mod1label;
43     QLabel* mod2label;
44     QLineEdit* n2;
45     QComboBox* type2;
46     QLineEdit* n1;
47     QComboBox* type1;
48     QLabel* type1label;
49     QLabel* n1label;
50     QLabel* type2label;
51     QLabel* n2label;
52     QFrame* Line12;
53     QPushButton* okbutton;
54     QPushButton* cancelbutton;
55 private slots:
56    // void activateFields();
57    void checkValues();
58    void grayOrNot(); 
59 };
60
61 #endif // SELECTWINDOW_H