#include <WSColormapChoiceParameter.h>
|
covise::covise__ColormapChoiceParameter | parameter |
|
◆ WSColormapChoiceParameter() [1/2]
covise::WSColormapChoiceParameter::WSColormapChoiceParameter |
( |
const QString & |
name, |
|
|
const QString & |
description, |
|
|
const QList< WSColormap > & |
inValue = QList<WSColormap>() , |
|
|
int |
selected = 1 |
|
) |
| |
◆ ~WSColormapChoiceParameter()
covise::WSColormapChoiceParameter::~WSColormapChoiceParameter |
( |
| ) |
|
|
virtual |
◆ WSColormapChoiceParameter() [2/2]
covise::WSColormapChoiceParameter::WSColormapChoiceParameter |
( |
| ) |
|
|
private |
◆ clone()
◆ getComponentCount
int covise::WSColormapChoiceParameter::getComponentCount |
( |
| ) |
const |
|
virtualslot |
◆ getSelected
int covise::WSColormapChoiceParameter::getSelected |
( |
| ) |
const |
|
slot |
◆ getSelectedValue
Get the selected colormap
◆ getSerialisable()
const covise::covise__Parameter * covise::WSColormapChoiceParameter::getSerialisable |
( |
| ) |
|
|
virtual |
◆ getValue
Get the list of colormaps
- Returns
- value
◆ setSelected
bool covise::WSColormapChoiceParameter::setSelected |
( |
int |
index | ) |
|
|
slot |
Set the selected colormap
- Parameters
-
index | The selected colormap |
- Returns
- true if the parameter was changed
◆ setValue [1/3]
bool covise::WSColormapChoiceParameter::setValue |
( |
const QList< WSColormap > & |
value, |
|
|
int |
selected = 1 |
|
) |
| |
|
slot |
Set the values and selected value of the parameter
- Parameters
-
value | A new list of colormaps |
selected | The currently selected colormap |
- Returns
- true if the parameter was changed
◆ setValue [2/3]
bool covise::WSColormapChoiceParameter::setValue |
( |
int |
selected | ) |
|
|
slot |
Set the selected value of the parameter
- Parameters
-
inValue | The new value of value |
- Returns
- true if the parameter was changed
◆ setValue() [3/3]
bool covise::WSColormapChoiceParameter::setValue |
( |
int |
selected, |
|
|
bool |
changed |
|
) |
| |
|
private |
◆ setValueFromSerialisable()
bool covise::WSColormapChoiceParameter::setValueFromSerialisable |
( |
const covise::covise__Parameter * |
serialisable | ) |
|
|
protectedvirtual |
Sets the value from a native WS parameter
- Returns
- true, if the parameter was changed, false if the parameter did not change.
Implements covise::WSParameter.
◆ toCoviseString()
QString covise::WSColormapChoiceParameter::toCoviseString |
( |
| ) |
const |
|
protectedvirtual |
◆ toString()
QString covise::WSColormapChoiceParameter::toString |
( |
| ) |
const |
|
virtual |
Get the value as string
- Returns
- QString: string representation of the value
Implements covise::WSParameter.
◆ parameter
covise::covise__ColormapChoiceParameter covise::WSColormapChoiceParameter::parameter |
|
private |
◆ prototype
◆ selected
int covise::WSColormapChoiceParameter::selected |
|
readwrite |
The documentation for this class was generated from the following files: