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
pqPropertyWidgetDecorator::canShowWidget
virtual bool canShowWidget(bool show_advanced) const
Override this method to override the visibility of the widget in the panel.
Definition: pqPropertyWidgetDecorator.h:49
pqPropertyWidget
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
Definition: pqPropertyWidget.h:25
pqPropertyWidgetDecorator.h
pqPropertyWidgetDecorator
pqPropertyWidgetDecorator provides a mechanism to decorate pqPropertyWidget instances to add logic to...
Definition: pqPropertyWidgetDecorator.h:19
pqCompositePropertyWidgetDecorator
pqPropertyWidgetDecorator subclass that can combine multiple decorators using boolean operations.
Definition: pqCompositePropertyWidgetDecorator.h:50
vtkPVXMLElement
Definition: vtkPVXMLElement.h:23
pqPropertyWidgetDecorator::enableWidget
virtual bool enableWidget() const
Override this method to override the enable state of the widget in the panel.
Definition: pqPropertyWidgetDecorator.h:63