pqApplyBehavior collects the logic that needs to happen after the user hits "Apply" on the pqPropertiesPanel. More...
#include <pqApplyBehavior.h>
Inherits QObject.
Public Member Functions | |
pqApplyBehavior (QObject *parent=0) | |
~pqApplyBehavior () override | |
void | registerPanel (pqPropertiesPanel *panel) |
Register/unregister pqPropertiesPanel instances to monitor. More... | |
void | unregisterPanel (pqPropertiesPanel *panel) |
Protected Slots | |
virtual void | applied (pqPropertiesPanel *, pqProxy *) |
virtual void | applied (pqPropertiesPanel *) |
Protected Member Functions | |
virtual void | showData (pqPipelineSource *source, pqView *view) |
void | hideInputIfRequired (pqPipelineFilter *filter, pqView *view) |
pqApplyBehavior collects the logic that needs to happen after the user hits "Apply" on the pqPropertiesPanel.
Since "Apply" is an important concept in ParaView application, it gets its own behavior so applications can customize it, if needed.
For pqApplyBehavior to work, one needs to manually register pqPropertiesPanel instance(s). pqParaViewBehaviors does that automatically for pqPropertiesPanel instances available during the startup.
Definition at line 56 of file pqApplyBehavior.h.
pqApplyBehavior::pqApplyBehavior | ( | QObject * | parent = 0 | ) |
|
override |
void pqApplyBehavior::registerPanel | ( | pqPropertiesPanel * | panel | ) |
Register/unregister pqPropertiesPanel instances to monitor.
void pqApplyBehavior::unregisterPanel | ( | pqPropertiesPanel * | panel | ) |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
|
protected |