pqApplyBehavior collects the logic that needs to happen after the user hits "Apply" on the pqPropertiesPanel. More...
#include <pqApplyBehavior.h>
Inherits QObject.
Signals | |
void | triggerApply () |
Public Member Functions | |
pqApplyBehavior (QObject *parent=nullptr) | |
~pqApplyBehavior () override | |
void | registerPanel (pqPropertiesPanel *panel) |
Register/unregister pqPropertiesPanel instances to monitor. More... | |
void | unregisterPanel (pqPropertiesPanel *panel) |
Register/unregister pqPropertiesPanel instances to monitor. More... | |
Static Public Member Functions | |
static void | hideInputIfRequired (pqPipelineFilter *filter, pqView *view) |
Protected Slots | |
virtual void | applied (pqPropertiesPanel *panel, pqProxy *proxy) |
virtual void | applied (pqPropertiesPanel *panel=nullptr) |
Protected Member Functions | |
virtual void | showData (pqPipelineSource *source, 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.
pqApplyBehavior can work with or without registered pqPropertiesPanel. One could still manually register any pqPropertiesPanel instance(s). pqParaViewBehaviors does that automatically for pqPropertiesPanel instances available during the startup.
This behavior is also responsible for managing the AutoApply mechanism with is controllable using vtkPVGeneralSettings
Definition at line 32 of file pqApplyBehavior.h.
pqApplyBehavior::pqApplyBehavior | ( | QObject * | parent = nullptr | ) |
|
override |
void pqApplyBehavior::registerPanel | ( | pqPropertiesPanel * | panel | ) |
Register/unregister pqPropertiesPanel instances to monitor.
void pqApplyBehavior::unregisterPanel | ( | pqPropertiesPanel * | panel | ) |
Register/unregister pqPropertiesPanel instances to monitor.
|
static |
|
signal |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |