Qt
ApplicationComponents
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"
8
#include "
pqPropertyWidgetDecorator.h
"
9
10
#include "
vtkGenericPropertyDecorator.h
"
11
19
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqGenericPropertyWidgetDecorator
20
:
public
pqPropertyWidgetDecorator
21
{
22
Q_OBJECT
23
typedef
pqPropertyWidgetDecorator
Superclass
;
24
25
public
:
26
pqGenericPropertyWidgetDecorator
(
vtkPVXMLElement
* config,
pqPropertyWidget
* parent);
27
~
pqGenericPropertyWidgetDecorator
()
override
;
28
32
bool
canShowWidget
(
bool
show_advanced)
const override
;
33
bool
enableWidget
()
const override
;
34
35
private
:
// NOLINT(readability-redundant-access-specifiers)
36
Q_DISABLE_COPY(
pqGenericPropertyWidgetDecorator
)
37
vtkNew<vtkGenericPropertyDecorator>
decoratorLogic;
38
};
39
40
#endif
vtkGenericPropertyDecorator.h
pqPropertyWidget
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
Definition:
pqPropertyWidget.h:25
pqGenericPropertyWidgetDecorator
pqGenericPropertyWidgetDecorator is a pqPropertyWidgetDecorator that supports multiple common use cas...
Definition:
pqGenericPropertyWidgetDecorator.h:19
pqPropertyWidgetDecorator::enableWidget
virtual bool enableWidget() const
Override this method to override the enable state of the widget in the panel.
vtkNew< vtkGenericPropertyDecorator >
pqPropertyWidgetDecorator::canShowWidget
virtual bool canShowWidget(bool show_advanced) const
Override this method to override the visibility of the widget in the panel.
vtkPVXMLElement
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
Definition:
vtkPVXMLElement.h:23
pqPropertyWidgetDecorator.h
pqPropertyWidgetDecorator
pqPropertyWidgetDecorator provides a mechanism to decorate pqPropertyWidget instances to add logic to...
Definition:
pqPropertyWidgetDecorator.h:20
Generated by
1.8.13 on Sat Dec 6 2025