pqBoxPropertyWidget.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 pqBoxPropertyWidget_h
5 #define pqBoxPropertyWidget_h
6 
8 #include <QPointer> // For QScopedPointer
9 
47 {
48  Q_OBJECT
50 
51 public:
52  pqBoxPropertyWidget(vtkSMProxy* proxy, vtkSMPropertyGroup* smgroup, QWidget* parent = nullptr,
53  bool hideReferenceBounds = false);
54  ~pqBoxPropertyWidget() override;
55 
56 protected Q_SLOTS:
60  void placeWidget() override;
61 
62 private:
63  Q_DISABLE_COPY(pqBoxPropertyWidget)
64  class pqUi;
65  QScopedPointer<pqUi> Ui;
66  pqPropertyLinks WidgetLinks;
67  bool BoxIsRelativeToInput;
68 
69  QMetaObject::Connection PlaceWidgetConnection;
70 };
71 
72 #endif
#define PQAPPLICATIONCOMPONENTS_EXPORT
custom property widget using vtkBoxWidget2 and vtkBoxRepresentation.
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...