sknrf.model.sequencer.base module

class sknrf.model.sequencer.base.ActionItemDataType(value)

Bases: Enum

Data type of the python object stored inside the ActionItemDataRole.ObjectRole of an ActionItem.

Module = 0
Class = 1
Object = 2
Function = 3
Method = 4
class sknrf.model.sequencer.base.ActionItemDataRole(value)

Bases: Enum

Data role of data stored in an ActionItem.

DisplayRole = 0
UserRole = 256
IconRole = 33
ObjectRole = 34
TypeRole = 35
CodeRole = 36
ModuleRole = 37
class sknrf.model.sequencer.base.ActionItem(icon_filename='', text='', edit='', type_=ActionItemDataType.Module, py_object=None, py_code='', py_module=None)

Bases: QStandardItem

data(role=ItemDataRole.DisplayRole)

Returns the data stored in an Action Item that matches the provided role.

Parameters:
roleActionItemDataRole

The desired data stored inside the Action Item

setData(value, role=ItemDataRole.DisplayRole)

Sets the data stored in an Action Item that matches the provided role.

Parameters:
roleActionItemDataRole

The desired data stored inside the Action

class sknrf.model.sequencer.base.ActionItemModel(parent=None)

Bases: QStandardItemModel

supportedDropActions(*args, **kwargs)

Virtual method that defines the allowed Qt.DropActions.

flags(index)

Virtual method that defines the enabled Qt.ItemFlags.

mimeTypes()

Virtual method that defines the supported MIME data types.

mimeData(index)

Returns the MIME Data object of the desired model index.

Parameters:
indexQModelIndex

The desired model index.

staticMetaObject = PySide6.QtCore.QMetaObject("ActionItemModel" inherits "QStandardItemModel": )
class sknrf.model.sequencer.base.SequencerSideModel(model={})

Bases: AbstractModel

package_map()
staticMetaObject = PySide6.QtCore.QMetaObject("SequencerSideModel" inherits "AbstractModel": )
class sknrf.model.sequencer.base.SequencerModel

Bases: AbstractModel

import_model()
variable_model()
sequence_model()
staticMetaObject = PySide6.QtCore.QMetaObject("SequencerModel" inherits "AbstractModel": )
class sknrf.model.sequencer.base.AbstractSequencerRuntimeModel(locals_={})

Bases: RuntimeModel

connect_signals()
disconnect_signals()
initialize(model)
update(model=None, batch_index=-1)
close(model)
error_handler(message)
staticMetaObject = PySide6.QtCore.QMetaObject("AbstractSequencerRuntimeModel" inherits "RuntimeModel": Methods:   #10 type=Slot, signature=initialize(PyObject), parameters=PyObject   #11 type=Slot, signature=update(PyObject), parameters=PyObject   #12 type=Slot, signature=close(PyObject), parameters=PyObject )