pqColorAnnotationsPropertyWidget is used to edit the Annotations property on the "PVLookupTable" proxy.
More...
#include <pqColorAnnotationsPropertyWidget.h>
|
virtual void | setView (pqView *) |
| called to set the active view. More...
|
|
template<class T > |
static QString | getXMLName (T *object) |
| Description: This static utility method returns the XML name for an object as a QString. More...
|
|
static QString | getTooltip (vtkSMProperty *property) |
| Returns the tooltip to use for the property. More...
|
|
static int | hintsWidgetHeightNumberOfRows (vtkPVXMLElement *hints, int defaultValue=10) |
| Helper method to return value from WidgetHeight XML hint, if any. More...
|
|
static std::vector< std::string > | parseComponentLabels (vtkPVXMLElement *hints, unsigned int elemCount=0) |
| Parse a XML element as a list of label to use for this widget. More...
|
|
void | addPropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProperty *smproperty, int smindex=-1) |
|
void | addPropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProxy *smproxy, vtkSMProperty *smproperty, int smindex=-1) |
|
void | removePropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProperty *smproperty, int smindex=-1) |
|
void | removePropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProxy *smproxy, vtkSMProperty *smproperty, int smindex=-1) |
|
void | setShowLabel (bool show) |
|
void | setChangeAvailableAsChangeFinished (bool status) |
| For most pqPropertyWidget subclasses a changeAvailable() signal, corresponds to a changeFinished() signal. More...
|
|
void | addDecorator (pqPropertyWidgetDecorator *) |
| Register a decorator. More...
|
|
void | removeDecorator (pqPropertyWidgetDecorator *) |
| Unregisters a decorator. More...
|
|
pqPropertyLinks & | links () |
| Provides access to the pqPropertyLinks instance. More...
|
|
pqColorAnnotationsPropertyWidget is used to edit the Annotations property on the "PVLookupTable" proxy.
The property group can comprise of two properties, Annotations
and IndexedColors
.
Definition at line 18 of file pqColorAnnotationsPropertyWidget.h.
◆ pqColorAnnotationsPropertyWidget()
pqColorAnnotationsPropertyWidget::pqColorAnnotationsPropertyWidget |
( |
vtkSMProxy * |
proxy, |
|
|
vtkSMPropertyGroup * |
smgroup, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
◆ ~pqColorAnnotationsPropertyWidget()
pqColorAnnotationsPropertyWidget::~pqColorAnnotationsPropertyWidget |
( |
| ) |
|
|
override |
◆ annotations()
QList<QVariant> pqColorAnnotationsPropertyWidget::annotations |
( |
| ) |
const |
Get/Set the annotations.
This is a list generated by flattening 2-tuples where 1st value is the annotated value and second is the annotation text.
◆ setAnnotations()
void pqColorAnnotationsPropertyWidget::setAnnotations |
( |
const QList< QVariant > & |
| ) |
|
Get/Set the annotations.
This is a list generated by flattening 2-tuples where 1st value is the annotated value and second is the annotation text.
◆ indexedColors()
QList<QVariant> pqColorAnnotationsPropertyWidget::indexedColors |
( |
| ) |
const |
Get/Set the indexed colors.
This is a list generated by flattening 3-tuples (r,g,b).
◆ setIndexedColors()
void pqColorAnnotationsPropertyWidget::setIndexedColors |
( |
const QList< QVariant > & |
| ) |
|
Get/Set the indexed colors.
This is a list generated by flattening 3-tuples (r,g,b).
◆ indexedOpacities()
QList<QVariant> pqColorAnnotationsPropertyWidget::indexedOpacities |
( |
| ) |
const |
Get/Set the indexed opacities.
◆ setIndexedOpacities()
void pqColorAnnotationsPropertyWidget::setIndexedOpacities |
( |
const QList< QVariant > & |
| ) |
|
Get/Set the indexed opacities.
◆ opacityMapping()
QVariant pqColorAnnotationsPropertyWidget::opacityMapping |
( |
| ) |
const |
Get/Set the opacity mapping status.
◆ setOpacityMapping()
void pqColorAnnotationsPropertyWidget::setOpacityMapping |
( |
const QVariant & |
| ) |
|
Get/Set the opacity mapping status.
◆ annotationsChanged
void pqColorAnnotationsPropertyWidget::annotationsChanged |
( |
| ) |
|
|
signal |
Fired when the annotations are changed.
◆ indexedColorsChanged
void pqColorAnnotationsPropertyWidget::indexedColorsChanged |
( |
| ) |
|
|
signal |
Fired when the indexed colors are changed.
◆ indexedOpacitiesChanged
void pqColorAnnotationsPropertyWidget::indexedOpacitiesChanged |
( |
| ) |
|
|
signal |
Fired when the indexed opacities are changed.
◆ opacityMappingChanged
void pqColorAnnotationsPropertyWidget::opacityMappingChanged |
( |
| ) |
|
|
signal |
Fired when the opacity mapping is changed.
◆ annotations
QList<QVariant> pqColorAnnotationsPropertyWidget::annotations |
|
readwrite |
◆ indexedColors
QList<QVariant> pqColorAnnotationsPropertyWidget::indexedColors |
|
readwrite |
◆ indexedOpacities
QList<QVariant> pqColorAnnotationsPropertyWidget::indexedOpacities |
|
readwrite |
◆ opacityMapping
QVariant pqColorAnnotationsPropertyWidget::opacityMapping |
|
readwrite |
The documentation for this class was generated from the following file: