spinetoolbox.widgets.indexed_value_table_context_menu

Offers a convenience function for time pattern and time series editor widgets.

author:
  1. Soininen (VTT)
date:

5.7.2019

Module Contents

Functions

handle_table_context_menu(click_pos, table_view, model, parent_widget) Shows a context menu for parameter_value tables and handles the selection.
_remove_rows(selected_rows, model) Packs consecutive rows into a single removeRows call.
spinetoolbox.widgets.indexed_value_table_context_menu.handle_table_context_menu(click_pos, table_view, model, parent_widget)[source]

Shows a context menu for parameter_value tables and handles the selection.

Parameters:
spinetoolbox.widgets.indexed_value_table_context_menu._remove_rows(selected_rows, model)[source]

Packs consecutive rows into a single removeRows call.