spinetoolbox.widgets.time_series_fixed_resolution_editor
Contains logic for the fixed step time series editor widget.
Module Contents
Classes
A widget for editing time series data with a fixed time step. |
Functions
|
Converts a list of durations into a string of comma-separated durations. |
|
Converts a comma-separated string of durations into a resolution array. |
- spinetoolbox.widgets.time_series_fixed_resolution_editor._resolution_to_text(resolution)[source]
Converts a list of durations into a string of comma-separated durations.
- spinetoolbox.widgets.time_series_fixed_resolution_editor._text_to_resolution(text)[source]
Converts a comma-separated string of durations into a resolution array.
- class spinetoolbox.widgets.time_series_fixed_resolution_editor.TimeSeriesFixedResolutionEditor(parent=None)[source]
Bases:
PySide6.QtWidgets.QWidget
A widget for editing time series data with a fixed time step.
- Parameters
parent (QWidget) – a parent widget
Shows the table’s context menu.
- Parameters
position (QPoint) – menu’s position in table view’s coordinates