33#include <NDEVR/QTDesignObject.h>
35#include <NDEVR/QCustomTableWidget.h>
36#include <NDEVR/Pointer.h>
41 class QTResourceListener;
45 class NDEVR_API DeploymentSegmentTable :
public QCustomTableWidget
49 enum DeploymentSectionInfo
64 explicit DeploymentSegmentTable(QWidget* parent =
nullptr);
65 explicit DeploymentSegmentTable(
const DynamicPointer<QTDesignObject>& deployment, QWidget* parent =
nullptr);
66 virtual ~DeploymentSegmentTable();
67 TranslatedString HeadingTitle(DeploymentSectionInfo);
68 TranslatedString HeadingTooltip(DeploymentSectionInfo);
69 bool headingVisible(DeploymentSectionInfo info,
const Deployment& actual);
70 String headingInfo(DeploymentSectionInfo info, uint04 row,
const Deployment& actual,
const Deployment& plan,
const Matrix<fltp08>& transform);
71 void setIsReport(
bool is_report);
72 void setDeployment(
const DynamicPointer<QTDesignObject>& deployment);
73 void setShowQuality(
bool show_quality);
74 void setShowTime(
bool show_time);
78 void updateTableView();
80 DynamicPointer<QTDesignObject> m_deployment;
81 QTResourceListener* m_units_listener;
82 bool m_is_report =
false;
83 bool m_show_quality =
true;
84 bool m_show_time =
true;