src
paraview-5.12
Qt
ApplicationComponents
pqMultiComponentsDecorator.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 pqMultiComponentsDecorator_h
5
#define pqMultiComponentsDecorator_h
6
7
#include "
pqPropertyWidgetDecorator.h
"
8
9
#include <vector>
10
16
class
pqMultiComponentsDecorator
:
public
pqPropertyWidgetDecorator
17
{
18
Q_OBJECT
19
typedef
pqPropertyWidgetDecorator
Superclass
;
20
21
public
:
22
pqMultiComponentsDecorator
(
vtkPVXMLElement
* config,
pqPropertyWidget
* parentObject);
23
~pqMultiComponentsDecorator
()
override
=
default
;
24
28
bool
canShowWidget
(
bool
show_advanced)
const override
;
29
30
private
:
31
Q_DISABLE_COPY(
pqMultiComponentsDecorator
)
32
33
std::vector<int> Components;
34
};
35
36
#endif
pqMultiComponentsDecorator::pqMultiComponentsDecorator
pqMultiComponentsDecorator(vtkPVXMLElement *config, pqPropertyWidget *parentObject)
pqMultiComponentsDecorator::canShowWidget
bool canShowWidget(bool show_advanced) const override
Overridden to hide the widget.
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
pqMultiComponentsDecorator
pqMultiComponentsDecorator's purpose is to prevent the GUI from showing Multi Components Mapping chec...
Definition:
pqMultiComponentsDecorator.h:16
pqMultiComponentsDecorator::~pqMultiComponentsDecorator
~pqMultiComponentsDecorator() override=default
Generated by
1.8.17 on Wed Mar 27 2024