Changeset 496 in PSPA for Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_machine.cc
- Timestamp:
- Mar 13, 2014, 9:46:55 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 }
Note: See TracChangeset
for help on using the changeset viewer.