QGIS API Documentation
2.0.1-Dufour
|
Helper class for sorting, takes into account sorting column and ascending / descending. More...
#include <qgscomposerattributetable.h>
Public Member Functions | |
QgsComposerAttributeTableCompare () | |
bool | operator() (const QgsAttributeMap &m1, const QgsAttributeMap &m2) |
void | setSortColumn (int col) |
void | setAscending (bool asc) |
Private Attributes | |
int | mCurrentSortColumn |
bool | mAscending |
Helper class for sorting, takes into account sorting column and ascending / descending.
Definition at line 27 of file qgscomposerattributetable.h.
QgsComposerAttributeTableCompare::QgsComposerAttributeTableCompare | ( | ) |
Definition at line 23 of file qgscomposerattributetable.cpp.
bool QgsComposerAttributeTableCompare::operator() | ( | const QgsAttributeMap & | m1, |
const QgsAttributeMap & | m2 | ||
) |
Definition at line 29 of file qgscomposerattributetable.cpp.
References mAscending, and mCurrentSortColumn.
|
inline |
Definition at line 33 of file qgscomposerattributetable.h.
Referenced by QgsComposerAttributeTable::getFeatureAttributes().
|
inline |
Definition at line 32 of file qgscomposerattributetable.h.
Referenced by QgsComposerAttributeTable::getFeatureAttributes().
|
private |
Definition at line 36 of file qgscomposerattributetable.h.
Referenced by operator()().
|
private |
Definition at line 35 of file qgscomposerattributetable.h.
Referenced by operator()().