4 #ifndef pqPropertyWidget_h 5 #define pqPropertyWidget_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 void viewChanged(
pqView* view);
150 void changeAvailable();
156 void changeFinished();
162 void restartRequired();
168 virtual void setView(
pqView*);
171 void addPropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
173 void addPropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
175 void removePropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
177 void removePropertyLink(QObject* qobject,
const char* qproperty,
const char* qsignal,
179 void setShowLabel(
bool show);
191 this->ChangeAvailableAsChangeFinished = status;
223 void onChangeAvailable();
228 QPointer<pqView> View;
229 QList<QPointer<pqPropertyWidgetDecorator>> Decorators;
233 bool ChangeAvailableAsChangeFinished;
236 const QScopedPointer<pqTimer> Timer;
243 void editingFinished();
246 #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.