|  | 
| def | __init__ (self, parent) | 
|  | 
| def | set_activation_config (self, activation_config) | 
|  | 
| def | setModel (self, model) | 
|  | 
| def | rowCount (self) | 
|  | 
| def | columnCount (self) | 
|  | 
| def | currentRow (self) | 
|  | 
| def | currentColumn (self) | 
|  | 
| def | add_elements (self, count=1, at_position=None) | 
|  | 
| def | remove_elements (self, count=1, at_position=None) | 
|  | 
| def | clear (self) | 
|  | Removes all PulseBlockElements from the view/model and inserts a single afterwards.  More... 
 | 
|  | 
| def | get_block (self) | 
|  | Returns a (deep)copy of the PulseBlock instance serving as model for this editor.  More... 
 | 
|  | 
| def | load_block (self, pulse_block) | 
|  | Load an instance of PulseBlock into the model in order to view/edit it.  More... 
 | 
|  | 
◆ add_elements()
      
        
          | def pulse_editors.BlockEditor.add_elements | ( |  | self, | 
        
          |  |  |  | count = 1, | 
        
          |  |  |  | at_position = None | 
        
          |  | ) |  |  | 
      
 
- Parameters
- 
  
  
- Returns
- : bool, operation success 
 
 
◆ clear()
      
        
          | def pulse_editors.BlockEditor.clear | ( |  | self | ) |  | 
      
 
Removes all PulseBlockElements from the view/model and inserts a single afterwards. 
- Returns
- : bool, operation success 
 
 
◆ get_block()
      
        
          | def pulse_editors.BlockEditor.get_block | ( |  | self | ) |  | 
      
 
Returns a (deep)copy of the PulseBlock instance serving as model for this editor. 
- Returns
- : PulseBlock, an instance of PulseBlock 
 
 
◆ load_block()
      
        
          | def pulse_editors.BlockEditor.load_block | ( |  | self, | 
        
          |  |  |  | pulse_block | 
        
          |  | ) |  |  | 
      
 
Load an instance of PulseBlock into the model in order to view/edit it. 
- Parameters
- 
  
    | pulse_block | PulseBlock, the PulseBlock instance to load into the model/view |  
 
- Returns
- : bool, operation success 
 
 
◆ remove_elements()
      
        
          | def pulse_editors.BlockEditor.remove_elements | ( |  | self, | 
        
          |  |  |  | count = 1, | 
        
          |  |  |  | at_position = None | 
        
          |  | ) |  |  | 
      
 
- Parameters
- 
  
  
- Returns
- : bool, operation success 
 
 
◆ set_activation_config()
      
        
          | def pulse_editors.BlockEditor.set_activation_config | ( |  | self, | 
        
          |  |  |  | activation_config | 
        
          |  | ) |  |  | 
      
 
 
◆ setModel()
      
        
          | def pulse_editors.BlockEditor.setModel | ( |  | self, | 
        
          |  |  |  | model | 
        
          |  | ) |  |  | 
      
 
 
The documentation for this class was generated from the following file:
- gui/pulsed/pulse_editors.py