Rev | Line | |
---|
[38] | 1 | #ifndef GWT_CELL_SEEN |
---|
| 2 | #define GWT_CELL_SEEN |
---|
| 3 | |
---|
[226] | 4 | //#include "GWt_pspaApplication.h" |
---|
[83] | 5 | #include "GWt_abstractElement.h" |
---|
[41] | 6 | #include "abstractElement.h" |
---|
[38] | 7 | |
---|
| 8 | #include <iostream> |
---|
| 9 | #include <string> |
---|
| 10 | #include <sstream> |
---|
| 11 | |
---|
| 12 | using namespace Wt; |
---|
| 13 | using namespace std; |
---|
| 14 | |
---|
[83] | 15 | class GWt_cell : public GWt_abstractElement |
---|
[38] | 16 | { |
---|
[272] | 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 | |
---|
[289] | 30 | GWt_cell() {;} |
---|
[305] | 31 | GWt_cell(GWt_elementLigneFaisceau* ); |
---|
[272] | 32 | ~GWt_cell() {;} |
---|
| 33 | virtual void dialogDone(); |
---|
| 34 | |
---|
| 35 | WImage* getImage(); |
---|
| 36 | |
---|
[290] | 37 | inline string getMimeType() {return "htdocs/cell.jpg"; } |
---|
| 38 | inline string getSmallImageURL() {return "htdocs/cell.jpg"; } |
---|
| 39 | inline string getBigImageURL() {return "htdocs/cell.jpg"; } |
---|
| 40 | inline string getName() {return "cell"; } |
---|
[308] | 41 | |
---|
| 42 | private : |
---|
[310] | 43 | void initilializeDialog(); |
---|
[290] | 44 | |
---|
[38] | 45 | }; |
---|
| 46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.