pqSpreadSheetViewWidget is a QTableView subclass that is used by pqSpreadSheetView as the widget showing the data.
More...
#include <pqSpreadSheetViewWidget.h>
Inherits QTableView.
pqSpreadSheetViewWidget is a QTableView subclass that is used by pqSpreadSheetView as the widget showing the data.
Although it's called a 'Widget' it's not a QTableWidget but a QTableView subclass. It works with a pqSpreadSheetViewModel to show raw data delivered by the vtkSMSpreadSheetRepresentationProxy.
pqSpreadSheetViewWidget uses an internal QItemDelegate subclass to handle determining of the active viewport as well as showing multi-component arrays. Users are advised not to change the item delegate on the view.
Definition at line 23 of file pqSpreadSheetViewWidget.h.
◆ pqSpreadSheetViewWidget()
pqSpreadSheetViewWidget::pqSpreadSheetViewWidget |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~pqSpreadSheetViewWidget()
pqSpreadSheetViewWidget::~pqSpreadSheetViewWidget |
( |
| ) |
|
|
override |
◆ setModel()
void pqSpreadSheetViewWidget::setModel |
( |
QAbstractItemModel * |
model | ) |
|
|
override |
◆ spreadSheetViewModel()
Returns the spread sheetview model for this view.
◆ onSortIndicatorChanged
void pqSpreadSheetViewWidget::onSortIndicatorChanged |
( |
int |
section, |
|
|
Qt::SortOrder |
order |
|
) |
| |
|
protectedslot |
called when a header section is clicked in order to be sorted.
It results in that column being sorted if possible.
◆ onHeaderDataChanged
void pqSpreadSheetViewWidget::onHeaderDataChanged |
( |
| ) |
|
|
protectedslot |
called when header data changes.
We ensure that internal columns stay hidden.
◆ paintEvent()
void pqSpreadSheetViewWidget::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
The documentation for this class was generated from the following file: