Changeset 437 in PSPA for Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_elementRfgun.cc
- Timestamp:
- Dec 6, 2013, 4:45:25 PM (11 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_elementRfgun.cc
r436 r437 1 #include "GWt_ rfgun.h"1 #include "GWt_elementRfgun.h" 2 2 #include "mixedTools.h" 3 3 … … 8 8 #include <Wt/WPushButton> 9 9 10 GWt_ rfgun::GWt_rfgun(GWt_elementLigneFaisceau* elemLigne)10 GWt_elementRfgun::GWt_elementRfgun(GWt_elementLigneFaisceau* elemLigne) 11 11 :GWt_abstractElement(new elementRfgun()) 12 12 { … … 15 15 } 16 16 17 void GWt_ rfgun::initilializeDialog()17 void GWt_elementRfgun::initilializeDialog() 18 18 { 19 19 string* param = beginDialog(); … … 53 53 WPushButton *submit= new WPushButton("OK",dialog_->contents()); 54 54 submit->clicked().connect(dialog_, &Wt::WDialog::accept); 55 dialog_->finished().connect(this, &GWt_ rfgun::dialogDone);55 dialog_->finished().connect(this, &GWt_elementRfgun::dialogDone); 56 56 } 57 57 58 void GWt_ rfgun::dialogDone(WDialog::DialogCode code)58 void GWt_elementRfgun::dialogDone(WDialog::DialogCode code) 59 59 { 60 60 if (code != Wt::WDialog::Accepted) return; … … 75 75 envoi[++compteur] = totalChargeEdit_->text().toUTF8(); 76 76 if ( compteur != (int)nbParam ) { 77 cerr << " GWt_ rfgun::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;77 cerr << " GWt_elementRfgun::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl; 78 78 return; 79 79 } … … 82 82 delete [] envoi; 83 83 } 84 85 WImage* GWt_rfgun::getImage() {86 return image_;87 }
Note: See TracChangeset
for help on using the changeset viewer.