spinetoolbox.widgets.time_pattern_editor

An editor widget for editing a time pattern type (relationship) parameter values.

Module Contents

Classes

TimePatternEditor

A widget for editing time patterns.

class spinetoolbox.widgets.time_pattern_editor.TimePatternEditor(parent=None)[source]

Bases: PySide6.QtWidgets.QWidget

A widget for editing time patterns.

Parameters

parent (QWidget) – parent widget

_show_table_context_menu(position)[source]

Opens the table’s context menu.

Parameters

position (QPoint) – menu’s position on the table

set_value(value)[source]

Sets the parameter_value to be edited.

value()[source]

Returns the parameter_value currently being edited.

_open_header_editor(column)[source]