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 49 of file pqSpreadSheetViewWidget.h.
§ pqSpreadSheetViewWidget()
pqSpreadSheetViewWidget::pqSpreadSheetViewWidget |
( |
QWidget * |
parent = 0 | ) |
|
§ ~pqSpreadSheetViewWidget()
virtual pqSpreadSheetViewWidget::~pqSpreadSheetViewWidget |
( |
| ) |
|
|
virtual |
§ setModel()
virtual void pqSpreadSheetViewWidget::setModel |
( |
QAbstractItemModel * |
model | ) |
|
|
virtual |
§ spreadSheetViewModel()
Returns the spread sheetview model for this view.
§ onSectionDoubleClicked
void pqSpreadSheetViewWidget::onSectionDoubleClicked |
( |
int |
| ) |
|
|
protectedslot |
called when a header section is double-clicked.
It results in that column being stretched over the full view for better viewing.
§ 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()
virtual void pqSpreadSheetViewWidget::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protectedvirtual |
§ SingleColumnMode
bool pqSpreadSheetViewWidget::SingleColumnMode |
|
protected |
The documentation for this class was generated from the following file: