The QFixedRowsFilterProxyModel class implements a proxy model supporting fixed (pinned) rows.
More...
#include <qfixedrowstableview.h>
The QFixedRowsFilterProxyModel class implements a proxy model supporting fixed (pinned) rows.
| QFixedRowsFilterProxyModel::QFixedRowsFilterProxyModel |
( |
QObject * |
parent = 0 | ) |
|
Constructs a fixed rows filter proxy model with the given parent.
| QFixedRowsFilterProxyModel::~QFixedRowsFilterProxyModel |
( |
| ) |
|
Destroys the fixed rows proxy model.
| void QFixedRowsFilterProxyModel::clear |
( |
| ) |
|
Clears the current selection of fixed rows.
| bool QFixedRowsFilterProxyModel::filterAcceptsRow |
( |
int |
source_row, |
|
|
const QModelIndex & |
source_parent |
|
) |
| const |
QSortFilterProxyModel::filterAcceptsRow()
| QVariant QFixedRowsFilterProxyModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
QSortFilterProxyModel::headerData()
| bool QFixedRowsFilterProxyModel::isEnabled |
( |
| ) |
const |
Returns true if the fixed rows mode is enabled. Otherwise false.
| bool QFixedRowsFilterProxyModel::isRowPinned |
( |
int |
row | ) |
const |
Returns true if the specified (source) model row is pinned (fixed).
| void QFixedRowsFilterProxyModel::setEnabled |
( |
bool |
on | ) |
|
|
slot |
If on is true fixed rows mode is enabled.
| void QFixedRowsFilterProxyModel::setRowFixed |
( |
const QModelIndex & |
index, |
|
|
bool |
fixed |
|
) |
| |
|
slot |
If fixed is true the row specified by the given index is added to the list of fixed rows.
| void QFixedRowsFilterProxyModel::sourceModelReset |
( |
| ) |
|
|
slot |
- Todo:
- should not be public
- Todo:
- slot sourceModelReset() should not be public
| void QFixedRowsFilterProxyModel::toggleRow |
( |
const QModelIndex & |
index | ) |
|
|
slot |
Toggles the state of the row specified by the given index.
The documentation for this class was generated from the following files: