Changeset 113 in PSPA for Interface_Web/trunk/pspaWT
- Timestamp:
- Nov 28, 2012, 4:24:13 PM (12 years ago)
- Location:
- Interface_Web/trunk/pspaWT/include
- Files:
-
- 9 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 -
Interface_Web/trunk/pspaWT/include/GWt_abstractElement.h
r107 r113 28 28 29 29 GWt_abstractElement() {;} 30 void setLabel(abstractElement* elem,int n);31 30 32 31 public : … … 36 35 void clicked(); 37 36 void doubleClicked(); 37 void setLabel(int n); 38 38 WPushButton* getButton(); 39 39 WContainerWidget* getWidget(); -
Interface_Web/trunk/pspaWT/include/GWt_bend.h
r107 r113 15 15 class GWt_bend : public GWt_abstractElement 16 16 { 17 static int nObjets_;18 17 WLineEdit* angleEdit_; // deg. 19 18 WLineEdit* radiusEdit_; // m -
Interface_Web/trunk/pspaWT/include/GWt_cell.h
r107 r113 15 15 class GWt_cell : public GWt_abstractElement 16 16 { 17 static int nObjets_;18 17 WLineEdit* lenghtElemEdit_; // cm 19 18 WLineEdit* apertureEdit_; // cm -
Interface_Web/trunk/pspaWT/include/GWt_drift.h
r107 r113 15 15 class GWt_drift : public GWt_abstractElement 16 16 { 17 static int nObjets_;18 17 WLineEdit* xlengthEdit_; 19 18 WLineEdit* apertureEdit_; -
Interface_Web/trunk/pspaWT/include/GWt_initialBeam.h
r107 r113 16 16 class GWt_initialBeam : public GWt_abstractElement 17 17 { 18 static int nObjets_;19 18 WLineEdit* nmacropEdit_; 20 19 WLineEdit* sigma_tEdit_; // picoseconds -
Interface_Web/trunk/pspaWT/include/GWt_pspaApplication.h
r107 r113 2 2 #define PSPA_SEEN 3 3 4 //#include <string>5 4 #include <list> 6 5 … … 16 15 17 16 using namespace Wt; 18 //using namespace std;19 17 20 18 /* -
Interface_Web/trunk/pspaWT/include/GWt_soleno.h
r107 r113 15 15 class GWt_soleno : public GWt_abstractElement 16 16 { 17 static int nObjets_;18 17 WLineEdit* xlengthEdit_; 19 18 WLineEdit* apertureEdit_; -
Interface_Web/trunk/pspaWT/include/nomdElements.h
r107 r113 8 8 } nomdElement; 9 9 10 #define nElements 5 11 10 12 #endif
Note: See TracChangeset
for help on using the changeset viewer.