Changeset 437 in PSPA for Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_elementCell.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_elementCell.cc
r436 r437 1 1 2 #include "GWt_ cell.h"2 #include "GWt_elementCell.h" 3 3 #include "mixedTools.h" 4 4 … … 10 10 #include <Wt/WPanel> 11 11 12 GWt_ cell::GWt_cell(GWt_elementLigneFaisceau* elemLigne)12 GWt_elementCell::GWt_elementCell(GWt_elementLigneFaisceau* elemLigne) 13 13 :GWt_abstractElement(new elementCell()) 14 14 { … … 17 17 } 18 18 19 void GWt_ cell::initilializeDialog()19 void GWt_elementCell::initilializeDialog() 20 20 { 21 21 string* param = beginDialog(); … … 74 74 WPushButton *submit= new WPushButton("OK",dialog_->contents()); 75 75 submit->clicked().connect(dialog_, &Wt::WDialog::accept); 76 dialog_->finished().connect(this, &GWt_ cell::dialogDone);76 dialog_->finished().connect(this, &GWt_elementCell::dialogDone); 77 77 } 78 78 79 void GWt_ cell::dialogDone(WDialog::DialogCode code)79 void GWt_elementCell::dialogDone(WDialog::DialogCode code) 80 80 { 81 81 if (code != Wt::WDialog::Accepted) return; … … 97 97 envoi[++compteur] = scaleFactorEdit_->text().toUTF8(); 98 98 if ( compteur != (int)nbParam ) { 99 cerr << " GWt_ cell::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;99 cerr << " GWt_elementCell::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl; 100 100 return; 101 101 } … … 104 104 delete [] envoi; 105 105 } 106 107 WImage* GWt_cell::getImage() {108 return image_;109 }
Note: See TracChangeset
for help on using the changeset viewer.