4 #ifndef pqProxyWidget_h 5 #define pqProxyWidget_h 34 typedef QWidget Superclass;
38 std::initializer_list<QString> defaultLabels, std::initializer_list<QString> advancedLabels,
39 bool showHeadersFooters =
true, QWidget* parent =
nullptr,
40 Qt::WindowFlags flags = Qt::WindowFlags{});
43 std::initializer_list<QString> advancedLabels, QWidget* parent =
nullptr,
44 Qt::WindowFlags flags = Qt::WindowFlags{});
47 QWidget* parent =
nullptr, Qt::WindowFlags flags = Qt::WindowFlags{});
53 ~pqProxyWidget()
override;
65 void setApplyChangesImmediately(
bool value);
81 static QWidget* newGroupLabelWidget(
const QString& label, QWidget* parentWidget,
82 const QList<QWidget*>& buttons = QList<QWidget*>());
89 static bool useDocumentationForLabels(
vtkSMProxy* proxy);
103 static QString documentationText(
143 void changeAvailable();
149 void changeFinished();
155 void restartRequired();
164 bool filterWidgets(
bool show_advanced =
false,
const QString& filterText = QString());
170 void showLinkedInteractiveWidget(
int portIndex,
bool show,
bool changeFocus);
197 virtual bool restoreDefaults();
202 void saveAsDefaults();
211 void showEvent(QShowEvent* event)
override;
212 void hideEvent(QHideEvent* event)
override;
219 void onChangeFinished();
225 void createWidgets(
const QStringList& properties = QStringList());
230 void createPropertyWidgets(
const QStringList& properties = QStringList());
235 void create3DWidgets();
237 Q_DISABLE_COPY(pqProxyWidget);
239 QSet<QString> DefaultVisibilityLabels;
240 QSet<QString> AdvancedVisibilityLabels;
241 bool ApplyChangesImmediately;
242 bool UseDocumentationForLabels;
243 bool ShowHeadersFooters =
false;
245 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