Changeset 198 in PSPA for Interface_Web/trunk/pspaWT/include


Ignore:
Timestamp:
Dec 17, 2012, 5:34:16 PM (12 years ago)
Author:
garnier
Message:

insertion des elements ok (presque)

Location:
Interface_Web/trunk/pspaWT/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/include/GWt_LigneFaisceau.h

    r188 r198  
    1212#include <Wt/WHBoxLayout>
    1313#include <Wt/WContainerWidget>
    14 #include <Wt/WImage>
    1514
    1615using namespace Wt;
     
    3029  Compteur *nObjets_;
    3130
    32   string createLabel(nomdElements el,int n);
    33 
    3431 public :
    3532 
     
    4441  void clickEvent(WContainerWidget*);
    4542  void deleteElement(WContainerWidget*);
    46   void onClick(GWt_abstractElement*);
    47   void removeDone(GWt_abstractElement*);
    4843
    49  private :
    5044
    51   void dropEvent(WDropEvent evt);
    52   WDialog *message_;
    5345};
    5446
  • Interface_Web/trunk/pspaWT/include/GWt_dropZoneLigneFaiseau.h

    r186 r198  
    22#define GWT_DROPZONELIGNEFAISEAU_SEEN
    33
    4 #include "GWt_LigneFaisceau.h"
     4#include "GWt_dialog.h"
     5#include "GWt_pspaApplication.h"
     6#include "abstractElement.h"
     7#include "GWt_abstractElement.h"
     8
    59#include <Wt/WContainerWidget>
    6 #include "GWt_dialog.h"
    710
    811using namespace Wt;
     
    1316 public :
    1417
    15   GWt_dropZoneLigneFaiseau(PspaApplication*);
     18  GWt_dropZoneLigneFaiseau(PspaApplication*,bool linkImage = true);
    1619  ~GWt_dropZoneLigneFaiseau();
     20  void addElement(WContainerWidget* elem);
    1721
    1822 private:
     
    2630  void onClick(GWt_abstractElement*);
    2731  void removeDone(GWt_abstractElement*);
     32  std::string getElementNumberInBeamLine(nomdElements el);
    2833
    2934  PspaApplication* pspa_;
    30   GWt_LigneFaisceau* ligneFaiseau_;
    3135  GWt_dialog* messageDropZone_;
     36  WText* insertMessage_;
     37  WWidget* linkImage_;
     38
     39  WContainerWidget* abstractElement_;
    3240};
    3341#endif
Note: See TracChangeset for help on using the changeset viewer.