32 #ifndef _pqPropertyWidget_h 33 #define _pqPropertyWidget_h 35 #include "pqComponentsModule.h" 36 #include "vtkSetGet.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 static int hintsWidgetHeightNumberOfRows(
vtkPVXMLElement* hints,
int defaultValue = 10);
146 void viewChanged(
pqView* view);
152 void changeAvailable();
158 void changeFinished();
164 void restartRequired();
170 virtual void setView(
pqView*);
173 void addPropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
175 void addPropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
177 void removePropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
179 void removePropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
181 void setShowLabel(
bool show);
193 this->ChangeAvailableAsChangeFinished = status;
225 void onChangeAvailable();
230 QPointer<pqView> View;
231 QList<QPointer<pqPropertyWidgetDecorator> > Decorators;
235 bool ChangeAvailableAsChangeFinished;
238 const QScopedPointer<pqTimer> Timer;
245 void editingFinished();
248 #if !defined(VTK_LEGACY_REMOVE) 250 #define PV_DEBUG_PANELS() pqDebug("PV_DEBUG_PANELS") 253 #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
This is used by vtkPVXMLParser to represent an XML document starting at the root element.