source: PSPA/Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_sectorParameters.h @ 483

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

grosse modification pour intégrer les sections

File size: 1012 bytes
Line 
1#ifndef GWT_SECTORPARAMETERS_SEEN
2#define GWT_SECTORPARAMETERS_SEEN
3
4#include <string>
5#include <Wt/WContainerWidget>
6#include <Wt/WLineEdit>
7#include <Wt/WDialog>
8#include <Wt/WText>
9#include <Wt/WGroupBox>
10#include <Wt/WCheckBox>
11
12using namespace Wt;
13using namespace std;
14
15class dataManager;
16
17typedef pair<string, vector<string> > statements;
18
19class GWt_sectorParameters : public WContainerWidget
20{
21  vector<statements> sectors_;
22 
23  vector <WWidget*> cnt_;
24  WLineEdit* sLabel_;
25  WLineEdit* firstElement_;
26  WLineEdit* lastElement_;
27  WLineEdit* repeat_;
28  WCheckBox* reflection_;
29
30  WText *status_;
31  WDialog *dialog_; 
32  WGroupBox *gb_;
33 
34  void createSector_deprecated();
35  WContainerWidget* buttons_deprecated(int);
36  void dialogDone(WDialog::DialogCode code);
37  void add();
38  void cancel(int);
39  void setStatus(const WString&);
40  void setAttributes();
41
42 public :
43 
44  GWt_sectorParameters() {;};
45  virtual ~GWt_sectorParameters() {;}
46
47  void execDialog_deprecated();
48  void setText(WText*);
49};
50#endif
Note: See TracBrowser for help on using the repository browser.