Ignore:
Timestamp:
Mar 13, 2014, 9:46:55 AM (10 years ago)
Author:
lemeur
Message:

deplacement bouton expand machine vers computing view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_machine.cc

    r495 r496  
    5151  actionParameters->setMinimumSize(32,32);
    5252 
     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);
    5364
    5465 
     
    7485}
    7586
     87void 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.