source: PSPA/Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_bend.h @ 290

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

refactoring : part 2

File size: 840 bytes
Line 
1#ifndef GWT_BEND_SEEN
2#define GWT_BEND_SEEN
3
4#include "GWt_abstractElement.h"
5
6class GWt_bend : public GWt_abstractElement
7{
8    WLineEdit* angleEdit_; // deg.
9    WLineEdit* radiusEdit_; // m
10    WLineEdit* xlengthEdit_; // cm
11    WLineEdit* apertureEdit_; // cm
12    WLineEdit* beta1Edit_; // deg.
13    WLineEdit* beta2Edit_; // deg.
14    WLineEdit* momentumEdit_; // MeV/c
15   
16   
17    public :
18   
19    GWt_bend() {;}
20    GWt_bend(abstractElement* elem);
21    ~GWt_bend() {;}
22    virtual void dialogDone();
23   
24    WImage* getImage();
25    WString print();
26   
27    inline string getMimeType() {return "htdocs/bend.jpg"; }
28    inline string getSmallImageURL() {return "htdocs/bend.jpg"; }
29    inline string getBigImageURL() {return "htdocs/bend.jpg"; }
30    inline string getName() {return "bend"; }
31
32private:
33    WImage* image_;
34};
35#endif
Note: See TracBrowser for help on using the repository browser.