|
def | __init__ (self, parent) |
|
def | set_available_pulse_blocks (self, blocks) |
|
def | set_rotating_frame (self, rotating_frame=True) |
|
def | rowCount (self) |
|
def | columnCount (self) |
|
def | currentRow (self) |
|
def | currentColumn (self) |
|
def | add_blocks (self, count=1, at_position=None) |
|
def | remove_blocks (self, count=1, at_position=None) |
|
def | clear (self) |
| Removes all PulseBlocks from the view/model and inserts a single one afterwards. More...
|
|
def | get_ensemble (self) |
| Returns a (deep)copy of the PulseBlockEnsemble instance serving as model for this editor. More...
|
|
def | load_ensemble (self, block_ensemble) |
| Load an instance of PulseBlockEnsemble into the model in order to view/edit it. More...
|
|
◆ add_blocks()
def pulse_editors.EnsembleEditor.add_blocks |
( |
|
self, |
|
|
|
count = 1 , |
|
|
|
at_position = None |
|
) |
| |
- Parameters
-
- Returns
- : bool, operation success
◆ clear()
def pulse_editors.EnsembleEditor.clear |
( |
|
self | ) |
|
Removes all PulseBlocks from the view/model and inserts a single one afterwards.
- Returns
- : bool, operation success
◆ get_ensemble()
def pulse_editors.EnsembleEditor.get_ensemble |
( |
|
self | ) |
|
Returns a (deep)copy of the PulseBlockEnsemble instance serving as model for this editor.
- Returns
- : PulseBlockEnsemble, an instance of PulseBlockEnsemble
◆ load_ensemble()
def pulse_editors.EnsembleEditor.load_ensemble |
( |
|
self, |
|
|
|
block_ensemble |
|
) |
| |
Load an instance of PulseBlockEnsemble into the model in order to view/edit it.
- Parameters
-
block_ensemble | PulseBlockEnsemble, the PulseBlockEnsemble instance to load into the model/view |
- Returns
- : bool, operation success
◆ remove_blocks()
def pulse_editors.EnsembleEditor.remove_blocks |
( |
|
self, |
|
|
|
count = 1 , |
|
|
|
at_position = None |
|
) |
| |
- Parameters
-
- Returns
- : bool, operation success
◆ set_available_pulse_blocks()
def pulse_editors.EnsembleEditor.set_available_pulse_blocks |
( |
|
self, |
|
|
|
blocks |
|
) |
| |
- Parameters
-
- Returns
- : int, error code (>=0: OK, <0: ERR)
◆ set_rotating_frame()
def pulse_editors.EnsembleEditor.set_rotating_frame |
( |
|
self, |
|
|
|
rotating_frame = True |
|
) |
| |
The documentation for this class was generated from the following file:
- gui/pulsed/pulse_editors.py