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 /**--------------------------------------------------------------------------------------------------
14 \brief A popup Editor dialog for showing options or information related to Deployments that have
15 a planned aspect to them.
16 **/
17 class NDEVR_API PlannedDeploymentWidget : public Editor
18 {
19 Q_OBJECT
20 public:
21 PlannedDeploymentWidget(const DynamicPointer<QTDesignObject>& project, QWidget* parent = nullptr);
22 virtual void updateValues() override;
23 Deployment deployment() const;
24 void updateFromDeployment(const Deployment& deploy);
25 protected slots:
26 void plannedToggleChangedSlot();
27 void angleChangedSlot();
28 protected:
29 Ui::PlannedDeploymentUI* ui;
30 };
31
32 class NDEVR_API PlannedDeploymentLocationWidget : public Editor
33 {
34 Q_OBJECT
35 public:
36 PlannedDeploymentLocationWidget(const DynamicPointer<QTDesignObject>& project, QWidget* parent = nullptr);
37 virtual void updateValues() override;
38 Deployment deployment() const;
39 void updateFromDeployment(const Deployment& deploy);
40 protected slots:
41 void positionChangedSlot();
42 protected:
43 PointWidget* m_location;
44 };
45}
46#endif
#define NDEVR_API
Definition DLLInfo.h:50
Definition ACIColor.h:37
Definition FontEditor.h:6