source: PSPA/Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_elementSpole.h @ 489

Last change on this file since 489 was 489, checked in by touze, 10 years ago

nvx elts: quadrupole & sextupole

File size: 831 bytes
Line 
1#ifndef GWt_elementSpole_SEEN
2#define GWt_elementSpole_SEEN
3
4
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_elementSpole : public GWt_abstractElement
16{
17  WLineEdit* lengthEdit_;
18  WLineEdit* componentEdit_;
19
20 public :
21 
22  GWt_elementSpole()  {;}
23  GWt_elementSpole(GWt_elementLigneFaisceau*, abstractElement*);
24  ~GWt_elementSpole() {;}
25 
26  virtual void dialogDone(WDialog::DialogCode code);
27  WImage* getImage();
28   
29  inline string getMimeType() {return "htdocs/spole.jpg";}
30  inline string getSmallImageURL() {return "htdocs/spole.jpg";}
31  inline string getBigImageURL() {return "htdocs/spole.jpg";}
32  inline string getName() {return "spole";}
33 
34 private :
35
36  void initilializeDialog();
37};
38#endif
Note: See TracBrowser for help on using the repository browser.