source: PSPA/Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_rfgun.h @ 328

Last change on this file since 328 was 328, checked in by touze, 11 years ago

ajout du bouton cancel aux elts

File size: 1014 bytes
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
11using namespace Wt;
12using namespace std;
13
14
15class 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 public :
27   
28  GWt_rfgun() {;}
29  GWt_rfgun(GWt_elementLigneFaisceau* );
30  ~GWt_rfgun() {;}
31 
32  virtual void dialogDone(WDialog::DialogCode code);
33  WImage* getImage();
34   
35  inline string getMimeType() {return "htdocs/rfgun.jpg"; }
36  inline string getSmallImageURL() {return "htdocs/rfgun.jpg"; }
37  inline string getBigImageURL() {return "htdocs/rfgun.jpg"; }
38  inline string getName() {return "rfgun"; }
39   
40 private :
41 
42  void initilializeDialog();
43
44};
45#endif
Note: See TracBrowser for help on using the repository browser.