pqGenericPropertyWidgetDecorator.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 pqGenericPropertyWidgetDecorator_h
5 #define pqGenericPropertyWidgetDecorator_h
6 
7 #include "pqApplicationComponentsModule.h"
9 
10 #include <QScopedPointer>
11 
27 class PQAPPLICATIONCOMPONENTS_EXPORT pqGenericPropertyWidgetDecorator
29 {
30  Q_OBJECT
32 
33 public:
36 
40  bool canShowWidget(bool show_advanced) const override;
41  bool enableWidget() const override;
42 
43 private Q_SLOTS:
44  void updateState();
45 
46 private: // NOLINT(readability-redundant-access-specifiers)
47  Q_DISABLE_COPY(pqGenericPropertyWidgetDecorator)
48 
49  class pqInternals;
50  const QScopedPointer<pqInternals> Internals;
51 };
52 
53 #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
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
pqGenericPropertyWidgetDecorator
pqGenericPropertyWidgetDecorator is a pqPropertyWidgetDecorator that supports multiple common use cas...
Definition: pqGenericPropertyWidgetDecorator.h:27