Ignore:
Timestamp:
Nov 26, 2013, 5:36:11 PM (11 years ago)
Author:
touze
Message:

ajout de secteurs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_sectorParameters.h

    r431 r436  
    77#include <Wt/WDialog>
    88#include <Wt/WText>
     9#include <Wt/WGroupBox>
     10#include <Wt/WCheckBox>
    911
    1012using namespace Wt;
     
    1315class dataManager;
    1416
     17typedef pair<string, vector<string> > statements;
     18
    1519class GWt_sectorParameters : public WContainerWidget
    1620{
    17   WLineEdit* geometry_;
    18   WLineEdit* nCells_;
    19   WLineEdit* lCell_;
    20   WLineEdit* pc_;
     21  dataManager* dt_;
     22  vector<statements> sectors_;
     23 
     24  vector <WWidget*> cnt_;
     25  WLineEdit* sLabel_;
     26  WLineEdit* firstElement_;
     27  WLineEdit* lastElement_;
     28  WLineEdit* repeat_;
     29  WCheckBox* reflection_;
    2130
    22   dataManager* dt_;
    2331  WText *status_;
    24   WDialog *dialog_;
    25   string envoi_[5];
    26 
    27   string* getSectorParameters();
    28   void setStatus();
     32  WDialog *dialog_;
     33  WGroupBox *gb_;
     34 
     35  void createSector();
     36  WContainerWidget* buttons(int);
     37  void dialogDone(WDialog::DialogCode code);
     38  void add();
     39  void cancel(int);
     40  void setStatus(const WString&);
     41  void setAttributes();
    2942
    3043 public :
     
    3548
    3649  void execDialog();
    37   void dialogDone(WDialog::DialogCode code);
    38   void update();
    39   void renew();
    4050  void setText(WText*);
    4151};
Note: See TracChangeset for help on using the changeset viewer.