4 #ifndef pqPropertyWidget_h 5 #define pqPropertyWidget_h 7 #include "pqComponentsModule.h" 12 #include <QScopedPointer> 28 typedef QWidget Superclass;
48 virtual void select() { this->Selected =
true; }
49 virtual void selectPort(
int portIndex) { Q_UNUSED(portIndex); }
50 virtual void deselect() { this->Selected =
false; }
61 Q_UNUSED(showing_advanced_properties);
67 using Superclass::property;
73 virtual char* panelVisibility()
const;
74 virtual void setPanelVisibility(
const char* vis);
86 virtual bool isSingleRowItem()
const;
88 bool showLabel()
const;
106 return QString(object->GetXMLName());
112 const QList<QPointer<pqPropertyWidgetDecorator>>&
decorators()
const {
return this->Decorators; }
118 using Superclass::setProperty;
129 static int hintsWidgetHeightNumberOfRows(
vtkPVXMLElement* hints,
int defaultValue = 10);
137 static std::vector<std::string> parseComponentLabels(
144 virtual void setReadOnly(
bool readOnly);
150 void viewChanged(
pqView* view);
156 void changeAvailable();
162 void changeFinished();
168 void restartRequired();
174 virtual void setView(
pqView*);
177 void addPropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
179 void addPropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
181 void removePropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
183 void removePropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
185 void setShowLabel(
bool show);
197 this->ChangeAvailableAsChangeFinished = status;
229 void onChangeAvailable();
234 QPointer<pqView> View;
235 QList<QPointer<pqPropertyWidgetDecorator>> Decorators;
239 bool ChangeAvailableAsChangeFinished;
242 const QScopedPointer<pqTimer> Timer;
249 void editingFinished();
252 #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.