深度的属性
This commit is contained in:
parent
519fdf10b0
commit
d60b9b6330
|
|
@ -186,24 +186,10 @@ void FormDraw::setDrawData(QStringList listdt, QJsonObject objInfo)
|
|||
|
||||
// 读取json
|
||||
// 设置左侧显示属性 设置界面样式
|
||||
// if(pInfo->m_strUnit.isEmpty()){
|
||||
// pInfo->m_strUnit = "(米)";
|
||||
// pInfo->m_strUnitFont = QFont("微软雅黑", 16);
|
||||
// }
|
||||
|
||||
|
||||
|
||||
// bool m_sdDrawStartDepth; // 绘制起点深度
|
||||
// bool m_sdDrawEndDepth; // 绘制终点深度
|
||||
|
||||
|
||||
|
||||
|
||||
// int m_sdMajorTickLineLength = 3; // 主刻度线长度
|
||||
// int m_sdMajorTickLineWidth = 1; // 主刻度线宽度
|
||||
// int m_sdMinorTickLineLength = 1; // 次刻度线长度
|
||||
// int m_sdMinorTickLineWidth = 1; // 次刻度线宽度
|
||||
|
||||
if(pInfo->m_strUnit.isEmpty()){
|
||||
pInfo->m_strUnit = "(米)";
|
||||
pInfo->m_strUnitFont = QFont("微软雅黑", 10);
|
||||
}
|
||||
initDepth(curv);
|
||||
// 读json后 重新设置样式
|
||||
// 头部高度
|
||||
|
|
|
|||
|
|
@ -81,8 +81,8 @@ public:
|
|||
QString m_strTrackName;
|
||||
QString m_strLineName;
|
||||
QString m_strAliasName;//显示名称
|
||||
QString m_strUnit;//单位
|
||||
QFont m_strUnitFont;//单位字体
|
||||
QString m_strUnit = "(米)";//单位
|
||||
QFont m_strUnitFont = QFont("微软雅黑", 10);//单位字体
|
||||
// 头部高度
|
||||
int m_headHeight = 100;
|
||||
|
||||
|
|
@ -198,7 +198,7 @@ public:
|
|||
// 深度
|
||||
QColor m_sdRulerColor; // 标尺颜色
|
||||
double m_sdInterval = 20; // 间隔
|
||||
QFont m_sdLabelFont = QFont("微软雅黑", 16); // 标注字体
|
||||
QFont m_sdLabelFont = QFont("微软雅黑", 10); // 标注字体
|
||||
double m_sdRotationAngle = 0.0; // 旋转(°)
|
||||
bool m_sdDrawStartDepth; // 绘制起点深度
|
||||
bool m_sdDrawEndDepth; // 绘制终点深度
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user