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>
Inherits QObject.
|
void | accept () |
| accept property changes by pushing them all down to the server manager More...
|
|
void | reject () |
| reject property changes and revert all QObject properties More...
|
|
void | propertyChanged () |
| Called whenever a property changes from the GUI side. More...
|
|
|
| pqPropertyManager (QObject *p=0) |
| constructor More...
|
|
| ~pqPropertyManager () |
| destructor More...
|
|
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 More...
|
|
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 More...
|
|
bool | isModified () const |
| returns whether there are modified properties to send to the server manager More...
|
|
void | removeAllLinks () |
|
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 52 of file pqPropertyManager.h.
§ pqPropertyManager()
pqPropertyManager::pqPropertyManager |
( |
QObject * |
p = 0 | ) |
|
§ ~pqPropertyManager()
pqPropertyManager::~pqPropertyManager |
( |
| ) |
|
§ registerLink()
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
§ unregisterLink()
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
§ isModified()
bool pqPropertyManager::isModified |
( |
| ) |
const |
returns whether there are modified properties to send to the server manager
§ removeAllLinks()
void pqPropertyManager::removeAllLinks |
( |
| ) |
|
§ modified
void pqPropertyManager::modified |
( |
| ) |
|
|
signal |
Signal emitted when there are possible properties to send down to the server manager.
§ aboutToAccept
void pqPropertyManager::aboutToAccept |
( |
| ) |
|
|
signal |
Signal emitted when the user has accepted changes.
§ accepted
void pqPropertyManager::accepted |
( |
| ) |
|
|
signal |
§ rejected
void pqPropertyManager::rejected |
( |
| ) |
|
|
signal |
Signal emitted when the user has rejected changes.
§ accept
void pqPropertyManager::accept |
( |
| ) |
|
|
slot |
accept property changes by pushing them all down to the server manager
§ reject
void pqPropertyManager::reject |
( |
| ) |
|
|
slot |
reject property changes and revert all QObject properties
§ propertyChanged
void pqPropertyManager::propertyChanged |
( |
| ) |
|
|
slot |
Called whenever a property changes from the GUI side.
§ Links
§ Modified
bool pqPropertyManager::Modified |
|
protected |
The documentation for this class was generated from the following file: