Line | |
---|
1 | #ifndef GWT_BEAM_SEEN |
---|
2 | #define GWT_BEAM_SEEN |
---|
3 | |
---|
4 | |
---|
5 | #include "GWt_abstractElement.h" |
---|
6 | |
---|
7 | class GWt_beam : public GWt_abstractElement { |
---|
8 | |
---|
9 | WLineEdit* xEdit_; // cm |
---|
10 | WLineEdit* xpEdit_; // mrad |
---|
11 | WLineEdit* yEdit_; // cm |
---|
12 | WLineEdit* ypEdit_; // mrad |
---|
13 | WLineEdit* dlEdit_; // cm |
---|
14 | WLineEdit* delEdit_; // % |
---|
15 | WLineEdit* p0Edit_; // GeV/c |
---|
16 | |
---|
17 | |
---|
18 | public : |
---|
19 | |
---|
20 | GWt_beam() {;} |
---|
21 | GWt_beam(abstractElement* elem ); |
---|
22 | ~GWt_beam() {;} |
---|
23 | virtual void dialogDone(); |
---|
24 | |
---|
25 | WImage* getImage(); |
---|
26 | WString print(); |
---|
27 | |
---|
28 | inline string getMimeType() {return "htdocs/beam.jpg"; } |
---|
29 | inline string getSmallImageURL() {return "htdocs/beam.jpg"; } |
---|
30 | inline string getBigImageURL() {return "htdocs/beam.jpg"; } |
---|
31 | inline string getName() {return "beam"; } |
---|
32 | |
---|
33 | private: |
---|
34 | WImage* image_; |
---|
35 | }; |
---|
36 | |
---|
37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.