(Qt) Data model for a TYPalette
More...
#include <TYPaletteWidget.h>
|
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| |
| QVariant | data (const QModelIndex &index, int role) const |
| |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| |
| void | deleteSelectedRows () |
| |
| void | addRow (float noiseLevel) |
| |
(Qt) Data model for a TYPalette
Definition at line 150 of file TYPaletteWidget.h.
◆ PaletteModel()
| PaletteModel::PaletteModel |
( |
TYPalette * |
p_palette, |
|
|
QObject * |
parent = NULL |
|
) |
| |
◆ ~PaletteModel()
| PaletteModel::~PaletteModel |
( |
| ) |
|
|
virtual |
◆ addRow
| void PaletteModel::addRow |
( |
float |
noiseLevel | ) |
|
|
slot |
◆ columnCount
| int PaletteModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
slot |
◆ data
| QVariant PaletteModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
slot |
◆ deleteSelectedRows
| void PaletteModel::deleteSelectedRows |
( |
| ) |
|
|
slot |
◆ flags
| Qt::ItemFlags PaletteModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
slot |
◆ getBoundsForValue()
| void PaletteModel::getBoundsForValue |
( |
unsigned |
i, |
|
|
float & |
inf, |
|
|
float & |
sup |
|
) |
| const |
◆ headerData
| QVariant PaletteModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
slot |
◆ isSpecialInfiniteCell()
| bool PaletteModel::isSpecialInfiniteCell |
( |
const QModelIndex & |
index | ) |
const |
|
inlineprotected |
◆ rowCount
| int PaletteModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
slot |
◆ setData
| bool PaletteModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
|
slot |
◆ checked_rows
| std::set<unsigned> PaletteModel::checked_rows |
|
protected |
◆ p_palette
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/gui/widgets/TYPaletteWidget.h
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/gui/widgets/TYPaletteWidget.cpp