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

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

refactoring : part 2

File size: 797 bytes
Line 
1#ifndef GRAPHDRIFTELEMENT_SEEN
2#define GRAPHDRIFTELEMENT_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_drift : public GWt_abstractElement
15{
16    WLineEdit* xlengthEdit_;
17    WLineEdit* apertureEdit_;
18   
19   
20public:
21   
22    GWt_drift() {;}
23    GWt_drift(abstractElement* elem );
24    ~GWt_drift() {;}
25    virtual void dialogDone();
26    WImage* getImage();
27    WString print();
28   
29    inline string getMimeType() {return "htdocs/drift.jpg"; }
30    inline string getSmallImageURL() {return "htdocs/drift.jpg"; }
31    inline string getBigImageURL() {return "htdocs/drift.jpg"; }
32    inline string getName() {return "drift"; }
33
34private:
35    WImage* image_;
36};
37#endif
Note: See TracBrowser for help on using the repository browser.