PLSwitch allows for UI manipulation of the Physical and Logical workspace toggle switches.  
 More...
PLSwitch allows for UI manipulation of the Physical and Logical workspace toggle switches. 
◆ modeSwitched()
      
        
          | void PLSwitch::modeSwitched | ( | bool |  | ) |  | 
      
 
This event is emitted when the workspace is changed to either Logical or Physical. 
- isLogical, true if the new workspace is Logical, false if the new workspace is Physical.
IPC event. 
 
 
◆ setDisabled()
      
        
          | void PLSwitch::setDisabled | ( | bool |  | ) |  | 
      
 
Enables or disables input events to this widget. 
- Parameters
- 
  
    | bDisabled,true | to disable input events to this widget, false to enable input events. |  
 
 
 
◆ setVisible()
      
        
          | void PLSwitch::setVisible | ( | bool |  | ) |  | 
      
 
Shows or hides this widget from view. 
- Parameters
- 
  
    | bVisible,true | to show this widget, false to hide it. |  
 
 
 
◆ setWidgetDisable()
      
        
          | void PLSwitch::setWidgetDisable | ( | string | , | 
        
          |  |  | bool |  | 
        
          |  | ) |  |  | 
      
 
Enables or disables the specified child widget. 
- Parameters
- 
  
    | widgetName,where | widgetName can be one of the following: LogicalBtn, PhysicalBtn. |  | bDisabled,true | to disable input events to this child widget, false to enable input events. |  
 
 
 
◆ setWidgetVisible()
      
        
          | void PLSwitch::setWidgetVisible | ( | string | , | 
        
          |  |  | bool |  | 
        
          |  | ) |  |  | 
      
 
Shows or hides the specified child widget. 
- Parameters
- 
  
    | widgetName,where | widgetName can be one of the following: LogicalBtn, PhysicalBtn. |  | bVisible,true | to show this child widget, false to hide it. |  
 
 
 
◆ showLogicalMode()
      
        
          | void PLSwitch::showLogicalMode | ( |  | ) |  | 
      
 
Shows the Logical workspace. 
 
 
◆ showPhysicalMode()
      
        
          | void PLSwitch::showPhysicalMode | ( |  | ) |  | 
      
 
Shows the Physical workspace. 
 
 
The documentation for this class was generated from the following file: