#include <ccAsprsModel.h>
◆ Column
| Enumerator |
|---|
| VISIBLE | |
| NAME | |
| CODE | |
| COLOR | |
| COUNT | |
| LAST | |
◆ ccAsprsModel()
| ccAsprsModel::ccAsprsModel |
( |
QObject * |
parent = nullptr | ) |
|
◆ codeChanged
| void ccAsprsModel::codeChanged |
( |
AsprsItem & |
item, |
|
|
int |
oldCode |
|
) |
| |
|
signal |
◆ colorChanged
| void ccAsprsModel::colorChanged |
( |
AsprsItem & |
item | ) |
|
|
signal |
◆ columnCount()
| int ccAsprsModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
◆ createNewItem()
| QModelIndex ccAsprsModel::createNewItem |
( |
| ) |
|
◆ data()
| QVariant ccAsprsModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
◆ find() [1/2]
◆ find() [2/2]
◆ flags()
| Qt::ItemFlags ccAsprsModel::flags |
( |
const QModelIndex & |
index | ) |
const |
◆ getData() [1/2]
◆ getData() [2/2]
| const QList<AsprsItem>& ccAsprsModel::getData |
( |
| ) |
const |
|
inline |
◆ headerData()
| QVariant ccAsprsModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
◆ indexOf()
| int ccAsprsModel::indexOf |
( |
QString |
name | ) |
const |
◆ load()
| void ccAsprsModel::load |
( |
| ) |
|
◆ refreshData()
| void ccAsprsModel::refreshData |
( |
| ) |
|
◆ removeRows
| bool ccAsprsModel::removeRows |
( |
int |
position, |
|
|
int |
rows, |
|
|
const QModelIndex & |
parent |
|
) |
| |
|
slot |
◆ rowCount()
| int ccAsprsModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
◆ save()
| void ccAsprsModel::save |
( |
| ) |
const |
◆ setData()
| bool ccAsprsModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
References CODE, ccAsprsModel::AsprsItem::code, codeChanged(), COLOR, ccAsprsModel::AsprsItem::color, colorChanged(), COUNT, ccAsprsModel::AsprsItem::count, NAME, ccAsprsModel::AsprsItem::name, name, VISIBLE, and ccAsprsModel::AsprsItem::visible.
The documentation for this class was generated from the following files: