spinetoolbox.widgets.pivot_table_view

Custom QTableView classes that support copy-paste and the like.

author:
  1. Marin (KTH)
date:

18.5.2018

Module Contents

class spinetoolbox.widgets.pivot_table_view.PivotTableView(parent=None)[source]

Bases: PySide2.QtWidgets.QTableView

Custom QTableView class with pivot capabilities.

parent

The parent of this view

Type:QWidget

Initialize the class.

clipboard_data_changed(self)[source]
keyPressEvent(self, event)[source]

Copy and paste to and from clipboard in Excel-like format.