NDEVR
API Documentation
PlannedDeploymentWidget.h
1#include <NDEVR/Editor.h>
2#if NDEVR_DEPLOYMENT
3#include <QWidget>
4namespace Ui
5{
6 class PlannedDeploymentUI;
7}
8namespace NDEVR
9{
10 class PointWidget;
11 class Deployment;
18 class NDEVR_API PlannedDeploymentWidget : public Editor
19 {
20 Q_OBJECT
21 public:
27 PlannedDeploymentWidget(const DynamicPointer<QTDesignObject>& project, QWidget* parent = nullptr);
29 virtual void updateValues() override;
34 Deployment deployment() const;
39 void updateFromDeployment(const Deployment& deploy);
40 protected slots:
42 void plannedToggleChangedSlot();
44 void angleChangedSlot();
45 protected:
46 Ui::PlannedDeploymentUI* ui;
47 };
48
52 class NDEVR_API PlannedDeploymentLocationWidget : public Editor
53 {
54 Q_OBJECT
55 public:
61 PlannedDeploymentLocationWidget(const DynamicPointer<QTDesignObject>& project, QWidget* parent = nullptr);
63 virtual void updateValues() override;
68 Deployment deployment() const;
73 void updateFromDeployment(const Deployment& deploy);
74 protected slots:
76 void positionChangedSlot();
77 protected:
78 PointWidget* m_location;
79 };
80}
81#endif
A base class for displaying options for editing a single DesignObject, typically a Model.
Definition Editor.h:58
Allows the user to input an N-dimensional point (up to 4 dimensions) with an optional unit.
Definition PointWidget.h:58
A ResourceListener which will always be executed on the main UI thread and can be tied to a Qt Object...
Definition QTTools.h:493
The primary namespace for the NDEVR SDK.