ParaView
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions
pqProxyPanel Class Reference

Base class for Widget which provides an editor for editing properties of a proxy. More...

#include <pqProxyPanel.h>

Inheritance diagram for pqProxyPanel:
Inheritance graph
[legend]

List of all members.

Public Slots

virtual void accept ()
 accept the changes made to the properties changes will be propogated down to the server manager subclasses should only change properties when accept is called to work properly with undo/redo
virtual void reset ()
 reset the changes made editor will query properties from the server manager
virtual void select ()
 Called when the panel becomes active.
virtual void deselect ()
 Called when the panel becomes inactive.
virtual void setView (pqView *)
 Set the view that this panel works with.
virtual void setModified ()
 Fires modified.

Signals

void modified ()
void onaccept ()
void onreset ()
void onselect ()
void ondeselect ()
void viewChanged (pqView *)

Public Member Functions

 pqProxyPanel (vtkSMProxy *proxy, QWidget *p)
 constructor
 ~pqProxyPanel ()
 destructor
vtkSMProxyproxy () const
 get the proxy for which properties are displayed
pqViewview () const
 get the view that this object panel works with.
QSize sizeHint () const
 size hint for this widget
pqPropertyManagerpropertyManager ()
 property manager belongs to this panel
bool selected () const
 returns whether selected

Protected Slots

virtual void updateInformationAndDomains ()
 This method gets called to referesh all domains and information properties.
void dataUpdated ()
 Called after the algorithm executes.

Protected Member Functions

bool event (QEvent *e)

Detailed Description

Base class for Widget which provides an editor for editing properties of a proxy.

Definition at line 48 of file pqProxyPanel.h.


Constructor & Destructor Documentation

pqProxyPanel::pqProxyPanel ( vtkSMProxy proxy,
QWidget *  p 
)

constructor

pqProxyPanel::~pqProxyPanel ( )

destructor


Member Function Documentation

vtkSMProxy* pqProxyPanel::proxy ( ) const

get the proxy for which properties are displayed

pqView* pqProxyPanel::view ( ) const

get the view that this object panel works with.

QSize pqProxyPanel::sizeHint ( ) const

size hint for this widget

pqPropertyManager* pqProxyPanel::propertyManager ( )

property manager belongs to this panel

bool pqProxyPanel::selected ( ) const

returns whether selected

virtual void pqProxyPanel::accept ( ) [virtual, slot]

accept the changes made to the properties changes will be propogated down to the server manager subclasses should only change properties when accept is called to work properly with undo/redo

Reimplemented in pq3DWidget, pqObjectPanel, pqImplicitPlaneWidget, pqSelectThroughPanel, pqBoxWidget, pqXDMFPanel, pqSphereWidget, pqYoungsMaterialInterfacePanel, pqParticleTracerPanel, pqStreamTracerPanel, pqCalculatorPanel, and pqCalculatorSummaryPanel.

virtual void pqProxyPanel::reset ( ) [virtual, slot]

reset the changes made editor will query properties from the server manager

Reimplemented in pq3DWidget, pqContourWidget, pqObjectPanel, pqImplicitPlaneWidget, pqBoxWidget, pqXDMFPanel, pqSphereWidget, pqYoungsMaterialInterfacePanel, and pqCalculatorPanel.

virtual void pqProxyPanel::select ( ) [virtual, slot]

Called when the panel becomes active.

Default implemnetation does nothing.

Reimplemented in pq3DWidget, pqImplicitPlaneWidget, pqContourWidget, pqBoxWidget, and pqStreamTracerPanel.

virtual void pqProxyPanel::deselect ( ) [virtual, slot]

Called when the panel becomes inactive.

Default implemnetation does nothing.

Reimplemented in pq3DWidget, pqContourWidget, and pqStreamTracerPanel.

virtual void pqProxyPanel::setView ( pqView ) [virtual, slot]

Set the view that this panel works with.

Reimplemented in pq3DWidget.

virtual void pqProxyPanel::setModified ( ) [virtual, slot]

Fires modified.

Reimplemented in pqObjectPanel.

void pqProxyPanel::modified ( ) [signal]
void pqProxyPanel::onaccept ( ) [signal]
void pqProxyPanel::onreset ( ) [signal]
void pqProxyPanel::onselect ( ) [signal]
void pqProxyPanel::ondeselect ( ) [signal]
void pqProxyPanel::viewChanged ( pqView ) [signal]
virtual void pqProxyPanel::updateInformationAndDomains ( ) [protected, virtual, slot]

This method gets called to referesh all domains and information properties.

Subclassess can override this to update any domain related entities. Since this is not a particularly fast operation, we update the information and domains only when the panel is selected or an already active panel is accepted.

void pqProxyPanel::dataUpdated ( ) [protected, slot]

Called after the algorithm executes.

bool pqProxyPanel::event ( QEvent *  e) [protected]

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