32 #ifndef pqPropertyWidget_h 33 #define pqPropertyWidget_h 40 #include <QScopedPointer> 56 typedef QWidget Superclass;
76 virtual void select() { this->Selected =
true; }
77 virtual void selectPort(
int portIndex) { Q_UNUSED(portIndex); }
78 virtual void deselect() { this->Selected =
false; }
89 Q_UNUSED(showing_advanced_properties);
95 using Superclass::property;
101 virtual char* panelVisibility()
const;
102 virtual void setPanelVisibility(
const char* vis);
114 virtual bool isSingleRowItem()
const;
116 bool showLabel()
const;
134 return QString(object->GetXMLName());
140 const QList<QPointer<pqPropertyWidgetDecorator>>&
decorators()
const {
return this->Decorators; }
146 using Superclass::setProperty;
157 static int hintsWidgetHeightNumberOfRows(
vtkPVXMLElement* hints,
int defaultValue = 10);
163 void viewChanged(
pqView* view);
169 void changeAvailable();
175 void changeFinished();
181 void restartRequired();
187 virtual void setView(
pqView*);
190 void addPropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
192 void addPropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
194 void removePropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
196 void removePropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
198 void setShowLabel(
bool show);
210 this->ChangeAvailableAsChangeFinished = status;
242 void onChangeAvailable();
247 QPointer<pqView> View;
248 QList<QPointer<pqPropertyWidgetDecorator>> Decorators;
252 bool ChangeAvailableAsChangeFinished;
255 const QScopedPointer<pqTimer> Timer;
262 void editingFinished();
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.