source: PSPA/Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_elementRfgun.h @ 455

Last change on this file since 455 was 455, checked in by garnier, 10 years ago

grosse modification pour intégrer les sections

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