pqCompositePropertyWidgetDecorator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 #ifndef pqCompositePropertyWidgetDecorator_h
5 #define pqCompositePropertyWidgetDecorator_h
6 
8 
9 #include <QScopedPointer> // for QScopedPointer.
10 
51 {
52  Q_OBJECT
54 
55 public:
58 
59  bool canShowWidget(bool show_advanced) const override;
60  bool enableWidget() const override;
61 
62 private:
64 
65  class pqInternals;
66  QScopedPointer<pqInternals> Internals;
67  friend class pqInternals;
68 
69  void handleNestedDecorator(pqPropertyWidgetDecorator*);
70 };
71 
72 #endif
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
pqPropertyWidgetDecorator subclass that can combine multiple decorators using boolean operations...
virtual bool enableWidget() const
Override this method to override the enable state of the widget in the panel.
#define PQCOMPONENTS_EXPORT
virtual bool canShowWidget(bool show_advanced) const
Override this method to override the visibility of the widget in the panel.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
pqPropertyWidgetDecorator provides a mechanism to decorate pqPropertyWidget instances to add logic to...