src
paraview-5.12
Qt
Components
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
7
#include "
pqPropertyWidgetDecorator.h
"
8
9
#include <QScopedPointer>
// for QScopedPointer.
10
50
class
PQCOMPONENTS_EXPORT
pqCompositePropertyWidgetDecorator
:
public
pqPropertyWidgetDecorator
51
{
52
Q_OBJECT
53
typedef
pqPropertyWidgetDecorator
Superclass
;
54
55
public
:
56
pqCompositePropertyWidgetDecorator
(
vtkPVXMLElement
* xml,
pqPropertyWidget
* parent);
57
~
pqCompositePropertyWidgetDecorator
()
override
;
58
59
bool
canShowWidget
(
bool
show_advanced)
const override
;
60
bool
enableWidget
()
const override
;
61
62
private
:
63
Q_DISABLE_COPY(
pqCompositePropertyWidgetDecorator
)
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
Generated by
1.8.17 on Wed Mar 27 2024