Helper class for sorting tables, takes into account sorting column and ascending / descending.
More...
#include <qgscomposerattributetable.h>
Detailed Description
Helper class for sorting tables, takes into account sorting column and ascending / descending.
Constructor & Destructor Documentation
| QgsComposerAttributeTableCompare::QgsComposerAttributeTableCompare |
( |
| ) |
|
Member Function Documentation
| void QgsComposerAttributeTableCompare::setAscending |
( |
bool |
asc | ) |
|
|
inline |
Sets sort order for column sorting.
- Parameters
-
| asc | set to true to sort in ascending order, false to sort in descending order |
| void QgsComposerAttributeTableCompare::setSortColumn |
( |
int |
col | ) |
|
|
inline |
Sets column number to sort by.
- Parameters
-
| col | column number for sorting |
The documentation for this class was generated from the following files: