pqBoolPropertyWidgetDecorator.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 pqBoolPropertyWidgetDecorator_h
5 #define pqBoolPropertyWidgetDecorator_h
6 
7 #include "pqApplicationComponentsModule.h"
10 
18 class PQAPPLICATIONCOMPONENTS_EXPORT pqBoolPropertyWidgetDecorator
20 {
21  Q_OBJECT
23 
24 public:
26  ~pqBoolPropertyWidgetDecorator() override = default;
27 
28  bool isBoolProperty() const;
29 
30 Q_SIGNALS:
31  void boolPropertyChanged();
32 
33 private:
34  Q_DISABLE_COPY(pqBoolPropertyWidgetDecorator)
35 
36  vtkNew<vtkBoolPropertyDecorator> decoratorLogic;
37 };
38 
39 #endif
pqBoolPropertyWidgetDecorator is a base class for enable/disable or show/hide widgets based on the st...
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
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...