API Documentation
Loading...
Searching...
No Matches
PlannedDeploymentWidget.h
Go to the documentation of this file.
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;
12 class QTResourceListener;
13 class NDEVR_API PlannedDeploymentWidget : public Editor
14 {
15 Q_OBJECT
16 public:
17 PlannedDeploymentWidget(const DynamicPointer<QTDesignObject>& project, QWidget* parent = nullptr);
18 virtual void updateValues() override;
19 Deployment deployment() const;
20 void updateFromDeployment(const Deployment& deploy);
21 protected slots:
22 void plannedToggleChangedSlot();
23 void angleChangedSlot();
24 protected:
25 Ui::PlannedDeploymentUI* ui;
26 };
27
28 class NDEVR_API PlannedDeploymentLocationWidget : public Editor
29 {
30 Q_OBJECT
31 public:
32 PlannedDeploymentLocationWidget(const DynamicPointer<QTDesignObject>& project, QWidget* parent = nullptr);
33 virtual void updateValues() override;
34 Deployment deployment() const;
35 void updateFromDeployment(const Deployment& deploy);
36 protected slots:
37 void positionChangedSlot();
38 protected:
39 PointWidget* m_location;
40 };
41}
42#endif
#define NDEVR_API
Definition DLLInfo.h:67
Definition ACIColor.h:37
Definition FontEditor.h:6