pqAnglePropertyWidget.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 pqAnglePropertyWidget_h
5 #define pqAnglePropertyWidget_h
6 
8 
9 #include <QScopedPointer>
10 
11 #include <array>
12 
23 {
24  Q_OBJECT;
25  Q_PROPERTY(QList<QVariant> points READ points WRITE setPoints NOTIFY pointsChanged);
27 
28 public:
29  pqAnglePropertyWidget(vtkSMProxy* proxy, vtkSMPropertyGroup* smgroup, QWidget* parent = nullptr);
30  ~pqAnglePropertyWidget() override;
31 
33 
36  QList<QVariant> points() const;
37  void setPoints(const QList<QVariant>& points);
39 
40 Q_SIGNALS:
44  void pointsChanged();
45 
46 protected Q_SLOTS:
47  void placeWidget() override;
48  void updateLabels();
49 
50 private:
51  Q_DISABLE_COPY(pqAnglePropertyWidget)
52 
53  struct pqInternals;
54  QScopedPointer<pqInternals> Internals;
55 };
56 
57 #endif
pqAnglePropertyWidget is a custom property widget that uses "PolyLineWidgetRepresentation" to help us...
#define PQAPPLICATIONCOMPONENTS_EXPORT
points
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...