ParaView
Signals | Public Member Functions | Properties | List of all members
pqColorAnnotationsPropertyWidget Class Reference

pqColorAnnotationsPropertyWidget is used to edit the Annotations property on the "PVLookupTable" proxy. More...

#include <pqColorAnnotationsPropertyWidget.h>

Inheritance diagram for pqColorAnnotationsPropertyWidget:
Inheritance graph
[legend]
Collaboration diagram for pqColorAnnotationsPropertyWidget:
Collaboration graph
[legend]

Signals

void annotationsChanged ()
 Fired when the annotations are changed. More...
 
void indexedColorsChanged ()
 Fired when the indexed colors are changed. More...
 
- Signals inherited from pqPropertyWidget
void viewChanged (pqView *view)
 This signal is emitted when the current view changes. More...
 
void changeAvailable ()
 This signal is fired as soon as the user starts editing in the widget. More...
 
void changeFinished ()
 This signal is fired as soon as the user is done with making an atomic change. More...
 
void restartRequired ()
 Indicates that a restart of the program is required for the setting to take effect. More...
 

Public Member Functions

 pqColorAnnotationsPropertyWidget (vtkSMProxy *proxy, vtkSMPropertyGroup *smgroup, QWidget *parent=0)
 
virtual ~pqColorAnnotationsPropertyWidget ()
 
QList< QVariant > annotations () const
 Get/Set the annotations. More...
 
void setAnnotations (const QList< QVariant > &)
 
QList< QVariant > indexedColors () const
 Get/Set the indexed colors. More...
 
void setIndexedColors (const QList< QVariant > &)
 
- Public Member Functions inherited from pqPropertyWidget
 pqPropertyWidget (vtkSMProxy *proxy, QWidget *parent=0)
 
virtual ~pqPropertyWidget ()
 
virtual void apply ()
 
virtual void reset ()
 
virtual void select ()
 These methods are called by pqPropertiesPanel when the panel for proxy becomes active/deactive. More...
 
virtual void deselect ()
 
bool isSelected () const
 
virtual void updateWidget (bool showing_advanced_properties)
 
pqViewview () const
 
vtkSMProxy * proxy () const
 
vtkSMProperty * property () const
 
virtual char * panelVisibility () const
 Forward calls to vtkSMProperty. More...
 
virtual void setPanelVisibility (const char *vis)
 
bool showLabel () const
 
const QList< QPointer< pqPropertyWidgetDecorator > > & decorators () const
 Provides access to the decorators for this widget. More...
 
void setProperty (vtkSMProperty *property)
 

Properties

QList< QVariant > annotations
 
QList< QVariant > indexedColors
 

Additional Inherited Members

- Public Slots inherited from pqPropertyWidget
virtual void setView (pqView *)
 called to set the active view. This will fire the viewChanged() signal. More...
 
- Static Public Member Functions inherited from pqPropertyWidget
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. May return an empty string. More...
 
- Protected Member Functions inherited from pqPropertyWidget
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...
 
pqPropertyLinkslinks ()
 Provides access to the pqPropertyLinks instance. More...
 

Detailed Description

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 44 of file pqColorAnnotationsPropertyWidget.h.

Constructor & Destructor Documentation

§ pqColorAnnotationsPropertyWidget()

pqColorAnnotationsPropertyWidget::pqColorAnnotationsPropertyWidget ( vtkSMProxy *  proxy,
vtkSMPropertyGroup *  smgroup,
QWidget *  parent = 0 
)

§ ~pqColorAnnotationsPropertyWidget()

virtual pqColorAnnotationsPropertyWidget::~pqColorAnnotationsPropertyWidget ( )
virtual

Member Function Documentation

§ annotations()

QList<QVariant> pqColorAnnotationsPropertyWidget::annotations ( ) const

Get/Set the annotations.

Annotations are returns as a QList<QVariant>. 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 > &  )

§ 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 > &  )

§ annotationsChanged

void pqColorAnnotationsPropertyWidget::annotationsChanged ( )
signal

Fired when the annotations are changed.

§ indexedColorsChanged

void pqColorAnnotationsPropertyWidget::indexedColorsChanged ( )
signal

Fired when the indexed colors are changed.

Property Documentation

§ annotations

QList<QVariant> pqColorAnnotationsPropertyWidget::annotations
readwrite

Definition at line 47 of file pqColorAnnotationsPropertyWidget.h.

§ indexedColors

QList<QVariant> pqColorAnnotationsPropertyWidget::indexedColors
readwrite

Definition at line 48 of file pqColorAnnotationsPropertyWidget.h.


The documentation for this class was generated from the following file: