32 #ifndef pqProxyWidget_h 33 #define pqProxyWidget_h 61 typedef QWidget Superclass;
65 std::initializer_list<QString> defaultLabels, std::initializer_list<QString> advancedLabels,
66 bool showHeadersFooters =
true, QWidget* parent =
nullptr,
67 Qt::WindowFlags flags = Qt::WindowFlags{});
70 std::initializer_list<QString> advancedLabels, QWidget* parent =
nullptr,
71 Qt::WindowFlags flags = Qt::WindowFlags{});
74 QWidget* parent =
nullptr, Qt::WindowFlags flags = Qt::WindowFlags{});
80 ~pqProxyWidget()
override;
92 void setApplyChangesImmediately(
bool value);
108 static QWidget* newGroupLabelWidget(
const QString& label, QWidget* parentWidget,
109 const QList<QWidget*>& buttons = QList<QWidget*>());
116 static bool useDocumentationForLabels(
vtkSMProxy* proxy);
130 static QString documentationText(
168 void changeAvailable();
174 void changeFinished();
180 void restartRequired();
189 bool filterWidgets(
bool show_advanced =
false,
const QString& filterText = QString());
195 void showLinkedInteractiveWidget(
int portIndex,
bool show);
222 virtual bool restoreDefaults();
227 void saveAsDefaults();
236 void showEvent(QShowEvent* event)
override;
237 void hideEvent(QHideEvent* event)
override;
244 void onChangeFinished();
250 void createWidgets(
const QStringList& properties = QStringList());
255 void createPropertyWidgets(
const QStringList& properties = QStringList());
260 void create3DWidgets();
262 Q_DISABLE_COPY(pqProxyWidget);
264 QSet<QString> DefaultVisibilityLabels;
265 QSet<QString> AdvancedVisibilityLabels;
266 bool ApplyChangesImmediately;
267 bool UseDocumentationForLabels;
268 bool ShowHeadersFooters =
false;
270 pqInternals* Internals;
#define PQCOMPONENTS_EXPORT
superclass for all SM properties
This is a PQ abstraction of a generic view module.
proxy for a VTK object(s) on a server