#include <PresetsModel.h>
Presets model class
- Author
- Thomas Kroes
◆ Column
Presets model columns
| Enumerator |
|---|
| Name | |
| Description | Name column Description column
|
◆ PresetsModel()
| hdps::util::PresetsModel::PresetsModel |
( |
QObject * |
parent = nullptr | ) |
|
Constructor
- Parameters
-
| parent | Pointer to parent object |
◆ columnCount()
| int hdps::util::PresetsModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
|
override |
Returns the the number of model columns
- Parameters
-
◆ data()
| QVariant hdps::util::PresetsModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
Returns model data for the given index
- Parameters
-
| index | Index |
| role | The data role |
◆ rowCount()
| int hdps::util::PresetsModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
|
override |
Returns the number of color maps in the model
- Parameters
-
◆ setWidgetAction()
Set widget action
- Parameters
-
| widgetAction | Pointer to widget action to retrieve the presets for |
The documentation for this class was generated from the following files:
- D:/Work/ManiVault/DevBundle/allmain/source/core/HDPS/src/util/PresetsModel.h
- D:/Work/ManiVault/DevBundle/allmain/source/core/HDPS/src/util/PresetsModel.cpp