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

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)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ pqApplyBehavior()

pqApplyBehavior::pqApplyBehavior ( QObject *  parent = 0)

◆ ~pqApplyBehavior()

pqApplyBehavior::~pqApplyBehavior ( )
override

Member Function Documentation

◆ registerPanel()

void pqApplyBehavior::registerPanel ( pqPropertiesPanel panel)

Register/unregister pqPropertiesPanel instances to monitor.

◆ unregisterPanel()

void pqApplyBehavior::unregisterPanel ( pqPropertiesPanel panel)

◆ applied [1/2]

virtual void pqApplyBehavior::applied ( pqPropertiesPanel ,
pqProxy  
)
protectedvirtualslot

◆ applied [2/2]

virtual void pqApplyBehavior::applied ( pqPropertiesPanel )
protectedvirtualslot

◆ showData()

virtual void pqApplyBehavior::showData ( pqPipelineSource source,
pqView view 
)
protectedvirtual

◆ hideInputIfRequired()

void pqApplyBehavior::hideInputIfRequired ( pqPipelineFilter filter,
pqView view 
)
protected

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