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);
175 virtual void apply()
const;
197 virtual bool restoreDefaults();
202 void saveAsDefaults();
211 void showEvent(QShowEvent* event)
override;
212 void hideEvent(QHideEvent* event)
override;
214 void applyInternal()
const;
221 virtual void onChangeFinished();
227 void createWidgets(
const QStringList& properties = QStringList());
232 void createPropertyWidgets(
const QStringList& properties = QStringList());
237 void create3DWidgets();
239 Q_DISABLE_COPY(pqProxyWidget);
241 QSet<QString> DefaultVisibilityLabels;
242 QSet<QString> AdvancedVisibilityLabels;
243 bool ApplyChangesImmediately;
244 bool UseDocumentationForLabels;
245 bool ShowHeadersFooters =
false;
247 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