ParaView
Public Slots | Signals | Public Member Functions | Protected Attributes
pqPropertyManager Class Reference

Manages links between Qt properties and unchecked proxy properties This is useful if more than one QWidget exposes a single proxy property In which case the server manager will not keep the widgets synchronized Also provides a mechanims for accepting or rejecting changes for unchecked properties. More...

#include <pqPropertyManager.h>

Collaboration diagram for pqPropertyManager:
Collaboration graph
[legend]

List of all members.

Public Slots

void accept ()
 accept property changes by pushing them all down to the server manager
void reject ()
 reject property changes and revert all QObject properties
void propertyChanged ()
 Called whenever a property changes from the GUI side.

Signals

void modified ()
 Signal emitted when there are possible properties to send down to the server manager.
void aboutToAccept ()
 Signal emitted when the user has accepted changes.
void accepted ()
void rejected ()
 Signal emitted when the user has rejected changes.

Public Member Functions

 pqPropertyManager (QObject *p=0)
 constructor
 ~pqPropertyManager ()
 destructor
void registerLink (QObject *qObject, const char *qProperty, const char *signal, vtkSMProxy *Proxy, vtkSMProperty *Property, int Index=-1)
 register a QObject property to link with the server manager
void unregisterLink (QObject *qObject, const char *qProperty, const char *signal, vtkSMProxy *Proxy, vtkSMProperty *Property, int Index=-1)
 unregister a QObject property to link with the server manager
bool isModified () const
 returns whether there are modified properties to send to the server manager
void removeAllLinks ()

Protected Attributes

pqPropertyLinksLinks
bool Modified

Detailed Description

Manages links between Qt properties and unchecked proxy properties This is useful if more than one QWidget exposes a single proxy property In which case the server manager will not keep the widgets synchronized Also provides a mechanims for accepting or rejecting changes for unchecked properties.

Definition at line 50 of file pqPropertyManager.h.


Constructor & Destructor Documentation

pqPropertyManager::pqPropertyManager ( QObject *  p = 0)

constructor

pqPropertyManager::~pqPropertyManager ( )

destructor


Member Function Documentation

void pqPropertyManager::registerLink ( QObject *  qObject,
const char *  qProperty,
const char *  signal,
vtkSMProxy Proxy,
vtkSMProperty Property,
int  Index = -1 
)

register a QObject property to link with the server manager

void pqPropertyManager::unregisterLink ( QObject *  qObject,
const char *  qProperty,
const char *  signal,
vtkSMProxy Proxy,
vtkSMProperty Property,
int  Index = -1 
)

unregister a QObject property to link with the server manager

bool pqPropertyManager::isModified ( ) const

returns whether there are modified properties to send to the server manager

void pqPropertyManager::removeAllLinks ( )
void pqPropertyManager::modified ( ) [signal]

Signal emitted when there are possible properties to send down to the server manager.

void pqPropertyManager::aboutToAccept ( ) [signal]

Signal emitted when the user has accepted changes.

void pqPropertyManager::accepted ( ) [signal]
void pqPropertyManager::rejected ( ) [signal]

Signal emitted when the user has rejected changes.

void pqPropertyManager::accept ( ) [slot]

accept property changes by pushing them all down to the server manager

void pqPropertyManager::reject ( ) [slot]

reject property changes and revert all QObject properties

void pqPropertyManager::propertyChanged ( ) [slot]

Called whenever a property changes from the GUI side.


Member Data Documentation

Definition at line 97 of file pqPropertyManager.h.

bool pqPropertyManager::Modified [protected]

Definition at line 98 of file pqPropertyManager.h.


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