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

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

grosse modification pour intégrer les sections

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