32 #ifndef _pqPropertyWidget_h 33 #define _pqPropertyWidget_h 35 #include "pqComponentsModule.h" 40 #include <QScopedPointer> 57 typedef QWidget Superclass;
73 virtual void select() { this->Selected =
true; }
74 virtual void deselect() { this->Selected =
false; }
84 Q_UNUSED(showing_advanced_properties);
90 using Superclass::property;
96 virtual char* panelVisibility()
const;
97 virtual void setPanelVisibility(
const char* vis);
99 bool showLabel()
const;
117 return QString(object->GetXMLName());
123 const QList<QPointer<pqPropertyWidgetDecorator> >&
decorators()
const {
return this->Decorators; }
129 using Superclass::setProperty;
140 void viewChanged(
pqView* view);
146 void changeAvailable();
152 void changeFinished();
158 void restartRequired();
164 virtual void setView(
pqView*);
167 void addPropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
169 void addPropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
171 void removePropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
173 void removePropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
175 void setShowLabel(
bool show);
187 this->ChangeAvailableAsChangeFinished = status;
213 void onChangeAvailable();
218 QPointer<pqView> View;
219 QList<QPointer<pqPropertyWidgetDecorator> > Decorators;
223 bool ChangeAvailableAsChangeFinished;
226 const QScopedPointer<pqTimer> Timer;
233 void editingFinished();
236 #define PV_DEBUG_PANELS() pqDebug("PV_DEBUG_PANELS") 238 #endif // _pqPropertyWidget_h
superclass for all SM properties
This is a PQ abstraction of a generic view module.
represents the possible values a property can have
pqPropertyLinks is used to connect vtkSMProperty and subclasses to properties on QObject instances...
proxy for a VTK object(s) on a server