|
ParaView
|
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>

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 | |
| pqPropertyLinks * | Links |
| bool | Modified |
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.
| pqPropertyManager::pqPropertyManager | ( | QObject * | p = 0 | ) |
constructor
| pqPropertyManager::~pqPropertyManager | ( | ) |
destructor
| 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.
pqPropertyLinks* pqPropertyManager::Links [protected] |
Definition at line 97 of file pqPropertyManager.h.
bool pqPropertyManager::Modified [protected] |
Definition at line 98 of file pqPropertyManager.h.
1.7.5.1