spinetoolbox.widgets.time_pattern_editor

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

author
  1. Soininen (VTT)

date

28.6.2019

Module Contents

Classes

TimePatternEditor

A widget for editing time patterns.

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

Bases: PySide2.QtWidgets.QWidget

A widget for editing time patterns.

parent
Type

QWidget

_show_table_context_menu(self, position)[source]

Opens the table’s context menu.

Parameters

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

set_value(self, value)[source]

Sets the parameter_value to be edited.

value(self)[source]

Returns the parameter_value currently being edited.