pqHandlePropertyWidget.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 pqHandlePropertyWidget_h
5 #define pqHandlePropertyWidget_h
6 
8 
9 class QPushButton;
10 
24 {
25  Q_OBJECT
27 
28 public:
29  pqHandlePropertyWidget(vtkSMProxy* proxy, vtkSMPropertyGroup* smgroup, QWidget* parent = nullptr);
30  ~pqHandlePropertyWidget() override;
31 
32 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
36  void centerOnBounds();
37 
38 protected Q_SLOTS:
42  void placeWidget() override;
43 
44 private Q_SLOTS:
45  void setWorldPosition(double x, double y, double z);
46  void selectionChanged();
47 
48 private: // NOLINT(readability-redundant-access-specifiers)
49  Q_DISABLE_COPY(pqHandlePropertyWidget);
50  QPushButton* UseSelectionCenterButton = nullptr;
51 };
52 
53 #endif
pqHandlePropertyWidget is a custom property widget that uses "HandleWidgetRepresentation" to help use...
#define PQAPPLICATIONCOMPONENTS_EXPORT
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
virtual void placeWidget()=0
Places the interactive widget using current data source information.
pqInteractivePropertyWidget is an abstract pqPropertyWidget subclass designed to serve as the supercl...