pqPropertyLinksConnection is used by pqPropertyLinks to keep a QObject and vtkSMProperty linked together.
More...
#include <pqPropertyLinksConnection.h>
Inherits QObject.
pqPropertyLinksConnection is used by pqPropertyLinks to keep a QObject and vtkSMProperty linked together.
pqPropertyLinksConnection handles most common types of connections. Developers can subclass this to customize the mechanisms for copy values from Qt to ServerManager and vice-versa.
Definition at line 26 of file pqPropertyLinksConnection.h.
◆ pqPropertyLinksConnection()
pqPropertyLinksConnection::pqPropertyLinksConnection |
( |
QObject * |
qobject, |
|
|
const char * |
qproperty, |
|
|
const char * |
qsignal, |
|
|
vtkSMProxy * |
smproxy, |
|
|
vtkSMProperty * |
smproperty, |
|
|
int |
smindex, |
|
|
bool |
use_unchecked_modified_event, |
|
|
QObject * |
parentObject = nullptr |
|
) |
| |
This also sets up observers to monitor any changes.
This does not change any values on either items.
◆ ~pqPropertyLinksConnection()
pqPropertyLinksConnection::~pqPropertyLinksConnection |
( |
| ) |
|
|
override |
◆ setUseUncheckedProperties()
void pqPropertyLinksConnection::setUseUncheckedProperties |
( |
bool |
useUnchecked | ) |
|
◆ operator==()
◆ objectQt()
QObject* pqPropertyLinksConnection::objectQt |
( |
| ) |
const |
|
inline |
◆ propertyQt()
const QString& pqPropertyLinksConnection::propertyQt |
( |
| ) |
const |
|
inline |
◆ proxy()
vtkSMProxy* pqPropertyLinksConnection::proxy |
( |
| ) |
const |
|
inline |
◆ proxySM()
vtkSMProxy* pqPropertyLinksConnection::proxySM |
( |
| ) |
const |
|
inline |
◆ propertySM()
◆ indexSM()
int pqPropertyLinksConnection::indexSM |
( |
| ) |
const |
|
inline |
◆ setTraceChanges()
void pqPropertyLinksConnection::setTraceChanges |
( |
bool |
trace | ) |
|
|
inline |
◆ traceChanges()
bool pqPropertyLinksConnection::traceChanges |
( |
| ) |
const |
|
inline |
◆ copyValuesFromServerManagerToQt
void pqPropertyLinksConnection::copyValuesFromServerManagerToQt |
( |
bool |
use_unchecked | ) |
|
|
slot |
Copy values from ServerManager to Qt.
If use_unchecked is true, unchecked SMProperty values are used.
◆ copyValuesFromQtToServerManager
void pqPropertyLinksConnection::copyValuesFromQtToServerManager |
( |
bool |
use_unchecked | ) |
|
|
slot |
Copy values from Qt to ServerManager.
If use_unchecked is true, unchecked values for SMProperty are updated.
◆ setQtValue()
virtual void pqPropertyLinksConnection::setQtValue |
( |
const QVariant & |
value | ) |
|
|
protectedvirtual |
These are the methods that subclasses can override to customize how values are updated in either directions.
◆ setServerManagerValue()
virtual void pqPropertyLinksConnection::setServerManagerValue |
( |
bool |
use_unchecked, |
|
|
const QVariant & |
value |
|
) |
| |
|
protectedvirtual |
◆ currentQtValue()
virtual QVariant pqPropertyLinksConnection::currentQtValue |
( |
| ) |
const |
|
protectedvirtual |
◆ currentServerManagerValue()
virtual QVariant pqPropertyLinksConnection::currentServerManagerValue |
( |
bool |
use_unchecked | ) |
const |
|
protectedvirtual |
◆ qtpropertyModified
void pqPropertyLinksConnection::qtpropertyModified |
( |
| ) |
|
|
signal |
◆ smpropertyModified
void pqPropertyLinksConnection::smpropertyModified |
( |
| ) |
|
|
signal |
The documentation for this class was generated from the following file: