source: PSPA/Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_cell.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: 1.1 KB
Line 
1#ifndef GWT_CELL_SEEN
2#define GWT_CELL_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
14class GWt_cell : public GWt_abstractElement
15{
16  WLineEdit* lenghtElemEdit_; // cm
17  WLineEdit* apertureEdit_; // cm
18  WLineEdit* initialPhaseEdit_; // degres
19  WLineEdit* phaseStepMaxEdit_;   // degres
20  WLineEdit* acceleratingFieldEdit_; // MV/m
21  WLineEdit* acceleratingShapeFileEdit_; // string
22  WLineEdit* focusingMagFileEdit_; // string
23  WLineEdit* offsetMagEdit_; // cm
24  WLineEdit* scaleFactorEdit_;
25     
26 public :
27   
28  GWt_cell() {;}
29  GWt_cell(GWt_elementLigneFaisceau* );
30  ~GWt_cell() {;}
31 
32  virtual void dialogDone(WDialog::DialogCode code);
33  WImage* getImage();
34   
35  inline string getMimeType() {return "htdocs/cell.jpg"; }
36  inline string getSmallImageURL() {return "htdocs/cell.jpg"; }
37  inline string getBigImageURL() {return "htdocs/cell.jpg"; }
38  inline string getName() {return "cell"; }
39 
40 private :
41
42  void initilializeDialog();
43 
44};
45#endif
Note: See TracBrowser for help on using the repository browser.