Changeset 437 in PSPA for Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_elementBend.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_elementBend.cc
r436 r437 1 1 2 #include "GWt_ bend.h"2 #include "GWt_elementBend.h" 3 3 #include "mixedTools.h" 4 4 … … 9 9 #include <Wt/WPushButton> 10 10 11 GWt_ bend::GWt_bend(GWt_elementLigneFaisceau* elemLigne )11 GWt_elementBend::GWt_elementBend(GWt_elementLigneFaisceau* elemLigne ) 12 12 :GWt_abstractElement(new elementBend()) 13 13 { … … 16 16 } 17 17 18 void GWt_ bend::initilializeDialog()18 void GWt_elementBend::initilializeDialog() 19 19 { 20 20 string* param = beginDialog(); … … 52 52 WPushButton *submit= new WPushButton("OK",dialog_->contents()); 53 53 submit->clicked().connect(dialog_, &Wt::WDialog::accept); 54 dialog_->finished().connect(this, &GWt_ bend::dialogDone);54 dialog_->finished().connect(this, &GWt_elementBend::dialogDone); 55 55 } 56 56 57 void GWt_ bend::dialogDone(WDialog::DialogCode code)57 void GWt_elementBend::dialogDone(WDialog::DialogCode code) 58 58 { 59 59 if (code != Wt::WDialog::Accepted) return; … … 72 72 envoi[++compteur] = beta2Edit_->text().toUTF8(); 73 73 if ( compteur != (int)nbParam ) { 74 cerr << " GWt_ bend::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;74 cerr << " GWt_elementBend::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl; 75 75 return; 76 76 } … … 80 80 } 81 81 82 WImage* GWt_bend::getImage() {83 return image_;84 }85
Note: See TracChangeset
for help on using the changeset viewer.