The UserCreatedPDU widget holds all the user created pdus for different scenarios.  
 More...
The UserCreatedPDU widget holds all the user created pdus for different scenarios. 
◆ activateScenario()
      
        
          | void UserCreatedPDU::activateScenario | ( | int |  | ) |  | 
      
 
Changes the scenario to the specified index. 
- Parameters
- 
  
    | index,the | index of the scenario of interest. |  
 
 
 
◆ addSimplePdu()
      
        
          | ADD_PDU_ERROR UserCreatedPDU::addSimplePdu | ( | QString | , | 
        
          |  |  | QString |  | 
        
          |  | ) |  |  | 
      
 
Adds a simple pdu to the simulation using only device names. 
- Parameters
- 
  
    | src,the | source device name |  | dst,the | destination device name |  
 
 
 
◆ colorPDU()
      
        
          | void UserCreatedPDU::colorPDU | ( | int |  | ) |  | 
      
 
Opens the color picker for the PDU at the specified index. 
- Parameters
- 
  
    | index,the | index of the PDU of interest. |  
 
 
 
◆ complexPduAdded()
IPC event. 
This event is emitted when a user successfully adds a Complex PDU to the network.
 
 
◆ deletePDU()
      
        
          | void UserCreatedPDU::deletePDU | ( | int |  | ) |  | 
      
 
Removes the PDU at the specified index. 
- Parameters
- 
  
    | index,the | index of the PDU of interest. |  
 
 
 
◆ deleteScenarioBtn_clicked()
      
        
          | void UserCreatedPDU::deleteScenarioBtn_clicked | ( |  | ) |  | 
      
 
Simulates clicking on the Delete scenario button. 
 
 
◆ editPDU()
      
        
          | void UserCreatedPDU::editPDU | ( | int |  | ) |  | 
      
 
Opens the edit pdu dialog for the pdu at the specified index. 
- Parameters
- 
  
    | int | index, the index of interest |  
 
 
 
◆ firePDU()
      
        
          | void UserCreatedPDU::firePDU | ( | int |  | ) |  | 
      
 
Sends out the PDU at the specified index. 
- Parameters
- 
  
    | index,the | index of the PDU of interest. |  
 
 
 
◆ newScenarioBtn_clicked()
      
        
          | void UserCreatedPDU::newScenarioBtn_clicked | ( |  | ) |  | 
      
 
Simulates clicking on the New scenario button. 
 
 
◆ scenarioInfoBtn_clicked()
      
        
          | void UserCreatedPDU::scenarioInfoBtn_clicked | ( |  | ) |  | 
      
 
 
◆ setDisabled()
      
        
          | void UserCreatedPDU::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. |  
 
 
 
◆ setScenarioDescription()
      
        
          | void UserCreatedPDU::setScenarioDescription | ( | string |  | ) |  | 
      
 
Sets the description for the current scenario. 
- Parameters
- 
  
    | description,the | description for the current scenario. |  
 
 
 
◆ setVisible()
      
        
          | void UserCreatedPDU::setVisible | ( | bool |  | ) |  | 
      
 
Shows or hides this widget from view. 
- Parameters
- 
  
    | bVisible,true | to show this widget, false to hide it. |  
 
 
 
◆ setWidgetDisable()
      
        
          | void UserCreatedPDU::setWidgetDisable | ( | string | , | 
        
          |  |  | bool |  | 
        
          |  | ) |  |  | 
      
 
Enables or disables the specified child widget. 
- Parameters
- 
  
    | widgetName,where | widgetName can be one of the following: NewScenarioBtn, DeleteScenarioBtn, OpenListWindowBtn, RemovePDUBtn. |  | bDisabled,true | to disable input events to this child widget, false to enable input events. |  
 
 
 
◆ setWidgetVisible()
      
        
          | void UserCreatedPDU::setWidgetVisible | ( | string | , | 
        
          |  |  | bool |  | 
        
          |  | ) |  |  | 
      
 
Shows or hides the specified child widget. 
- Parameters
- 
  
    | widgetName,where | widgetName can be one of the following: NewScenarioBtn, DeleteScenarioBtn, OpenListWindowBtn, RemovePDUBtn. |  | bVisible,true | to show this child widget, false to hide it. |  
 
 
 
◆ simplePduAdded()
This event is emitted when a user successfully adds a Simple PDU to the network. 
IPC event. 
 
 
◆ toggleOpenListWindowBtn()
      
        
          | void UserCreatedPDU::toggleOpenListWindowBtn | ( | bool |  | ) |  | 
      
 
Shows or hides the Toggle PDU List Window. 
- Parameters
- 
  
    | bEnable,true | to show the Toggle PDU List Window, false to hide it. |  
 
 
 
The documentation for this class was generated from the following file: