ParaView
|
This is a pqPropertyWidget subclass that presents a widget to edit the color of a representation and other related functionality. More...
#include <pqColorEditorPropertyWidget.h>
Public Types | |
typedef pqPropertyWidget | Superclass |
Public Member Functions | |
pqColorEditorPropertyWidget (vtkSMProxy *proxy, QWidget *parent=0) | |
~pqColorEditorPropertyWidget () | |
![]() | |
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) |
pqView * | view () 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) |
Additional Inherited Members | |
![]() | |
virtual void | setView (pqView *) |
called to set the active view. This will fire the viewChanged() signal. More... | |
![]() | |
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... | |
![]() | |
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... | |
![]() | |
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... | |
pqPropertyLinks & | links () |
Provides access to the pqPropertyLinks instance. More... | |
This is a pqPropertyWidget subclass that presents a widget to edit the color of a representation and other related functionality.
It's used as the "widget" for ColorEditor
property group.
Definition at line 41 of file pqColorEditorPropertyWidget.h.
Definition at line 45 of file pqColorEditorPropertyWidget.h.
pqColorEditorPropertyWidget::pqColorEditorPropertyWidget | ( | vtkSMProxy * | proxy, |
QWidget * | parent = 0 |
||
) |
pqColorEditorPropertyWidget::~pqColorEditorPropertyWidget | ( | ) |