spinetoolbox.widgets.time_series_variable_resolution_editor

Contains logic for the variable resolution time series editor widget.

author
  1. Soininen (VTT)

date

31.5.2019

Module Contents

Classes

TimeSeriesVariableResolutionEditor

A widget for editing variable resolution time series data.

class spinetoolbox.widgets.time_series_variable_resolution_editor.TimeSeriesVariableResolutionEditor(parent=None)[source]

Bases: PySide2.QtWidgets.QWidget

A widget for editing variable resolution time series data.

Parameters

parent (QWidget) – a parent widget

_show_table_context_menu(self, position)[source]

Shows the table’s context menu.

Parameters

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

set_value(self, value)[source]

Sets the time series being edited.

_update_plot(self, topLeft=None, bottomRight=None, roles=None)[source]

Updates the plot widget.

value(self)[source]

Return the time series currently being edited.