src
paraview-5.12
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 <QScopedPointer>
11
27
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqGenericPropertyWidgetDecorator
28
:
public
pqPropertyWidgetDecorator
29
{
30
Q_OBJECT
31
typedef
pqPropertyWidgetDecorator
Superclass
;
32
33
public
:
34
pqGenericPropertyWidgetDecorator
(
vtkPVXMLElement
* config,
pqPropertyWidget
* parent);
35
~
pqGenericPropertyWidgetDecorator
()
override
;
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
Generated by
1.8.17 on Wed Mar 27 2024