Qudi
Public Member Functions | List of all members
pulse_editors.BlockEditor Class Reference
Inheritance diagram for pulse_editors.BlockEditor:
Inheritance graph
[legend]
Collaboration diagram for pulse_editors.BlockEditor:
Collaboration graph
[legend]

Public Member Functions

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...
 

Member Function Documentation

◆ add_elements()

def pulse_editors.BlockEditor.add_elements (   self,
  count = 1,
  at_position = None 
)
Parameters
count
at_position
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_blockPulseBlock, 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
count
at_position
Returns
: bool, operation success

◆ set_activation_config()

def pulse_editors.BlockEditor.set_activation_config (   self,
  activation_config 
)
Parameters
activation_config
Returns
:

◆ setModel()

def pulse_editors.BlockEditor.setModel (   self,
  model 
)
Parameters
model
Returns
:

The documentation for this class was generated from the following file: