GEMC  2.3
Geant4 Monte-Carlo Framework
detector_editor.h
Go to the documentation of this file.
1 
8 #ifndef DETECTOR_EDITOR_H
9 #define DETECTOR_EDITOR_H
10 
11 
12 // Qt headers
13 //#include <QDialog>
14 //#include <QDialogButtonBox>
15 #include <QLabel>
16 #include <QLineEdit>
17 //#include <QTabWidget>
18 #include <QRadioButton>
19 
20 // gemc headers
21 #include "detector.h"
22 
23 
30 class descriptionTab : public QWidget
31 {
32  Q_OBJECT
33 
34  public:
35 
36  descriptionTab(QWidget *parent = 0);
37 
39 
40  QLabel* nameLabel;
41  QLabel* descLabel;
42 
43  QLabel *solidType;
44  QPixmap solidpic;
45  QLabel *solidPicL;
46 
47  QLabel* placeLabel;
48  QLineEdit* placeEdit;
49 
50  QLabel* rotLabel;
51  QLineEdit* rotEdit;
52 
53  QLabel* dimLabel;
54  QLineEdit* dimEdit;
55 
56  QLabel* matLabel;
57  QLabel* mgnLabel;
58  QLabel* sensHitLabel;
59  QLabel* idLabel;
60 
61  QLabel* twLabel;
62  QLabel* pcutLabel;
63 
64 
65  private slots:
66  void change_placement();
67  void change_dimension();
68 
69  public slots:
70  void update_detector(detector *Det);
71 
72 
73 };
74 
75 
76 
77 #endif
QLineEdit * rotEdit
line editor for rotation
QLabel * twLabel
label for time window
void update_detector(detector *Det)
change tab according to detector
QLabel * descLabel
label for description
QLabel * sensHitLabel
label for sensitivity, Hit process
QLineEdit * dimEdit
line editor for dimensions
QLabel * mgnLabel
label for magnetic field
QLabel * nameLabel
label for name
QLabel * placeLabel
label for position
QLabel * dimLabel
label for dimensions
QLabel * matLabel
label for material
QLabel * rotLabel
label for rotation
QLabel * pcutLabel
label for production cut
QLabel * idLabel
label for identifier
QPixmap solidpic
solid pic from G4
descriptionTab(QWidget *parent=0)
Constructor.
QLabel * solidType
label for solid type
QLabel * solidPicL
container for solid pic
detector * det
pointer to detector
QLineEdit * placeEdit
line editor for position