A default decorator to add a pqAnimationShortcutWidget on property widgets from a vtkSMSourceProxy if it is not a vtkSMRepresentationProxy, and if the property is a vector property of a single elements that has a range or a scalar range defined and is animateable. More...
#include <pqAnimationShortcutDecorator.h>
Public Member Functions | |
pqAnimationShortcutDecorator (pqPropertyWidget *parent) | |
Constructor that modify the widget if conditions are met. More... | |
~pqAnimationShortcutDecorator () override | |
Public Member Functions inherited from pqPropertyWidgetDecorator | |
pqPropertyWidgetDecorator (vtkPVXMLElement *xml, pqPropertyWidget *parent) | |
Constructor. More... | |
~pqPropertyWidgetDecorator () override | |
pqPropertyWidget * | parentWidget () const |
Returns the pqPropertyWidget parent. More... | |
virtual bool | canShowWidget (bool show_advanced) const |
Override this method to override the visibility of the widget in the panel. More... | |
virtual bool | enableWidget () const |
Override this method to override the enable state of the widget in the panel. More... | |
Static Public Member Functions | |
static bool | accept (pqPropertyWidget *widget) |
Return true if the widget is considered valid by this decorator. More... | |
Static Public Member Functions inherited from pqPropertyWidgetDecorator | |
static pqPropertyWidgetDecorator * | create (vtkPVXMLElement *xml, pqPropertyWidget *parent) |
Creates a new decorator, given the xml config and the parent pqPropertyWidget for the decorator. More... | |
Protected Slots | |
virtual void | generalSettingsChanged () |
Called when general settings has changed to hide/show the widget if necessary. More... | |
Additional Inherited Members | |
Signals inherited from pqPropertyWidgetDecorator | |
void | visibilityChanged () |
This signal is fired whenever the decorator has determined that the panel may need a refresh since the state of the system has changed which would deem changes in the widget visibility or enable state. More... | |
void | enableStateChanged () |
Protected Member Functions inherited from pqPropertyWidgetDecorator | |
vtkPVXMLElement * | xml () const |
A default decorator to add a pqAnimationShortcutWidget on property widgets from a vtkSMSourceProxy if it is not a vtkSMRepresentationProxy, and if the property is a vector property of a single elements that has a range or a scalar range defined and is animateable.
Definition at line 20 of file pqAnimationShortcutDecorator.h.
pqAnimationShortcutDecorator::pqAnimationShortcutDecorator | ( | pqPropertyWidget * | parent | ) |
Constructor that modify the widget if conditions are met.
|
override |
|
static |
Return true if the widget is considered valid by this decorator.
|
protectedvirtualslot |
Called when general settings has changed to hide/show the widget if necessary.