#include <LabelEditorDlg.hpp>
|
| | LabelModel (std::vector< mgx::Colorf > *colors) |
| |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| |
| int | columnCount (const QModelIndex &=QModelIndex()) const |
| |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| |
| void | apply () |
| |
| void | reset () |
| |
| void | makeGray () |
| |
| void | makeRandom () |
| |
| void | setNbColors (int n) |
| |
| bool | insertRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| |
| bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| |
Definition at line 26 of file LabelEditorDlg.hpp.
◆ LabelModel()
| LabelModel::LabelModel |
( |
std::vector< mgx::Colorf > * |
colors | ) |
|
◆ apply()
| void LabelModel::apply |
( |
| ) |
|
◆ columnCount()
| int LabelModel::columnCount |
( |
const QModelIndex & |
= QModelIndex() | ) |
const |
|
inline |
◆ data()
| QVariant LabelModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
◆ flags()
| Qt::ItemFlags LabelModel::flags |
( |
const QModelIndex & |
index | ) |
const |
◆ insertRows()
| bool LabelModel::insertRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| |
◆ makeGray()
| void LabelModel::makeGray |
( |
| ) |
|
◆ makeRandom()
| void LabelModel::makeRandom |
( |
| ) |
|
◆ removeRows()
| bool LabelModel::removeRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| |
◆ reset()
| void LabelModel::reset |
( |
| ) |
|
◆ rowCount()
| int LabelModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
◆ setData()
| bool LabelModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
◆ setNbColors()
| void LabelModel::setNbColors |
( |
int |
n | ) |
|
◆ localCopy
◆ toChange
The documentation for this class was generated from the following file: