#include <ColorMapModel.h>
Color map model class
- Author
- Thomas Kroes
◆ Column
Color map model columns Defines the color map model columns
| Enumerator |
|---|
| Preview | |
| Name | Preview
|
| Image | Name column
|
| NoDimensions | Image column
|
| ResourcePath | Dimensionality
|
| Start | Resource path
|
| End | Column start
|
◆ ColorMapModel()
| hdps::util::ColorMapModel::ColorMapModel |
( |
QObject * |
parent = nullptr | ) |
|
|
protected |
◆ columnCount()
| int hdps::util::ColorMapModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
|
override |
Returns the the number of model columns
- Parameters
-
◆ data()
| QVariant hdps::util::ColorMapModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
Returns model data for the given index
- Parameters
-
| index | Index |
| role | The data role |
◆ getColorMap()
| const ColorMap * hdps::util::ColorMapModel::getColorMap |
( |
const int & |
row | ) |
const |
Returns a color map given a row index
- Parameters
-
◆ getGlobalInstance()
◆ rowCount()
| int hdps::util::ColorMapModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
|
override |
Returns the number of color maps in the model
- Parameters
-
◆ setupModelData()
| void hdps::util::ColorMapModel::setupModelData |
( |
| ) |
|
Setups the model data (e.g. loads color maps from resources)
◆ globalInstance
Color maps data Globally available color map model instance
The documentation for this class was generated from the following files: