32 #ifndef _pqPropertyWidget_h 33 #define _pqPropertyWidget_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);
109 virtual bool isSingleRowItem()
const;
111 bool showLabel()
const;
129 return QString(object->GetXMLName());
135 const QList<QPointer<pqPropertyWidgetDecorator> >&
decorators()
const {
return this->Decorators; }
141 using Superclass::setProperty;
152 static int hintsWidgetHeightNumberOfRows(
vtkPVXMLElement* hints,
int defaultValue = 10);
158 void viewChanged(
pqView* view);
164 void changeAvailable();
170 void changeFinished();
176 void restartRequired();
182 virtual void setView(
pqView*);
185 void addPropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
187 void addPropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
189 void removePropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
191 void removePropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
193 void setShowLabel(
bool show);
205 this->ChangeAvailableAsChangeFinished = status;
237 void onChangeAvailable();
242 QPointer<pqView> View;
243 QList<QPointer<pqPropertyWidgetDecorator> > Decorators;
247 bool ChangeAvailableAsChangeFinished;
250 const QScopedPointer<pqTimer> Timer;
257 void editingFinished();
260 #if !defined(VTK_LEGACY_REMOVE) 262 #define PV_DEBUG_PANELS() pqDebug("PV_DEBUG_PANELS") 265 #endif // _pqPropertyWidget_h
#define PQCOMPONENTS_EXPORT
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.