Merge branch 'feature/ribbon-menu-20240927' of http://1.92.128.200:3000/YXS/nmWATI into feature/ribbon-menu-20240927
# Conflicts: # .gitignorefeature/ribbon-menu-20240927
commit
f98d4ca3d9
@ -1,5 +1,18 @@
|
||||
Bin/Debug
|
||||
Bin/Release
|
||||
Bin/Temp
|
||||
build-*
|
||||
Src4/nmWTAI.pro.user
|
||||
Src4/build
|
||||
Src4/build
|
||||
Src4/nmNum/nmNum.pro.user
|
||||
Src4/nmNum/nmData
|
||||
!Src4/nmNum/nmData/nmData.pro
|
||||
Src4/nmNum/nmPlot
|
||||
!Src4/nmNum/nmPlot/nmPlot.pro
|
||||
Src4/nmNum/nmSubWnd
|
||||
!Src4/nmNum/nmSubWnd/nmSubWnd.pro
|
||||
Src4/nmNum/nmSubWxs
|
||||
!Src4/nmNum/nmSubWxs/nmSubWxs.pro
|
||||
Src4/nmNum/nmXml
|
||||
!Src4/nmNum/nmXml/nmXml.pro
|
||||
Src4/nmWTAI.pro.user.11
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
77u/PD94bWwgcup_mpadmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxSb290Pg0KCTxQYXJhR3wzyJvdXAgTmFtZT0iIiBBbGlhcz0i5LqV5Y+j5Y6L5Yqb5oqY566X5LqV5bqV5Y6L5YqbIj4NCgkJPFBhcmFJdGVtIERlc2M9ImNvbHVtbiBsZW5ndGgiIFVuaXQ9Im0iIFRpcHM9IiIgRGVmYXVsdD0iMjAwMCIgRGlnaXQ9IjIiIE5hbWU9ImNsIiBBbGlhcz0i566h5p+x5oC76ZW/5bqmIiBNaW49IjEiIE1heD0iMTAwMDAiLz4NCgkJPFBhcmFJdGVtIERlc2M9IndlbGxoZWFkIEkuRC4iIFVuaXQ9Im0iIFRpcHM9IiIgRGVmYXVsdD0iMC4wNzYwMCIgRGlnaXQ9IjUiIE5hbWU9Indo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IuS6leW6leWll+euoeWGheW+hCIgTWluPSIxZS0wNSIgTWF4PSIxMDAwIi8+DQoJCTxQYXJhSXRlbSBEZXNjPSJmbHVpZCBkZW5zaXR5IiBVbml0PSJrZy9tXjMiIFRpcHM9IiIgRGVmYXVsdD0iMTAwMCIgRGlnaXQ9IjIiIE5hbWU9InBmIiBBbGlhcz0i5rWB5L2T5a+G5bqmIiBNaW49IjFlLTA1IiBNYXg9IjEwMDAwIi8+DQoJCTxQYXJhSXRlbSBEZXNjPSJjb25zaXN0ZW5jeSBjb2VmZmljaWVudCIgVW5pdD0ibVBhLnNebiIgVGlwcz0iIiBEZWZhdWx0PSI0MCIgRGlnaXQ9IjIiIE5hbWU9ImNjIiBBbGlhcz0i56ig5bqm57O75pWwIiBNaW49IjFlLTA1IiBNYXg9IjEwMDAwIi8+DQoJCTxQYXJhSXRlbSBEZXNjPSJmbG93IGJlaGF2aW9yIGluZGV4IiBVbml0PSJmcmFjdGlvbiIgVGlwcz0iIiBEZWZhdWx0PSIwLjYwIiBEaWdpdD0iMiIgTmFtZT0iZmJpIiBBbGlhcz0i5rWB5Y+Y5oyH5pWwIiBNaW49IjFlLTA1IiBNYXg9IjEwMDAwIi8+DQoJPC9QYXJhR3JvdXA+DQo8L1Jvb3Q+DQo=
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,203 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<zhAttributes>
|
||||
<PtyGroup Label="对象" Name="ZxObjBase" Order="1">
|
||||
<PtyItem Label="对象名称" Name="ZxObjBase.Name" Editor="Edit" Order="1" Path="ZxObjBase.cpp(595)"/>
|
||||
<PtyItem Label="显示子对象" Name="ZxObjBase.ShowSubObjs" Editor="Bool" Order="2" Path="ZxObjBase.cpp(598)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="对象" Name="Axis1" Order="2">
|
||||
<PtyItem Label="名称" Name="Axis.Name" Editor="Edit" Order="1" Path="ZxSubAxisBase.cpp(418)"/>
|
||||
<PtyItem Label="单位" Name="Axis.Unit" Editor="Edit" Order="2" Readonly="1" Path="ZxSubAxisBase.cpp(423)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="范围" Name="Axis2" Order="3">
|
||||
<PtyItem Label="最小" Name="Scale.Min" Editor="Edit" Order="1" Path="ZxSubAxisBase.cpp(431)"/>
|
||||
<PtyItem Label="最大" Name="Scale.Max" Editor="Edit" Order="2" Path="ZxSubAxisBase.cpp(432)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="网格" Name="Axis3" Order="4">
|
||||
<PtyItem Label="显示主刻度" Name="Axis.showBigScale" Editor="Bool" Order="1" Path="ZxSubAxisBase.cpp(439)"/>
|
||||
<PtyItem Label="显示细分刻度" Name="Axis.showSmallScale" Editor="Bool" Order="2" Path="ZxSubAxisBase.cpp(440)"/>
|
||||
<PtyItem Label="主刻度" Name="Axis.MainInterval" Editor="Edit" Order="3" Path="ZxSubAxisBase.cpp(433)"/>
|
||||
<PtyItem Label="细分刻度" Name="Axis.SubInterval" Editor="Edit" Order="4" Path="ZxSubAxisBase.cpp(434)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="显示模式" Name="Axis4" Order="5">
|
||||
<PtyItem Label="刻度显于外侧" Name="Axis.scaleOutward" Editor="Bool" Order="1" Path="ZxSubAxisBase.cpp(441)"/>
|
||||
<PtyItem Label="乘幂显示刻度" Name="Axis.showTickAsExp" Editor="Bool" Order="2" Path="ZxSubAxisBase.cpp(449)"/>
|
||||
<PtyItem Label="小数位数" Name="Axis.DecimalNumber" Editor="IntSpin" Order="3" Path="ZxSubAxisBase.cpp(442)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="外观" Name="Axis5" Order="6">
|
||||
<PtyItem Label="名称字体" Name="Axis.NameFont" Editor="Font" Order="1" Path="ZxSubAxisBase.cpp(444)"/>
|
||||
<PtyItem Label="刻度字体" Name="Axis.NumberFont" Editor="Font" Order="2" Path="ZxSubAxisBase.cpp(445)"/>
|
||||
<PtyItem Label="幂字体" Name="Axis.IndexFont" Editor="Font" Order="3" Path="ZxSubAxisBase.cpp(448)"/>
|
||||
<PtyItem Label="颜色" Name="Axis.Color" Editor="Color" Order="4" Path="ZxSubAxisBase.cpp(426)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="基础" Name="Plot1" Order="7">
|
||||
<PtyItem Label="显示标题" Name="Plot.ShowTitle" Editor="Bool" Order="1" Path="ZxPlotBase.cpp(689)"/>
|
||||
<PtyItem Label="显示图例" Name="Plot.ShowLegend" Editor="Bool" Order="2" Path="ZxPlotBase.cpp(687)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="网格" Name="Plot2" Order="8">
|
||||
<PtyItem Label="显示主刻度X" Name="Plot.showScaleBigX" Editor="Bool" Order="1" Path="ZxPlotBase.cpp(692)"/>
|
||||
<PtyItem Label="显示主刻度Y" Name="Plot.showScaleBigY" Editor="Bool" Order="2" Path="ZxPlotBase.cpp(693)"/>
|
||||
<PtyItem Label="显示次刻度X" Name="Plot.showScaleSmallX" Editor="Bool" Order="3" Path="ZxPlotBase.cpp(695)"/>
|
||||
<PtyItem Label="显示次刻度Y" Name="Plot.showScaleSmallY" Editor="Bool" Order="4" Path="ZxPlotBase.cpp(696)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="填充" Name="Plot3" Order="9">
|
||||
<PtyItem Label="渐变色1" Name="Plot.BKColor" Editor="Color" Order="1" Path="ZxPlotBase.cpp(682)"/>
|
||||
<PtyItem Label="渐变色2" Name="Plot.BKColorEx" Editor="Color" Order="2" Path="ZxPlotBase.cpp(683)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="外观" Name="Plot4" Order="10">
|
||||
<PtyItem Label="边框颜色" Name="Plot.FrameColor" Editor="Color" Order="1" Path="ZxPlotBase.cpp(685)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="边界" Name="Plot5" Order="11">
|
||||
<PtyItem Label="边距" Name="Plot.Margin" Editor="Edit" Order="1" Path="ZxPlotBase.cpp(698)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="其它" Name="Plot6" Order="12">
|
||||
<PtyItem Label="标题位置" Name="Plot.TitlePos" Editor="Enum" Order="1" Path="ZxPlotBase.cpp(700)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="基础" Name="ZxObj1" Order="13">
|
||||
<PtyItem Label="曲线可见" Name="ZxObjCurveBase.CurveVisible" Editor="Bool" Order="1" Path="ZxObjCurvePressure.cpp(294)"/>
|
||||
<PtyItem Label="线可见" Name="ZxObjCurveFlow.LineVisible" Editor="Bool" Order="2" Path="ZxObjCurveFlow.cpp(870)"/>
|
||||
<PtyItem Label="流动段可见" Name="ZxObjCurveFlow.SegmentVisible" Editor="Bool" Order="3" Path="ZxObjCurveFlow.cpp(871)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="外观" Name="ZxObj2" Order="14">
|
||||
<PtyItem Label="画笔" Name="ZxObjCurveBase.Pen" Editor="Pen" Order="1" Path="ZxObjCurvePressure.cpp(293)"/>
|
||||
<PtyItem Label="流动线颜色" Name="ZxObjCurveBase.clrFlowLine" Editor="Color" Order="2" Path="ZxObjCurveFlow.cpp(872)"/>
|
||||
<PtyItem Label="流动段颜色" Name="ZxObjCurveFlow.clrFlowSegment" Editor="Color" Order="3" Path="ZxObjCurveFlow.cpp(873)"/>
|
||||
<PtyItem Label="点模式" Name="ZxObjCurveBase.Dot" Editor="Dot" Order="4" Path="ZxObjCurvePressure.cpp(295)"/>
|
||||
<PtyItem Label="选中点模式" Name="ZxObjCurveBase.DotSel" Editor="Dot" Order="5" Path="ZxObjCurvePressure.cpp(296)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="位置" Name="ZxObj3" Order="15">
|
||||
<PtyItem Label="选择索引" Name="ZxObjCurveFlow.CurSegPtIndex" Editor="Edit" Order="1" Readonly="1" Path="ZxObjCurveFlow.cpp(875)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="其它" Name="ZxObj4" Order="16">
|
||||
<PtyItem Label="移动模式" Name="ZxObjCurveFlow.objCurveFlowMoveMode" Editor="Enum" Order="1" Path="ZxObjCurvePressure.cpp(300)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="外观" Name="Legend1" Order="17">
|
||||
<PtyItem Label="显示边框" Name="Ld.ShowFrame" Editor="Bool" Order="1" Path="ZxSubLegendEx.cpp(379)"/>
|
||||
<PtyItem Label="边框画笔" Name="Ld.FramePen" Editor="Pen" Order="2" Path="ZxSubLegendEx.cpp(380)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="分组标识" Name="Legend2" Order="18">
|
||||
<PtyItem Label="填充色" Name="LdGroup.BackgrdClr" Editor="Color" Order="1" Path="ZxSubLegendEx.cpp(382)"/>
|
||||
<PtyItem Label="填充色透明度" Name="LdGroup.BackgrdClrAlpha" Editor="Slider" Order="2" Path="ZxSubLegendEx.cpp(383)" Min="0" Max="100"/>
|
||||
<PtyItem Label="分组名称字体" Name="LdGroup.TextFont" Editor="Font" Order="3" Path="ZxSubLegendEx.cpp(384)"/>
|
||||
<PtyItem Label="分组名称颜色" Name="LdGroup.TextClr" Editor="Color" Order="4" Path="ZxSubLegendEx.cpp(385)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="图例项" Name="Legend3" Order="19">
|
||||
<PtyItem Label="填充颜色" Name="LdItem.BackgrdClr" Editor="Color" Order="1" Path="ZxSubLegendEx.cpp(387)"/>
|
||||
<PtyItem Label="填充色透明度" Name="LdItem.BackgrdClrAlpha" Editor="Slider" Order="2" Path="ZxSubLegendEx.cpp(388)" Min="0" Max="100"/>
|
||||
<PtyItem Label="图例名称字体" Name="LdItem.TextFont" Editor="Font" Order="3" Path="ZxSubLegendEx.cpp(389)"/>
|
||||
<PtyItem Label="图例名称颜色" Name="LdItem.TextClr" Editor="Color" Order="4" Path="ZxSubLegendEx.cpp(390)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="边界" Name="Legend4" Order="20">
|
||||
<PtyItem Label="内缩进(px)" Name="Ld.MarginInner" Editor="Edit" Order="1" Readonly="1" Path="ZxSubLegendEx.cpp(392)"/>
|
||||
<PtyItem Label="外缩进(px)" Name="Ld.MarginOuter" Editor="Edit" Order="2" Readonly="1" Path="ZxSubLegendEx.cpp(393)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="整体位置" Name="Legend5" Order="21">
|
||||
<PtyItem Label="位置" Name="Ld.LdPos" Editor="Enum" Order="1" Path="ZxSubLegendEx.cpp(366)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="其它" Name="Legend6" Order="22" Expand="0">
|
||||
<PtyItem Label="图示宽度" Name="Ld.LeftWidth" Editor="Edit" Order="1" Readonly="1" Path="ZxSubLegendEx.cpp(394)"/>
|
||||
<PtyItem Label="标题高度" Name="Ld.GroupHeight" Editor="Edit" Order="2" Readonly="1" Path="ZxSubLegendEx.cpp(395)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="对象" Name="Title1" Order="23">
|
||||
<PtyItem Label="标题内容" Name="Title.TitleText" Editor="Edit" Order="1" Path="ZxSubTitle.cpp(97)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="外观" Name="Title2" Order="24">
|
||||
<PtyItem Label="标题字体" Name="Title.TextFont" Editor="Font" Order="1" Path="ZxSubTitle.cpp(99)"/>
|
||||
<PtyItem Label="标题颜色" Name="Title.TextColor" Editor="Color" Order="2" Path="ZxSubTitle.cpp(98)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="基础" Name="Rect1" Order="25">
|
||||
<PtyItem Label="显示边框" Name="Rect.ShowBox" Editor="Bool" Order="1" Path="ZxObjRect.cpp(309)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="填充" Name="Rect2" Order="26">
|
||||
<PtyItem Label="背景颜色" Name="Rect.BackgroundColor" Editor="Color" Order="1" Path="ZxObjRect.cpp(307)"/>
|
||||
<PtyItem Label="背景颜色透明度" Name="Rect.BackgroundAlpha" Editor="Slider" Order="2" Path="ZxObjRect.cpp(308)" Min="0" Max="100"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="外观" Name="Rect3" Order="27">
|
||||
<PtyItem Label="画笔" Name="Rect.BoundPen" Editor="Pen" Order="1" Path="ZxObjRect.cpp(310)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="边界" Name="Band1" Order="28">
|
||||
<PtyItem Label="左边界" Name="Band.L" Editor="Edit" Order="1" Path="ZxObjBand.cpp(223)"/>
|
||||
<PtyItem Label="右边界" Name="Band.R" Editor="Edit" Order="2" Path="ZxObjBand.cpp(224)"/>
|
||||
<PtyItem Label="上边界" Name="Band.T" Editor="Edit" Order="3" Path="ZxObjBand.cpp(228)"/>
|
||||
<PtyItem Label="下边界" Name="Band.B" Editor="Edit" Order="4" Path="ZxObjBand.cpp(229)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="外观" Name="Point" Order="29">
|
||||
<PtyItem Label="点模式" Name="Point.Dot" Editor="Dot" Order="1" Path="ZxObjPoint.cpp(157)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="基础" Name="Line1" Order="30">
|
||||
<PtyItem Label="显示点" Name="Line.ShowDotPoint" Editor="Bool" Order="1" Path="ZxObjLine.cpp(283)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="外观" Name="Line2" Order="31">
|
||||
<PtyItem Label="画笔" Name="Line.Pen" Editor="Pen" Order="1" Path="ZxObjLine.cpp(282)"/>
|
||||
<PtyItem Label="点模式" Name="Line.Dot" Editor="Dot" Order="2" Path="ZxObjLine.cpp(284)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="位置" Name="Line3" Order="32">
|
||||
<PtyGroup Label="起点" Name="StartPos" Order="1" Expand="0">
|
||||
<PtyItem Label="X" Name="StartPos.X" Editor="Edit" Order="1" Path="ZxObjLine.cpp(278)"/>
|
||||
<PtyItem Label="Y" Name="StartPos.Y" Editor="Edit" Order="2" Path="ZxObjLine.cpp(279)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="终点" Name="EndPos" Order="33" Expand="0">
|
||||
<PtyItem Label="X" Name="EndPos.X" Editor="Edit" Order="1" Path="ZxObjLine.cpp(280)"/>
|
||||
<PtyItem Label="Y" Name="EndPos.Y" Editor="Edit" Order="2" Path="ZxObjLine.cpp(281)"/>
|
||||
</PtyGroup>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="填充" Name="Polygon1" Order="34">
|
||||
<PtyItem Label="是否填充" Name="Polygon.IsFill" Editor="Bool" Order="1" Path="ZxObjPolygon.cpp(283)"/>
|
||||
<PtyItem Label="填充颜色" Name="Polygon.FillColor" Editor="Color" Order="2" Path="ZxObjPolygon.cpp(282)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="外观" Name="Polygon2" Order="35">
|
||||
<PtyItem Label="边界画笔" Name="Polygon.Pen" Editor="Pen" Order="1" Path="ZxObjPolygon.cpp(281)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="对象" Name="Text1" Order="36">
|
||||
<PtyItem Label="文本" Name="Text.Text" Editor="Edit" Order="1" Path="ZxObjText.cpp(206)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="显示模式" Name="Text2" Order="37">
|
||||
<PtyItem Label="自动调整" Name="Text.AutoAdjust" Editor="Bool" Order="1" Path="ZxObjText.cpp(209)"/>
|
||||
<PtyItem Label="对齐模式" Name="Text.AlignFlag" Editor="Flags" Order="2" Path="ZxObjText.cpp(213)"/>
|
||||
<PtyGroup Label="文本对齐" Name="Align" Order="3" Expand="0">
|
||||
<PtyItem Label="水平对齐" Name="Text.AlignHor" Editor="Enum" Order="1" Path="ZxObjText.cpp(216)"/>
|
||||
<PtyItem Label="垂直对齐" Name="Text.AlignVert" Editor="Enum" Order="2" Path="ZxObjText.cpp(226)"/>
|
||||
</PtyGroup>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="外观" Name="Text3" Order="38">
|
||||
<PtyItem Label="字体" Name="Text.Font" Editor="Font" Order="2" Path="ZxObjText.cpp(207)"/>
|
||||
<PtyItem Label="字体颜色" Name="Text.Color" Editor="Color" Order="3" Path="ZxObjText.cpp(208)"/>
|
||||
<PtyItem Label="边框画笔" Name="Text.BorderPen" Editor="Pen" Order="9" Path="ZxStringItem.cpp(121)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="其它" Name="Text4" Order="39">
|
||||
<PtyItem Label="允许编辑" Name="Text.ManulEdit" Editor="Bool" Order="5" Path="ZxObjText.cpp(210)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="图片" Name="Image" Order="40">
|
||||
<PtyItem Label="来源" Name="Image.ImgPath" Editor="Picture" Order="1" Path="ZxObjImage.cpp(110)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="色表" Name="ColorTable" Order="41">
|
||||
<PtyItem Label="名称" Name="ColorTable.Name" Editor="Edit" Order="1" Path="ZxSubColorTable.cpp(287)"/>
|
||||
<PtyItem Label="单位" Name="ColorTable.Unit" Editor="Edit" Order="2" Path="ZxSubColorTable.cpp(288)"/>
|
||||
<PtyItem Label="最大" Name="ColorTable.Max" Editor="Edit" Order="3" Path="ZxSubColorTable.cpp(289)"/>
|
||||
<PtyItem Label="最小" Name="ColorTable.Min" Editor="Edit" Order="4" Path="ZxSubColorTable.cpp(290)"/>
|
||||
<PtyItem Label="类型" Name="ColorTable.ColorType" Editor="Enum" Order="5" Path="ZxSubColorTable.cpp(292)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="ZxObjCurveBar.Border" Name="ZxObjCurveBar.Border" Order="42">
|
||||
<PtyItem Label="" Name="ZxObjCurveBar.Border.Visible" Editor="Bool" Order="1" Path="ZxObjCurveBar.cpp(460)"/>
|
||||
<PtyItem Label="Pen" Name="ZxObjCurveBar.Border.Pen" Editor="Pen" Order="2" Path="ZxObjCurveBar.cpp(463)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="ZxObjCurveBar.Bar" Name="ZxObjCurveBar.Bar" Order="43">
|
||||
<PtyItem Label="Width" Name="ZxObjCurveBar.Bar.Width" Editor="Edit" Order="1" Path="ZxObjCurveBar.cpp(466)"/>
|
||||
<PtyItem Label="" Name="ZxObjCurveBar.Bar.Fill" Editor="Edit" Order="2" Path="ZxObjCurveBar.cpp(467)"/>
|
||||
<PtyItem Label="" Name="ZxObjCurveBar.Bar.FillClr" Editor="Color" Order="3" Path="ZxObjCurveBar.cpp(470)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="ZxObjCurveBar.Value" Name="ZxObjCurveBar.Value" Order="44">
|
||||
<PtyItem Label="" Name="ZxObjCurveBar.Value.PinValue" Editor="Edit" Order="1" Path="ZxObjCurveBar.cpp(473)"/>
|
||||
<PtyItem Label="" Name="ZxObjCurveBar.Value.PinFont" Editor="Font" Order="2" Path="ZxObjCurveBar.cpp(476)"/>
|
||||
<PtyItem Label="" Name="ZxObjCurveBar.Value.PinClr" Editor="Color" Order="3" Path="ZxObjCurveBar.cpp(477)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="ZxObjCurveBar" Name="ZxObjCurveBar" Order="45">
|
||||
<PtyItem Label="" Name="ZxObjCurveBar.Show3D" Editor="Edit" Order="1" Path="ZxObjCurveBar.cpp(479)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="外观" Name="WmLine" Order="46">
|
||||
<PtyItem Label="画笔" Name="WmLine.Pen" Editor="Pen" Order="1" Path="nmObjLine.cpp(278)"/>
|
||||
</PtyGroup>
|
||||
<PtyGroup Label="外观" Name="ObjPolygon" Order="47">
|
||||
<PtyItem Label="边框画笔" Name="ObjPolygon.Pen" Editor="Pen" Order="1" Path="nmObjPolygon.cpp(183)"/>
|
||||
<PtyItem Label="填充背景" Name="ObjPolygon.BackgrdColor" Editor="Color" Order="2" Path="nmObjPolygon.cpp(184)"/>
|
||||
</PtyGroup>
|
||||
</zhAttributes>
|
@ -0,0 +1,29 @@
|
||||
#ifndef NMDATALOGFILE_H
|
||||
#define NMDATALOGFILE_H
|
||||
|
||||
#include "nmData_global.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QTextStream>
|
||||
#include <QFile>
|
||||
|
||||
class NM_DATA_EXPORT nmDataLogFile : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit nmDataLogFile(QObject *parent = nullptr);
|
||||
~nmDataLogFile();
|
||||
// 获取对象,单例模式
|
||||
static nmDataLogFile* getInstance();
|
||||
// 写日志文件
|
||||
void writeLog(const QString &message);
|
||||
private:
|
||||
static nmDataLogFile* _instance;
|
||||
|
||||
QTextStream m_textStream;
|
||||
QFile m_logFile;
|
||||
signals:
|
||||
|
||||
};
|
||||
|
||||
#endif // NMDATALOGFILE_H
|
@ -0,0 +1,33 @@
|
||||
#include "nmDataLogFile.h"
|
||||
#include <QFile>
|
||||
#include <QDateTime>
|
||||
|
||||
nmDataLogFile::nmDataLogFile(QObject *parent) : QObject(parent)
|
||||
{
|
||||
m_logFile.setFileName("nmDebug.log");
|
||||
if (m_logFile.open(QIODevice::WriteOnly | QIODevice::Append)) {
|
||||
m_textStream.setDevice(&m_logFile);
|
||||
m_textStream.setCodec("UTF-8");
|
||||
}
|
||||
}
|
||||
|
||||
nmDataLogFile::~nmDataLogFile()
|
||||
{
|
||||
m_logFile.close();
|
||||
}
|
||||
|
||||
nmDataLogFile* nmDataLogFile::_instance = NULL;
|
||||
|
||||
nmDataLogFile* nmDataLogFile::getInstance()
|
||||
{
|
||||
if (NULL == _instance) {
|
||||
_instance = new nmDataLogFile();
|
||||
}
|
||||
return _instance;
|
||||
}
|
||||
|
||||
void nmDataLogFile::writeLog(const QString &message)
|
||||
{
|
||||
m_textStream << QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss") << " - " << message << endl;
|
||||
m_logFile.flush();
|
||||
}
|
Loading…
Reference in New Issue