Holds all columns information.
More...
#include <ListModel.h>
|
| void | clear () |
| | Clears all columns.
|
| |
| Item * | add () |
| | Adds a new column.
|
| |
| Item * | add (const QString &name, Qt::ItemFlags flags, Qt::Alignment alignment=Qt::AlignLeft) |
| | Adds a partially initialized new column.
|
| |
| const Item * | getItem (int index) const |
| | Gets an item in the column list.
|
| |
| int | count () const |
| | Gets the amount of columns.
|
| |
|
| | Columns (Private *prv) |
| | Constructor passing the list model only for the list model to access.
|
| |
Holds all columns information.
◆ Columns()
| sf::ListModel::Columns::Columns |
( |
Private * |
prv | ) |
|
|
explicitprotected |
Constructor passing the list model only for the list model to access.
◆ add() [1/2]
| Item * sf::ListModel::Columns::add |
( |
| ) |
|
Adds a new column.
- Returns
- Created column item entry.
◆ add() [2/2]
| Item * sf::ListModel::Columns::add |
( |
const QString & |
name, |
|
|
Qt::ItemFlags |
flags, |
|
|
Qt::Alignment |
alignment = Qt::AlignLeft |
|
) |
| |
Adds a partially initialized new column.
- Returns
- Created column item entry.
◆ clear()
| void sf::ListModel::Columns::clear |
( |
| ) |
|
◆ count()
| int sf::ListModel::Columns::count |
( |
| ) |
const |
Gets the amount of columns.
◆ getItem()
| const Item * sf::ListModel::Columns::getItem |
( |
int |
index | ) |
const |
Gets an item in the column list.
◆ Private
The documentation for this class was generated from the following file: