35#include <NDEVR/Editor.h>
36#include <NDEVR/QTDesignObject.h>
38 class BTHoleDetailsUI;
44 struct DeploymentRecord;
46 class DeploymentViewSettingsEditor;
47 class TopDownDeploymentChart;
48 class DeploymentReport;
49 class SideViewDeploymentChart;
50 class PlannedDeploymentWidget;
54 class DeploymentSettingsEditor :
public Editor
58 DeploymentSettingsEditor(
const DynamicPointer<QTDesignObject>& deployment, QWidget *parent =
nullptr);
59 ~DeploymentSettingsEditor();
60 void setDeployment(
const DynamicPointer<QTDesignObject>& deployment,
const DynamicPointer<QTDesignObject>& design = DynamicPointer<QTDesignObject>());
61 void resizeEvent(QResizeEvent *event)
override;
62 QSize sizeHint()
const override;
63 void updateValues()
override;
64 TranslatedString customDialogTitle()
const override;
66 Buffer<QWidget*> printableWidgets()
override;
67 Buffer<QWidget*> printableWidgetOptions()
override {
return {}; }
69 QWidget* viewTabWidget();
71 void adjustFinalSegment();
73 void UpdateShownData();
75 void updateChartTools();
77 fltp04 getDefaultMarkerSize()
const;
78 fltp04 getDefaultLineSize()
const;
80 Ui::BTHoleDetailsUI* ui;
81 DynamicPointer<QTDesignObject> m_deployment;
82 DynamicPointer<QTDesignObject> m_design;
83 StationEditor* m_station_editor;
84 StationEditor* m_station_editor_view_only;
85 PlannedDeploymentWidget* m_planned_editor;
86 TopDownDeploymentChart* m_top_down_chart;
87 SideViewDeploymentChart* m_front_chart;
88 SideViewDeploymentChart* m_side_chart;
89 DeploymentViewSettingsEditor* m_view_settings;
90 DeploymentReport* m_deployment_report;
91 bool m_has_design =
false;
A base class for displaying options for editing a single DesignObject, typically a Model.
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
A popup Editor dialog for showing options or information related to StationModel objects.
The primary namespace for the NDEVR SDK.
float fltp04
Defines an alias representing a 4 byte floating-point number Bit layout is as follows: -Sign: 1 bit a...
EditorShowMode
Describes how an Editor should be displayed within the application UI.