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 
8 
9 #include <vector>
10 
17 {
18  Q_OBJECT
20 
21 public:
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
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
bool canShowWidget(bool show_advanced) const override
Overridden to hide the widget.
pqMultiComponentsDecorator&#39;s purpose is to prevent the GUI from showing Multi Components Mapping chec...
pqMultiComponentsDecorator(vtkPVXMLElement *config, pqPropertyWidget *parentObject)
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
~pqMultiComponentsDecorator() override=default
pqPropertyWidgetDecorator provides a mechanism to decorate pqPropertyWidget instances to add logic to...