#include <WSColormapChoiceParameter.h>
|
covise::covise__ColormapChoiceParameter | parameter |
|
covise::WSColormapChoiceParameter::WSColormapChoiceParameter |
( |
const QString & |
name, |
|
|
const QString & |
description, |
|
|
const QList< WSColormap > & |
inValue = QList<WSColormap>() , |
|
|
int |
selected = 1 |
|
) |
| |
covise::WSColormapChoiceParameter::~WSColormapChoiceParameter |
( |
| ) |
|
|
virtual |
covise::WSColormapChoiceParameter::WSColormapChoiceParameter |
( |
| ) |
|
|
private |
int covise::WSColormapChoiceParameter::getComponentCount |
( |
| ) |
const |
|
virtualslot |
int covise::WSColormapChoiceParameter::getSelected |
( |
| ) |
const |
|
slot |
Get the selected colormap
const covise::covise__Parameter * covise::WSColormapChoiceParameter::getSerialisable |
( |
| ) |
|
|
virtual |
Get the list of colormaps
- Returns
- value
bool covise::WSColormapChoiceParameter::setSelected |
( |
int |
index | ) |
|
|
slot |
Set the selected colormap
- Parameters
-
index | The selected colormap |
- Returns
- true if the parameter was changed
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
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
bool covise::WSColormapChoiceParameter::setValue |
( |
int |
selected, |
|
|
bool |
changed |
|
) |
| |
|
private |
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.
QString covise::WSColormapChoiceParameter::toCoviseString |
( |
| ) |
const |
|
protectedvirtual |
QString covise::WSColormapChoiceParameter::toString |
( |
| ) |
const |
|
virtual |
Get the value as string
- Returns
- QString: string representation of the value
Implements covise::WSParameter.
covise::covise__ColormapChoiceParameter covise::WSColormapChoiceParameter::parameter |
|
private |
int covise::WSColormapChoiceParameter::selected |
|
readwrite |
The documentation for this class was generated from the following files: