pqOpenVRHidingDecorator.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 pqOpenVRHidingDecorator_h
5 #define pqOpenVRHidingDecorator_h
6 
8 
13 {
14  Q_OBJECT
16 
17 public:
19  ~pqOpenVRHidingDecorator() override;
20 
22  bool canShowWidget(bool show_advanced) const override;
23 
24 private:
25  Q_DISABLE_COPY(pqOpenVRHidingDecorator)
26 };
27 
28 #endif
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
~pqOpenVRHidingDecorator() override
pqOpenVRHidingDecorator(vtkPVXMLElement *config, pqPropertyWidget *parentObject)
bool canShowWidget(bool show_advanced) const override
Overridden to hide the widget when OpenVR is not compiled in.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
pqPropertyWidgetDecorator provides a mechanism to decorate pqPropertyWidget instances to add logic to...
pqOpenVRHidingDecorator's purpose is to prevent the GUI from showing any of the OpenVR specific rende...