Allows for filtering QgsComposerAttributeTable columns by columns which are sorted or unsorted.
More...
#include <qgscomposerattributetablemodelv2.h>
Protected Member Functions |
| bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const |
Detailed Description
Allows for filtering QgsComposerAttributeTable columns by columns which are sorted or unsorted.
Member Enumeration Documentation
Controls whether the proxy model shows sorted or unsorted columns
- Enumerator:
| ShowSortedColumns |
show only sorted columns
|
| ShowUnsortedColumns |
show only unsorted columns
|
Constructor & Destructor Documentation
| QgsComposerTableSortColumnsProxyModelV2::~QgsComposerTableSortColumnsProxyModelV2 |
( |
| ) |
|
|
virtual |
Member Function Documentation
| int QgsComposerTableSortColumnsProxyModelV2::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
| QgsComposerTableColumn * QgsComposerTableSortColumnsProxyModelV2::columnFromIndex |
( |
const QModelIndex & |
index | ) |
const |
| QgsComposerTableColumn * QgsComposerTableSortColumnsProxyModelV2::columnFromSourceIndex |
( |
const QModelIndex & |
sourceIndex | ) |
const |
| QVariant QgsComposerTableSortColumnsProxyModelV2::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
virtual |
| bool QgsComposerTableSortColumnsProxyModelV2::filterAcceptsRow |
( |
int |
source_row, |
|
|
const QModelIndex & |
source_parent |
|
) |
| const |
|
protected |
| Qt::ItemFlags QgsComposerTableSortColumnsProxyModelV2::flags |
( |
const QModelIndex & |
index | ) |
const |
| QVariant QgsComposerTableSortColumnsProxyModelV2::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
| bool QgsComposerTableSortColumnsProxyModelV2::lessThan |
( |
const QModelIndex & |
left, |
|
|
const QModelIndex & |
right |
|
) |
| const |
| void QgsComposerTableSortColumnsProxyModelV2::resetFilter |
( |
| ) |
|
Invalidates the current filter used by the proxy model.
- Note
- added in 2.3
| bool QgsComposerTableSortColumnsProxyModelV2::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: