source: PSPA/Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_abstractElement.h @ 261

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

Fix probleme de compilation introduit par la dernière revision (260)

File size: 1.0 KB
Line 
1#ifndef GWTABSTRACELEMENT_SEEN
2#define GWTABSTRACELEMENT_SEEN
3
4//#include "GWt_pspaApplication.h"
5#include "GWt_draggableImage.h"
6#include "abstractElement.h"
7#include "GWt_console.h"
8
9#include <Wt/WDialog>
10#include <Wt/WImage>
11#include <Wt/WPushButton>
12#include <Wt/WContainerWidget>
13
14using namespace Wt;
15using namespace std;
16
17class GWt_abstractElement : public WContainerWidget
18{
19 protected : 
20
21  //  PspaApplication* pspa_;
22  abstractElement* element_;
23
24  WDialog* dialog_;
25  GWt_draggableImage* dropped_;
26  WContainerWidget* wc_;
27  WText* wc_item_;
28  WLineEdit* labelEdit_;
29
30  GWt_abstractElement() {;}
31
32  string* beginDialog();
33 public :
34
35  GWt_abstractElement(abstractElement* elem);
36
37  // methode Factory
38  static GWt_abstractElement *ajoute(abstractElement* ptr);
39
40  void clicked();
41  void setLabelWidget();
42  void updateLabelWidget();
43  //  GWt_draggableImage* getImage();
44  WContainerWidget* getWidget();
45  abstractElement* getElement();
46
47  virtual void dialogDone() = 0;
48  virtual WImage* getImage() = 0;
49
50};
51#endif
Note: See TracBrowser for help on using the repository browser.