32 #ifndef pqPropertyLinksConnection_h 33 #define pqPropertyLinksConnection_h 38 #include "pqCoreModule.h" 39 #include "vtkEventQtSlotConnect.h" 43 #include "vtkWeakPointer.h" 57 typedef QObject Superclass;
66 QObject* parentObject = 0);
70 void setUseUncheckedProperties(
bool useUnchecked);
80 QObject*
objectQt()
const {
return this->ObjectQt; }
81 const QString&
propertyQt()
const {
return this->PropertyQt; }
89 int indexSM()
const {
return this->IndexSM; }
96 void copyValuesFromServerManagerToQt(
bool use_unchecked);
102 void copyValuesFromQtToServerManager(
bool use_unchecked);
109 virtual void setQtValue(
const QVariant& value);
110 virtual void setServerManagerValue(
bool use_unchecked,
const QVariant& value);
111 virtual QVariant currentQtValue()
const;
112 virtual QVariant currentServerManagerValue(
bool use_unchecked)
const;
119 void qtpropertyModified();
125 void smpropertyModified();
129 vtkNew<vtkEventQtSlotConnect> VTKConnector;
131 QPointer<QObject> ObjectQt;
135 vtkWeakPointer<vtkSMProxy> ProxySM;
136 vtkWeakPointer<vtkSMProperty> PropertySM;
QObject * objectQt() const
Provides access to the Qt QObject and property name.
superclass for all SM properties
pqPropertyLinks is used to connect vtkSMProperty and subclasses to properties on QObject instances...
proxy for a VTK object(s) on a server
pqPropertyLinksConnection is used by pqPropertyLinks to keep a QObject and vtkSMProperty linked toget...
const QString & propertyQt() const
vtkSMProxy * proxySM() const
vtkSMProperty * propertySM() const
vtkSMProxy * proxy() const
Provides access to the ServerManager proxy/property/index.