Line | |
---|
1 | #ifndef GWT_RFGUN_SEEN |
---|
2 | #define GWT_RFGUN_SEEN |
---|
3 | |
---|
4 | #include "GWt_abstractElement.h" |
---|
5 | #include "abstractElement.h" |
---|
6 | |
---|
7 | #include <iostream> |
---|
8 | #include <string> |
---|
9 | #include <sstream> |
---|
10 | |
---|
11 | using namespace Wt; |
---|
12 | using namespace std; |
---|
13 | |
---|
14 | |
---|
15 | class GWt_rfgun : public GWt_abstractElement |
---|
16 | { |
---|
17 | WLineEdit* nmacropEdit_; |
---|
18 | WLineEdit* sigma_tEdit_; // picoseconds |
---|
19 | WLineEdit* sigma_rEdit_; // cm |
---|
20 | WLineEdit* emit_xEdit_; // pi.mm.mrad |
---|
21 | WLineEdit* emit_yEdit_; // pi.mm.mrad |
---|
22 | WLineEdit* E_cinEdit_; // MeV |
---|
23 | WLineEdit* sigma_EEdit_; // MeV |
---|
24 | WLineEdit* totalChargeEdit_; |
---|
25 | |
---|
26 | |
---|
27 | public : |
---|
28 | |
---|
29 | GWt_rfgun() {;} |
---|
30 | GWt_rfgun(GWt_elementLigneFaisceau* ); |
---|
31 | ~GWt_rfgun() {;} |
---|
32 | virtual void dialogDone(); |
---|
33 | |
---|
34 | WImage* getImage(); |
---|
35 | |
---|
36 | inline string getMimeType() {return "htdocs/rfgun.jpg"; } |
---|
37 | inline string getSmallImageURL() {return "htdocs/rfgun.jpg"; } |
---|
38 | inline string getBigImageURL() {return "htdocs/rfgun.jpg"; } |
---|
39 | inline string getName() {return "rfgun"; } |
---|
40 | |
---|
41 | private : |
---|
42 | void initilializeDialog(); |
---|
43 | |
---|
44 | }; |
---|
45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.