54daf6ec889110eca26b6c7568a86a3aae84dd22
[snark14.git] / tools / Input / picture.h
1 /** @file picture.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 PICTUREWINDOW_H
9 #define PICTUREWINDOW_H
10
11 #include <qvariant.h>
12 #include <qdialog.h>
13 class QVBoxLayout; 
14 class QHBoxLayout; 
15 class QGridLayout; 
16 class QButtonGroup;
17 class QFrame;
18 class QLabel;
19 class QLineEdit;
20 class QPushButton;
21 class QRadioButton;
22
23 class picturewindow : public QDialog
24
25     Q_OBJECT
26
27 public:
28     picturewindow( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
29     ~picturewindow();
30     QString getOutput();
31
32     QLabel* picturelabel;
33     QButtonGroup* picturebuttongroup;
34     QRadioButton* reconstructionbutton;
35     QRadioButton* testbutton;
36     QLineEdit* nelem;
37     QLabel* nelemlabel;
38     QLineEdit* pixelsize;
39     QLabel* pixelsizelabel;
40     QFrame* Line10;
41     QPushButton* okbutton;
42     QPushButton* cancelbutton;
43 private slots:
44       //void activateFields();
45     void activateReconstructionFields();
46     void deactivateReconstructionFields();
47     void checkValues();
48 };
49
50 #endif // PICTUREWINDOW_H