spinetoolbox.spine_db_editor.widgets.pivot_table_header_view

Contains custom QHeaderView for the pivot table.

author
  1. Marin (KTH)

date

2.12.2019

Module Contents

Classes

PivotTableHeaderView

class spinetoolbox.spine_db_editor.widgets.pivot_table_header_view.PivotTableHeaderView(orientation, area, pivot_table_view)[source]

Bases: PySide2.QtWidgets.QHeaderView

header_dropped[source]
property area(self)[source]
dragEnterEvent(self, event)[source]
dragMoveEvent(self, event)[source]
dropEvent(self, event)[source]
contextMenuEvent(self, event)[source]

Shows context menu.

Parameters

event (QContextMenuEvent) –

_add_column_to_plot(self, action)[source]

Adds a single column to existing plot window.

_plot_column(self)[source]

Plots a single column not the selection.

_set_x_flag(self)[source]

Sets the X flag for a column.