Changeset 113 in PSPA for Interface_Web/trunk/pspaWT/include/GWt_LigneFaisceau.h
- Timestamp:
- Nov 28, 2012, 4:24:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/include/GWt_LigneFaisceau.h
r50 r113 3 3 4 4 #include "dataManager.h" 5 #include "abstractElement.h" 6 #include "nomdElements.h" 5 7 #include "GWt_pspaApplication.h" 6 #include "abstractElement.h"7 8 8 9 #include <Wt/WApplication> 9 10 10 #include <Wt/WPushButton> 11 11 #include <Wt/WHBoxLayout> … … 13 13 #include <Wt/WImage> 14 14 15 using namespace Wt; 15 16 16 17 18 19 20 using namespace Wt; 17 class Compteur { 18 int n_; 19 20 public : 21 Compteur() {n_= 0;} 22 int incr() {return ++n_;} 23 }; 21 24 22 25 class GWt_LigneFaisceau : public WContainerWidget 23 26 { 27 WHBoxLayout* beamLayout_; 28 PspaApplication* pspa_; 29 Compteur *nObjets_[nElements]; 24 30 25 // WVBoxLayout* tempVBox_; 26 WHBoxLayout* beamLayout_; 27 // dataManager* dtmanage_; 28 PspaApplication* pspa_; 29 30 public: 31 public : 31 32 GWt_LigneFaisceau(PspaApplication*); 32 33 void restoreElementCollection(); 33 private: 34 35 private : 34 36 void dropEvent(WDropEvent evt); 35 36 37 37 }; 38 38
Note: See TracChangeset
for help on using the changeset viewer.