Public Member Functions | Static Public Member Functions | Protected Slots | List of all members
pqAnimationShortcutDecorator Class Reference

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>

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

Public Member Functions

 pqAnimationShortcutDecorator (pqPropertyWidget *parent)
 Constructor that modify the widget if conditions are met. More...
 
virtual ~pqAnimationShortcutDecorator ()
 
- Public Member Functions inherited from pqPropertyWidgetDecorator
 pqPropertyWidgetDecorator (vtkPVXMLElement *xml, pqPropertyWidget *parent)
 Constructor. More...
 
 ~pqPropertyWidgetDecorator () override
 
pqPropertyWidgetparentWidget () 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 pqPropertyWidgetDecoratorcreate (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
vtkPVXMLElementxml () const
 

Detailed Description

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 48 of file pqAnimationShortcutDecorator.h.

Constructor & Destructor Documentation

◆ pqAnimationShortcutDecorator()

pqAnimationShortcutDecorator::pqAnimationShortcutDecorator ( pqPropertyWidget parent)

Constructor that modify the widget if conditions are met.

◆ ~pqAnimationShortcutDecorator()

virtual pqAnimationShortcutDecorator::~pqAnimationShortcutDecorator ( )
virtual

Member Function Documentation

◆ accept()

static bool pqAnimationShortcutDecorator::accept ( pqPropertyWidget widget)
static

Return true if the widget is considered valid by this decorator.

◆ generalSettingsChanged

virtual void pqAnimationShortcutDecorator::generalSettingsChanged ( )
protectedvirtualslot

Called when general settings has changed to hide/show the widget if necessary.


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