Class CColumn represents a column descriptor for CListView.
More...
#include <CColumn.h>
Class CColumn represents a column descriptor for CListView.
◆ CColumn() [1/2]
Constructor.
- Parameters
-
cname | Column name |
type | Column data type |
cwidth | Column width, or -1 for auto-width |
cvisible | Column visibility |
◆ CColumn() [2/2]
sptk::CColumn::CColumn |
( |
const CColumn & |
col | ) |
|
|
default |
Copy constructor.
- Parameters
-
◆ autoWidth()
void sptk::CColumn::autoWidth |
( |
bool |
v | ) |
|
|
inline |
Sets column auto width flag.
- Parameters
-
◆ load()
void sptk::CColumn::load |
( |
const xdoc::SNode & |
node | ) |
|
Loads column information.
Loads information about column from the registry.
- Parameters
-
node | XML node to load column information from |
◆ save()
void sptk::CColumn::save |
( |
const xdoc::SNode & |
node | ) |
const |
Saves column information.
Saves information about column from the registry.
- Parameters
-
node | XML node to unload column information to |
◆ visible()
void sptk::CColumn::visible |
( |
bool |
v | ) |
|
|
inline |
Sets column visibility.
- Parameters
-
◆ width()
void sptk::CColumn::width |
( |
int16_t |
w | ) |
|
|
inline |
Sets column width in pixels.
- Parameters
-
The documentation for this class was generated from the following file: