Changeset 496 in PSPA for Interface_Web/trunk/pspaWT/sources/userInterface/src
- Timestamp:
- Mar 13, 2014, 9:46:55 AM (10 years ago)
- Location:
- Interface_Web/trunk/pspaWT/sources/userInterface/src
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_accelerator.cc
r495 r496 61 61 62 62 63 // expand machine64 WPushButton* expandMachine = new WPushButton("init/expand machine",menu);65 // set tooltips66 expandMachine->setToolTip("expand the machine");67 // Set class for actions elements68 expandMachine->setStyleClass("Button WhiteButton expand");69 expandMachine->setMaximumSize(128,32);70 expandMachine->setMinimumSize(128,32);71 72 // action73 expandMachine->clicked().connect(this,&GWt_accelerator::expandMachine);63 // // expand machine 64 // WPushButton* expandMachine = new WPushButton("init/expand machine",menu); 65 // // set tooltips 66 // expandMachine->setToolTip("expand the machine"); 67 // // Set class for actions elements 68 // expandMachine->setStyleClass("Button WhiteButton expand"); 69 // expandMachine->setMaximumSize(128,32); 70 // expandMachine->setMinimumSize(128,32); 71 72 // // action 73 // expandMachine->clicked().connect(this,&GWt_accelerator::expandMachine); 74 74 75 75 … … 151 151 } 152 152 153 void GWt_accelerator::expandMachine() {154 cout << " coucou depuis GWt_accelerator::expandMachine() " << endl;155 if (getDataManager()->expandMachine()) new GWt_machine(this, dataManager_->getCurrentMachine());156 }153 // void GWt_accelerator::expandMachine() { 154 // cout << " coucou depuis GWt_accelerator::expandMachine() " << endl; 155 // if (getDataManager()->expandMachine()) new GWt_machine(this, dataManager_->getCurrentMachine()); 156 // } 157 157 158 158 void GWt_accelerator::run() -
Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_machine.cc
r495 r496 51 51 actionParameters->setMinimumSize(32,32); 52 52 53 // expand machine 54 WPushButton* expandMachine = new WPushButton("init/expand machine",menu); 55 // set tooltips 56 expandMachine->setToolTip("expand the machine"); 57 // Set class for actions elements 58 expandMachine->setStyleClass("Button WhiteButton expand"); 59 expandMachine->setMaximumSize(128,32); 60 expandMachine->setMinimumSize(128,32); 61 62 // action 63 expandMachine->clicked().connect(this,&GWt_machine::expandMachine); 53 64 54 65 … … 74 85 } 75 86 87 void GWt_machine::expandMachine() { 88 if (getAccelerator()->getDataManager()->expandMachine()) new GWt_machine(getAccelerator(), getAccelerator()->getDataManager()->getCurrentMachine()); 89 } -
Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_softwarePanel.cc
r495 r496 18 18 #include "GWt_computingBlock.h" 19 19 #include "GWt_globalParameters.h" 20 #include "GWt_sectionToExecute.h"21 20 #include "GWt_pspaApplication.h" 22 21 #include "GWt_machine.h"
Note: See TracChangeset
for help on using the changeset viewer.