source: PSPA/Interface_Web/trunk/pspaWT/include/GWt_abstractElement.h @ 224

Last change on this file since 224 was 169, checked in by touze, 12 years ago

use WSignalMapper class

File size: 837 bytes
Line 
1#ifndef GWTABSTRACELEMENT_SEEN
2#define GWTABSTRACELEMENT_SEEN
3
4#include "GWt_pspaApplication.h"
5#include "abstractElement.h"
6
7#include <Wt/WDialog>
8#include <Wt/WPushButton>
9#include <Wt/WContainerWidget>
10
11using namespace Wt;
12using namespace std;
13
14class GWt_abstractElement : public WContainerWidget
15{
16 protected : 
17
18  PspaApplication* pspa_;
19  abstractElement* element_;
20
21  WDialog* dialog_;
22  WPushButton* dropped_;
23  WContainerWidget* wc_;
24
25  GWt_abstractElement() {;}
26
27 public :
28
29  GWt_abstractElement(PspaApplication* ps,abstractElement* elem);
30
31  // methode Factory
32  static GWt_abstractElement *ajoute(PspaApplication* ps,abstractElement* ptr);
33
34  void clicked();
35  void updateLabelWidget();
36  WPushButton* getButton();
37  WContainerWidget* getWidget();
38  abstractElement* getElement();
39
40  virtual void dialogDone() = 0;
41};
42#endif
Note: See TracBrowser for help on using the repository browser.