#include <CListViewRows.h>
The list of CPackedStrings * used inside CListView as the list of rows.
◆ CListViewRows()
sptk::CListViewRows::CListViewRows |
( |
| ) |
|
◆ ~CListViewRows()
sptk::CListViewRows::~CListViewRows |
( |
| ) |
|
◆ add()
Adds the new row.
- Parameters
-
- Returns
- row index
◆ clear()
void sptk::CListViewRows::clear |
( |
| ) |
|
destroys all the rows and removes them from the list
◆ compare_dates()
The date data compare function
◆ compare_datetimes()
The date and time data compare function
◆ compare_floats()
The float data compare function
◆ compare_integers()
The integer data compare function
◆ compare_strings()
The string data compare function
◆ fullHeight()
int32_t sptk::CListViewRows::fullHeight |
( |
| ) |
const |
|
inline |
Returns summary height of all the rows
◆ indexOf()
Finds the row
- Parameters
-
- Returns
- the row index, or -1 if not found
◆ insert()
uint32_t sptk::CListViewRows::insert |
( |
uint32_t |
index, |
|
|
CPackedStrings * |
row |
|
) |
| |
Inserts the new row.
- Parameters
-
index | uint32_t, insert position |
row | CPackedStrings *, the new row pointer |
- Returns
- row index
◆ operator[]()
CPackedStrings * sptk::CListViewRows::operator[] |
( |
uint32_t |
index | ) |
const |
|
inline |
Row access by row index
- Parameters
-
- Returns
- row pointer, or 0L if index is out of range
◆ remove()
void sptk::CListViewRows::remove |
( |
uint32_t |
index | ) |
|
◆ size()
uint32_t sptk::CListViewRows::size |
( |
| ) |
const |
|
inline |
◆ sort()
void sptk::CListViewRows::sort |
( |
| ) |
|
◆ sortAscending() [1/2]
bool sptk::CListViewRows::sortAscending |
( |
| ) |
const |
|
inline |
◆ sortAscending() [2/2]
void sptk::CListViewRows::sortAscending |
( |
bool |
ascending, |
|
|
bool |
sortNow |
|
) |
| |
Sets the sort direction - ascending/descending
- Parameters
-
ascending | bool, sort direction - ascending/descending |
sortNow | bool, true if you want to sort immediatedly |
◆ sortColumn() [1/2]
int32_t sptk::CListViewRows::sortColumn |
( |
| ) |
const |
|
inline |
Returns the sort column number
◆ sortColumn() [2/2]
void sptk::CListViewRows::sortColumn |
( |
int |
column, |
|
|
VariantDataType |
ctype, |
|
|
bool |
sortNow |
|
) |
| |
Sets the sort column
- Parameters
-
column | int, sort column number (-1 means 'unsorted') |
ctype | VariantType, the sort column data type |
sortNow | bool, true if you want to sort immediatedly |
◆ truncate()
void sptk::CListViewRows::truncate |
( |
uint32_t |
count | ) |
|
Truncates a row list
- Parameters
-
count | uint32_t, the maximum list size |
◆ update()
uint32_t sptk::CListViewRows::update |
( |
uint32_t |
index, |
|
|
CPackedStrings * |
row |
|
) |
| |
Updates the row by replacing it with a new one.
- Parameters
-
- Returns
- row index
◆ currentSortColumn
int sptk::CListViewRows::currentSortColumn |
|
staticprotected |
The sort column number for the sort functions
The documentation for this class was generated from the following file: