source: PSPA/Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_cell.h @ 292

Last change on this file since 292 was 292, checked in by garnier, 11 years ago

Refactoring part 3

File size: 1.1 KB
Line 
1#ifndef GWT_CELL_SEEN
2#define GWT_CELL_SEEN
3
4//#include "GWt_pspaApplication.h"
5#include "GWt_abstractElement.h"
6#include "abstractElement.h"
7
8#include <iostream>
9#include <string>
10#include <sstream>
11
12using namespace Wt;
13using namespace std;
14
15class GWt_cell : public GWt_abstractElement
16{
17    WLineEdit* lenghtElemEdit_; // cm
18    WLineEdit* apertureEdit_; // cm
19    WLineEdit* initialPhaseEdit_; // degres
20    WLineEdit* phaseStepMaxEdit_;   // degres
21    WLineEdit* acceleratingFieldEdit_; // MV/m
22    WLineEdit* acceleratingShapeFileEdit_; // string
23    WLineEdit* focusingMagFileEdit_; // string
24    WLineEdit* offsetMagEdit_; // cm
25    WLineEdit* scaleFactorEdit_;
26   
27   
28    public :
29   
30    GWt_cell() {;}
31    GWt_cell(abstractElement* elem);
32    ~GWt_cell() {;}
33    virtual void dialogDone();
34   
35    WImage* getImage();
36    WString print();
37   
38    inline string getMimeType() {return "htdocs/cell.jpg"; }
39    inline string getSmallImageURL() {return "htdocs/cell.jpg"; }
40    inline string getBigImageURL() {return "htdocs/cell.jpg"; }
41    inline string getName() {return "cell"; }
42
43};
44#endif
Note: See TracBrowser for help on using the repository browser.