sknrf.view.desktop.sequencer.menu module

class sknrf.view.desktop.sequencer.menu.SequencerFrame(device_model, datagroup_model, parent=None, model=None)

Bases: QFrame, Ui_sequencerFrame

setEnabled(enable)

Controls the enabled state of widgets when switching between setup and debug mode.

Args:

enable (bool): enable is True for setup mode and false for debug mode.

model()
set_model(model)

Sets the model.

Args:

model (SequencerModel): The model.

connect_signals()
disconnect_signals()
clear()

Clears all ActionItems in the Import List, Variable Table, Sequence Tree, and Preview Tab Frame.

selected_property_tab(_)

Updates the contents the Variable Table based on the tab selected.

breakpoints()

Gets the breakpoint list.

Return:

breakpoints (list): A list of breakpoint line numbers.

set_breakpoints(breakpoints)

Sets the breakpoint list.

Args:

breakpoints (list): A list of breakpoint line numbers.

active_breakpoint()

Gets the active breakpoint.

Return:

active_breakpoint (int): The active breakpoint line number.

set_active_breakpoint(active_breakpoint)

Sets the active breakpoint.

Return:

active_breakpoint (int): The active breakpoint line number.

generate_code()
debugger_finished()
update_variables()
update(frame=None, enabled=True, imports=False, variables=False, sequence=False, preview=False)

Updates the GUI.

The entire menu will update by default.

Keyword Args:

frame (frame): Contains the state of all local variables during debug mode. enabled (bool): Update only the Enable state if True. imports (bool): Update only the Import List if True. variables (bool): Update only the Variable Table if True. sequence (bool): Update only the Sequence Tree if True.

staticMetaObject = PySide6.QtCore.QMetaObject("SequencerFrame" inherits "QFrame": )
class sknrf.view.desktop.sequencer.menu.SequencerView(device_model, datagroup_model, package_map, parent=None, model=None, base_class=<class 'sknrf.model.base.AbstractModel'>)

Bases: AbstractView, QMainWindow, Ui_sequencerMenu

connect_signals()
disconnect_signals()
sequence_changed(first, last)
setEnabled(enable)

Controls the enabled state of widgets when switching between setup and debug mode.

Args:

enable (bool): enable is True for setup mode and false for debug mode.

model()
set_model(model)

Sets the model.

Args:

model (SequencerModel): The model.

clicked_new()
clicked_load()
clicked_save()
clicked_save_as()
clicked_store()
clicked_code()
clicked_compile()
single(checked=False)
pause(checked=False)
closeEvent(self, event: PySide6.QtGui.QCloseEvent) None
update(sideview=False, frame=None, enabled=False, imports=False, variables=False, sequence=False, preview=False)

Updates the GUI.

The entire menu will update by default.

Keyword Args:

frame (frame): Contains the state of all local variables during debug mode. enabled (bool): Update only the Enable state if True. imports (bool): Update only the Import List if True. variables (bool): Update only the Variable Table if True. sequence (bool): Update only the Sequence Tree if True.

debugger_finished()
staticMetaObject = PySide6.QtCore.QMetaObject("SequencerView" inherits "QMainWindow": Methods:   #40 type=Slot, signature=run(bool), parameters=bool   #41 type=Slot, signature=single(bool), parameters=bool   #42 type=Slot, signature=pause(bool), parameters=bool   #43 type=Slot, signature=stop(bool), parameters=bool )