MainWindow.qml 124 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898
  1. import QtQml 2.3
  2. import QtQuick 2.6
  3. import QtQuick.Window 2.2
  4. import QtQuick.Controls 2.0
  5. import QtDataVisualization 1.2
  6. import QtQuick3D
  7. import QtCharts 2.0
  8. import QtMultimedia
  9. import QtQuick.Layouts 1.3
  10. import "backend.js" as Backend
  11. /*
  12. 智能驾驶系统显示界面
  13. */
  14. Item {
  15. id: mainWindow
  16. visible: true
  17. width: 3840
  18. height: 1080
  19. property int mainHeight: 1000
  20. property int camHeight: 360
  21. property int lineWidth: 10
  22. property int statusWidth: 480
  23. property int leftCamWidth: 620
  24. property int frontCamWidth: 1660
  25. property int rightCamWidth: 620
  26. property int radarWidth: 480
  27. property int radarSize: 120
  28. property int radarRedRange: 2000
  29. property int radarGreenRange: 4000
  30. property string radarRightFGreenImg: 'qrc:/images/right_f_green.png'
  31. property string radarRightFYellowImg: 'qrc:/images/right_f_yellow.png'
  32. property string radarRightFRedImg: 'qrc:/images/right_f_red.png'
  33. property string radarRightRGreenImg: 'qrc:/images/right_r_green.png'
  34. property string radarRightRYellowImg: 'qrc:/images/right_r_yellow.png'
  35. property string radarRightRRedImg: 'qrc:/images/right_r_red.png'
  36. property string radarLeftFGreenImg: 'qrc:/images/left_f_green.png'
  37. property string radarLeftFYellowImg: 'qrc:/images/left_f_yellow.png'
  38. property string radarLeftFRedImg: 'qrc:/images/left_f_red.png'
  39. property string radarLeftRGreenImg: 'qrc:/images/left_r_green.png'
  40. property string radarLeftRYellowImg: 'qrc:/images/left_r_yellow.png'
  41. property string radarLeftRRedImg: 'qrc:/images/left_r_red.png'
  42. property string radarBottomGreenImg: 'qrc:/images/bottom_green.png'
  43. property string radarBottomYellowImg: 'qrc:/images/bottom_yellow.png'
  44. property string radarBottomRedImg: 'qrc:/images/bottom_red.png'
  45. property int radarRightMargin: 40
  46. property int radarTopMargin: 350
  47. property int radarBottomMargin: 280
  48. property int radarleftMargin: 200
  49. property int radarTxtSize: 14
  50. property int currentIndex: 0
  51. property var textList: [{
  52. "text": " ",
  53. "visible": true
  54. }, {
  55. "text": "机油压力低报警",
  56. //"visible": true
  57. "visible": appModel.lowOilPressureAlarm
  58. }, {
  59. "text": "发动机水温高报警",
  60. "visible": appModel.engineWaterTemperatureAlarm
  61. //"visible": true
  62. }, {
  63. //"text": "发动机油温高报警",
  64. "visible": appModel.highEngineOilTemperatureAlarm
  65. //"visible": true
  66. }, {
  67. "text": "发动机水位低报警",
  68. "visible": appModel.engineWaterLevelLowAlarm
  69. //"visible": true
  70. }, {
  71. "text": "燃油油位低报警",
  72. "visible": appModel.lowFuelOilAlarm
  73. //"visible": true
  74. }, {
  75. "text": "回油滤网堵塞报警",
  76. "visible": appModel.returnOilFilterBlockedAlarm
  77. //"visible": true
  78. }, {
  79. "text": "吸油滤网堵塞报警",
  80. "visible": appModel.oilFilterBlockedAlarm
  81. //"visible": true
  82. }, {
  83. "text": "控制滤网堵塞报警",
  84. "visible": appModel.controlScreenBlockageAlarm
  85. //"visible": true
  86. }, {
  87. "text": "应急滤网堵塞报警",
  88. "visible": appModel.emergencyFilterBlockingAlarm
  89. //"visible": true
  90. }, {
  91. "text": "冷却滤网堵塞报警",
  92. "visible": appModel.coolingFilterBlockedAlarm
  93. //"visible": true
  94. }, {
  95. "text": "电泵滤网堵塞报警",
  96. "visible": appModel.electricPumpScreenBlockedAlarm
  97. //"visible": true
  98. }, {
  99. "text": "制动滤网堵塞报警",
  100. "visible": appModel.brakeFilterBlockedAlarm
  101. //"visible": true
  102. }, {
  103. "text": "变速滤网堵塞报警",
  104. "visible": appModel.variableSpeedFilterBlockedAlarm
  105. //"visible": true
  106. }, {
  107. "text": "电压低报警",
  108. //"visible": appModel.lowVoltageAlarm
  109. "visible": true
  110. }, {
  111. "text": "变速箱油温高",
  112. "visible": appModel.highTransmissionOilTemperature
  113. //"visible": true
  114. }, {
  115. "text": "变速箱油压低",
  116. "visible": appModel.transmissionOilPressureIsLow
  117. //"visible": true
  118. }, {
  119. "text": "油温传感器1故障",
  120. "visible": appModel.oilTemperatureSensor1IsFaulty
  121. //"visible": true
  122. }, {
  123. "text": "油温传感器2故障",
  124. "visible": appModel.oilTemperatureSensor2IsFaulty
  125. //"visible": true
  126. }, {
  127. "text": "油位传感器故障",
  128. //"visible": true
  129. "visible": appModel.oilLevelSensorIsFaulty
  130. }, {
  131. "text": "前油门故障",
  132. "visible": appModel.frontThrottleFault
  133. //"visible": true
  134. }, {
  135. "text": "后油门故障",
  136. //"visible": true
  137. "visible": appModel.rearThrottleFault
  138. }, {
  139. "text": "大臂手柄故障",
  140. //"visible": true
  141. "visible": appModel.handleOfTheUpperArmIsFaulty
  142. }, {
  143. "text": "左支腿手柄故障",
  144. "visible": appModel.leftLegHandleIsFaulty
  145. //"visible": true
  146. }, {
  147. "text": "右支腿手柄故障",
  148. //"visible": true
  149. "visible": appModel.rightLegHandleIsFaulty
  150. }, {
  151. "text": "发动机总线故障",
  152. //"visible": true
  153. "visible": appModel.engineBusFault
  154. }, {
  155. "text": "变速箱总线故障",
  156. //"visible": true
  157. "visible": appModel.transmissionBusFault
  158. }, {
  159. "text": "遥控器总线故",
  160. //"visible": true
  161. "visible": appModel.remoteControlBusFault
  162. }, {
  163. "text": "有杆腔传感器故障",
  164. //"visible": true
  165. "visible": appModel.rodChamberPressureSensorIsFaulty
  166. }, {
  167. "text": "无杆腔传感器故障",
  168. //"visible": true
  169. "visible": appModel.noRodChamberPressureSensorIsFaulty
  170. }, {
  171. "text": "制动压力传感器故障",
  172. //"visible": true
  173. "visible": appModel.brakePressureSensorIsFaulty
  174. }, {
  175. "text": "系统压力传感器故障",
  176. //"visible": true
  177. "visible": appModel.systemPressureSensorIsFaulty
  178. }, {
  179. "text": "控制压力传感器故障",
  180. //"visible": true
  181. "visible": appModel.controlPressureSensorIsFaulty
  182. }, {
  183. "text": "转向压力传感器故障",
  184. //"visible": true
  185. "visible": appModel.steeringPressureSensorIsFaulty
  186. }, {
  187. "text": "小臂压力传感器故障",
  188. //"visible": true
  189. "visible": appModel.pressureSensorOfTheLowerArmIsFaulty
  190. }, {
  191. "text": "锁销位移传感器L故障",
  192. //"visible": true
  193. "visible": appModel.lockingPinDisplacementSensorLIsFaulty
  194. }, {
  195. "text": "锁销位移传感器R故障",
  196. //"visible": true
  197. "visible": appModel.lockingPinDisplacementSensorRIsFaulty
  198. }, {
  199. "text": "支腿位移传感器L故障",
  200. //"visible": true
  201. "visible": appModel.legDisplacementSensorLIsFaulty
  202. }, {
  203. "text": "支腿位移传感器R故障",
  204. //"visible": true
  205. "visible": appModel.legDisplacementSensorRIsFaulty
  206. }, {
  207. "text": "转向编码器故障",
  208. //"visible": true
  209. "visible": appModel.steeringEncoderFailure
  210. }
  211. ]
  212. function getCurrentDate() {
  213. var currentDate = new Date();
  214. var year = currentDate.getFullYear();
  215. var month = currentDate.getMonth() + 1; // 月份是从0开始的,所以要加1
  216. var day = currentDate.getDate();
  217. return year + "-" + (month < 10 ? "0" + month : month) + "-" + (day < 10 ? "0" + day : day);
  218. }
  219. FontLoader {
  220. id: alibaba
  221. source: "qrc:/components/font/Alibaba-PuHuiTi-Bold.ttf"
  222. }
  223. FontLoader {
  224. id: fontawesome
  225. source: "qrc:/components/font/fontawesome-webfont.ttf"
  226. }
  227. Rectangle {
  228. id: mainForm
  229. anchors.fill: parent
  230. Image {
  231. fillMode: Image.PreserveAspectFit
  232. source: 'qrc:/images/bg4k.png'}
  233. Rectangle {
  234. id: mainFormHeader
  235. width: mainForm.width
  236. height: 80
  237. color: 'transparent'
  238. Image {
  239. id: mainFormBannerBg
  240. anchors.top: mainFormHeader.top
  241. anchors.horizontalCenter: mainFormHeader.horizontalCenter
  242. fillMode: Image.PreserveAspectFit
  243. source: 'qrc:/images/banner.png'
  244. }
  245. Text {
  246. id: mainFormTitle
  247. width: mainFormHeader.width
  248. height: mainFormHeader.height
  249. horizontalAlignment: Text.AlignHCenter
  250. verticalAlignment: Text.AlignVCenter
  251. text: textTitle
  252. font.family: alibaba.name
  253. font.pointSize: 24
  254. color: mainTextColor
  255. }
  256. Text {
  257. id: delayms
  258. text: '网络延迟: ' + (appModel.ping / 2).toFixed(1) + ' ms'
  259. //text: ((appModel.ping / 2).toFixed(1)>20)?('网络延迟: ' + '8' + ' ms'):('网络延迟: ' + '0' + ' ms')
  260. color: appModel.ping/2 > 200 ? popupBgColorErr : mainTextColor
  261. font.family: alibaba.name
  262. font.pointSize: 14
  263. anchors.right: mainFormHeader.right
  264. anchors.rightMargin: 1050
  265. anchors.top: mainFormHeader.top
  266. anchors.topMargin: 40
  267. }
  268. }
  269. Rectangle {
  270. id: mainFormContent
  271. width: mainForm.width
  272. height: mainForm.height - 80
  273. anchors.top: mainFormHeader.bottom
  274. color: 'transparent'
  275. Row {
  276. Rectangle {
  277. id: statusData
  278. width: statusWidth + lineWidth -100
  279. height: mainHeight
  280. color: 'transparent'
  281. Rectangle {
  282. id: carImage
  283. width: statusData.width - 200
  284. height: 300
  285. color: 'transparent'
  286. anchors.horizontalCenter: statusData.horizontalCenter
  287. anchors.top: statusData.top
  288. anchors.topMargin: 50
  289. anchors.left: statusData.left
  290. anchors.horizontalCenterOffset: 10
  291. Text{
  292. text:"车辆姿态"
  293. color: mainTextColor
  294. anchors.top: carImage.bottom
  295. anchors.topMargin: -300
  296. anchors.left: carImage.left
  297. anchors.leftMargin: 50
  298. font.family:alibaba.name
  299. font.pointSize:14
  300. }
  301. Row{
  302. id: drivePicture
  303. width: statusData.width - 100
  304. height: 300
  305. anchors.top: carImage.bottom
  306. anchors.topMargin: -250
  307. anchors.left: carImage.left
  308. anchors.leftMargin: 50
  309. Image {
  310. id:carPicture
  311. width: 360/2
  312. height: 240/2
  313. anchors.right:carImage.right
  314. anchors.rightMargin:320
  315. source: 'qrc:/images/wagon.png'
  316. }
  317. Text{
  318. text:"转向角度"
  319. color: mainTextColor
  320. anchors.left:carPicture.right
  321. anchors.leftMargin:10
  322. anchors.top: carPicture.top
  323. anchors.topMargin: 60
  324. font.family:alibaba.name
  325. font.pointSize:14
  326. }
  327. Text {
  328. id: trunAngle1
  329. text:appModel.Steer.toFixed(1)
  330. //text: "15"
  331. color: mainTextColor
  332. anchors.left:carPicture.right
  333. anchors.leftMargin:100
  334. anchors.top: carPicture.top
  335. anchors.topMargin: 63
  336. font.family: digtalFont.name
  337. font.pointSize: 14
  338. }
  339. Text{
  340. text:"°"
  341. color: mainTextColor
  342. anchors.left:trunAngle1.right
  343. anchors.leftMargin:5
  344. anchors.top: carPicture.top
  345. anchors.topMargin: 60
  346. font.family:alibaba.name
  347. font.pointSize:14
  348. }
  349. spacing:20
  350. }
  351. }
  352. Row {
  353. id: driveDataForm
  354. width: statusData.width - 100
  355. height: 300
  356. anchors.bottom: carImage.bottom
  357. anchors.bottomMargin: -180
  358. anchors.left: carImage.left
  359. anchors.leftMargin: 50
  360. Image{
  361. id:carIDImage
  362. source:'qrc:/images/ID.png'
  363. }
  364. Text {
  365. text:"车辆ID:"
  366. color: mainTextColor
  367. font.family: alibaba.name
  368. font.pointSize: 14
  369. anchors.left: carIDImage.left
  370. anchors.leftMargin: 60
  371. }
  372. Text {
  373. id: driveOpType
  374. text:appModel.CarName
  375. //text:'一号车'
  376. color: '#FFFFFF'
  377. anchors.bottom: carIDImage.bottom
  378. anchors.bottomMargin: 6
  379. font.family: digtalFont.name
  380. font.pointSize: 12
  381. anchors.left: carIDImage.left
  382. anchors.leftMargin: 180
  383. }
  384. Text {
  385. text:"No."
  386. color: mainTextColor
  387. font.family: alibaba.name
  388. font.pointSize: 14
  389. anchors.left: carIDImage.left
  390. anchors.leftMargin: 280
  391. }
  392. //spacing: 30
  393. }
  394. Row {
  395. id: carDataForm
  396. width: statusData.width - 100
  397. height: 300
  398. anchors.bottom: carImage.bottom
  399. anchors.bottomMargin: -210
  400. anchors.left: carImage.left
  401. anchors.leftMargin: 50
  402. Image{
  403. id:waterTemp
  404. source:'qrc:/images/shuiwen.png'
  405. }
  406. Text {
  407. text:"发动机水温 :"
  408. color: mainTextColor
  409. font.family: digtalFont.name
  410. font.pointSize: 14
  411. anchors.left: waterTemp.left
  412. anchors.leftMargin: 60
  413. }
  414. Text {
  415. id: carOpType
  416. text:appModel.Cold
  417. //text:'65'
  418. color: '#FFFFFF'
  419. anchors.bottom: waterTemp.bottom
  420. anchors.bottomMargin: 6
  421. anchors.left: waterTemp.left
  422. anchors.leftMargin: 220
  423. font.family: digtalFont.name
  424. font.pointSize: 14
  425. }
  426. Text {
  427. text:"℃"
  428. color: mainTextColor
  429. font.family: alibaba.name
  430. font.pointSize: 14
  431. anchors.left: waterTemp.left
  432. anchors.leftMargin: 280
  433. }
  434. //spacing: 30
  435. }
  436. Row {
  437. id: tempState
  438. width: statusData.width - 100
  439. height: 300
  440. anchors.bottom: carImage.bottom
  441. anchors.bottomMargin: -240
  442. anchors.left: carImage.left
  443. anchors.leftMargin: 50
  444. visible:true
  445. Image{
  446. id: enginP
  447. source:'qrc:/images/yali.png'
  448. }
  449. Text {
  450. text: "发动机压力:"
  451. color: mainTextColor
  452. font.family: digtalFont.name
  453. font.pointSize: 14
  454. anchors.left: enginP.left
  455. anchors.leftMargin: 60
  456. }
  457. Text {
  458. id: tempValue
  459. text: appModel.EngineOilPressure
  460. //text:'47'
  461. color: '#FFFFFF'
  462. anchors.bottom: enginP.bottom
  463. anchors.bottomMargin: 6
  464. anchors.left: enginP.left
  465. anchors.leftMargin: 220
  466. font.family: digtalFont.name
  467. font.pointSize: 14
  468. }
  469. Text {
  470. text: "Kpa"
  471. color: mainTextColor
  472. font.family: alibaba.name
  473. font.pointSize: 14
  474. anchors.left: enginP.left
  475. anchors.leftMargin: 280
  476. }
  477. //spacing: 30
  478. }
  479. Row {
  480. id: steerState
  481. width: statusData.width - 100
  482. height: 300
  483. anchors.bottom: carImage.bottom
  484. anchors.bottomMargin: -270
  485. anchors.left: carImage.left
  486. anchors.leftMargin: 50
  487. visible:true
  488. Image{
  489. id:brakeP
  490. source:'qrc:/images/yali.png'
  491. }
  492. Text {
  493. text: "制动气压 :"
  494. color: mainTextColor
  495. font.family: digtalFont.name
  496. font.pointSize: 14
  497. anchors.left: brakeP.left
  498. anchors.leftMargin: 60
  499. }
  500. Text {
  501. id: steer
  502. text: appModel.BrakePressure
  503. //text:'45'
  504. color: '#FFFFFF'
  505. anchors.bottom: brakeP.bottom
  506. anchors.bottomMargin: 6
  507. anchors.left: brakeP.left
  508. anchors.leftMargin: 220
  509. font.family: digtalFont.name
  510. font.pointSize: 14
  511. }
  512. Text {
  513. text: "Kpa"
  514. color: mainTextColor
  515. font.family: alibaba.name
  516. font.pointSize: 14
  517. anchors.left: brakeP.left
  518. anchors.leftMargin: 280
  519. }
  520. //spacing: 30
  521. }
  522. Row {
  523. id: rpmState
  524. width: statusData.width - 100
  525. height: 300
  526. anchors.bottom: carImage.bottom
  527. anchors.bottomMargin: -300
  528. anchors.left: carImage.left
  529. anchors.leftMargin: 50
  530. visible:appModel.Visible
  531. Image{
  532. id:pelotTemp
  533. source:'qrc:/images/youwen.png'
  534. }
  535. Text {
  536. text: "变速箱油温:"
  537. color: mainTextColor
  538. font.family: digtalFont.name
  539. font.pointSize: 14
  540. anchors.left: pelotTemp.left
  541. anchors.leftMargin: 60
  542. }
  543. Text {
  544. id: rpmValue
  545. text: appModel.GearboxOilTemp
  546. //text:'57'
  547. color: '#FFFFFF'
  548. anchors.bottom: pelotTemp.bottom
  549. anchors.bottomMargin: 6
  550. anchors.left: pelotTemp.left
  551. anchors.leftMargin: 220
  552. font.family: digtalFont.name
  553. font.pointSize: 14
  554. }
  555. Text {
  556. text: "℃"
  557. color: mainTextColor
  558. font.family: alibaba.name
  559. font.pointSize: 14
  560. anchors.left: pelotTemp.left
  561. anchors.leftMargin: 280
  562. }
  563. spacing: 30
  564. }
  565. Row {
  566. id: gpaState
  567. width: statusData.width - 100
  568. height: 300
  569. anchors.bottom: carImage.bottom
  570. anchors.bottomMargin: -330
  571. anchors.left: carImage.left
  572. anchors.leftMargin: 50
  573. visible:appModel.Visible
  574. Image{
  575. id:pelotP
  576. source:'qrc:/images/youliang.png'
  577. }
  578. Text {
  579. text: "变速箱油压:"
  580. color: mainTextColor
  581. font.family: digtalFont.name
  582. font.pointSize: 14
  583. anchors.left: pelotP.left
  584. anchors.leftMargin: 60
  585. }
  586. Text {
  587. id: gpavalue
  588. text: appModel.GearboxOilPressure
  589. //text:'51'
  590. color: '#FFFFFF'
  591. anchors.bottom: pelotP.bottom
  592. anchors.bottomMargin: 6
  593. anchors.left: pelotP.left
  594. anchors.leftMargin: 220
  595. font.family: digtalFont.name
  596. font.pointSize: 14
  597. }
  598. Text {
  599. text: "Bar"
  600. color: mainTextColor
  601. font.family: alibaba.name
  602. font.pointSize: 14
  603. anchors.left: pelotP.left
  604. anchors.leftMargin: 280
  605. }
  606. spacing: 30
  607. }
  608. Row {
  609. id: coldState
  610. width: statusData.width - 100
  611. height: 300
  612. anchors.bottom: carImage.bottom
  613. anchors.bottomMargin: -360
  614. anchors.left: carImage.left
  615. anchors.leftMargin: 50
  616. visible:appModel.Visible
  617. Image{
  618. id:engineHour
  619. source:'qrc:/images/xiaoshi.png'
  620. }
  621. Text {
  622. text: "发动机工作小时:"
  623. color: mainTextColor
  624. font.family: digtalFont.name
  625. font.pointSize: 14
  626. anchors.left: engineHour.left
  627. anchors.leftMargin: 60
  628. }
  629. Text {
  630. id: coldValue
  631. text: appModel.engineTime
  632. //text:'8'
  633. color: '#FFFFFF'
  634. anchors.bottom: engineHour.bottom
  635. anchors.bottomMargin: 6
  636. anchors.left: engineHour.left
  637. anchors.leftMargin: 220
  638. font.family: digtalFont.name
  639. font.pointSize: 14
  640. }
  641. Text {
  642. text: "h"
  643. color: mainTextColor
  644. font.family: alibaba.name
  645. font.pointSize: 14
  646. anchors.left: engineHour.left
  647. anchors.leftMargin: 280
  648. }
  649. spacing: 30
  650. }
  651. Row {
  652. id: paState
  653. width: statusData.width - 100
  654. height: 300
  655. anchors.bottom: carImage.bottom
  656. anchors.bottomMargin: -390
  657. anchors.left: carImage.left
  658. anchors.leftMargin: 50
  659. visible:appModel.Visible
  660. Image{
  661. id:bagWeight
  662. source:'qrc:/images/zhongliang.png'
  663. }
  664. Text {
  665. text: "渣包重量:"
  666. color: mainTextColor
  667. font.family: digtalFont.name
  668. font.pointSize: 14
  669. anchors.left: bagWeight.left
  670. anchors.leftMargin: 60
  671. }
  672. Text {
  673. id: paValue
  674. text: appModel.cargoWeight
  675. //text:'12'
  676. color: '#FFFFFF'
  677. anchors.bottom: bagWeight.bottom
  678. anchors.bottomMargin: 6
  679. anchors.left: bagWeight.left
  680. anchors.leftMargin: 220
  681. font.family: digtalFont.name
  682. font.pointSize: 14
  683. }
  684. Text {
  685. text: "tons"
  686. color: mainTextColor
  687. font.family: alibaba.name
  688. font.pointSize: 14
  689. anchors.left: bagWeight.left
  690. anchors.leftMargin: 280
  691. }
  692. spacing: 30
  693. }
  694. Row {
  695. id: gearState
  696. width: statusData.width - 100
  697. height: 300
  698. anchors.bottom: carImage.bottom
  699. anchors.bottomMargin: -420
  700. anchors.left: carImage.left
  701. anchors.leftMargin: 50
  702. visible:appModel.Visible
  703. Image{
  704. id:powerV
  705. source:'qrc:/images/dianya.png'
  706. }
  707. Text {
  708. text: "电压:"
  709. color: mainTextColor
  710. font.family: digtalFont.name
  711. font.pointSize: 14
  712. anchors.left: powerV.left
  713. anchors.leftMargin: 60
  714. }
  715. Text {
  716. id: gearValue
  717. text: appModel.systemVol
  718. //text:'24'
  719. color: '#FFFFFF'
  720. anchors.bottom: powerV.bottom
  721. anchors.bottomMargin: 6
  722. anchors.left: powerV.left
  723. anchors.leftMargin: 220
  724. font.family: digtalFont.name
  725. font.pointSize: 14
  726. }
  727. Text {
  728. text: "V"
  729. color: mainTextColor
  730. font.family: alibaba.name
  731. font.pointSize: 14
  732. anchors.left: powerV.left
  733. anchors.leftMargin: 280
  734. }
  735. spacing: 30
  736. }
  737. Row {
  738. id: brakeState
  739. width: statusData.width - 100
  740. height: 300
  741. anchors.bottom: carImage.bottom
  742. anchors.bottomMargin: -450
  743. anchors.left: carImage.left
  744. anchors.leftMargin: 50
  745. visible:appModel.Visible
  746. Image{
  747. id:oilV
  748. source:'qrc:/images/youliang.png'
  749. }
  750. Text {
  751. text: "油量 :"
  752. color: mainTextColor
  753. font.family: digtalFont.name
  754. font.pointSize: 14
  755. anchors.left: oilV.left
  756. anchors.leftMargin: 60
  757. }
  758. Text {
  759. id: brakeValue
  760. text: appModel.fuelLevel
  761. //text:'70'
  762. color: '#FFFFFF'
  763. anchors.bottom: oilV.bottom
  764. anchors.bottomMargin: 6
  765. anchors.left: oilV.left
  766. anchors.leftMargin: 220
  767. font.family: digtalFont.name
  768. font.pointSize: 14
  769. }
  770. Text {
  771. text: "%"
  772. color: mainTextColor
  773. font.family: alibaba.name
  774. font.pointSize: 14
  775. anchors.left: oilV.left
  776. anchors.leftMargin: 280
  777. }
  778. spacing: 30
  779. }
  780. Row {
  781. id: presState
  782. width: statusData.width - 100
  783. height: 300
  784. anchors.bottom: carImage.bottom
  785. anchors.bottomMargin: -480
  786. anchors.left: carImage.left
  787. anchors.leftMargin: 50
  788. visible:appModel.Visible
  789. spacing: 30
  790. Image{
  791. id:warningN
  792. source:'qrc:/images/guzhang.png'
  793. }
  794. Text {
  795. id:faultyText
  796. text: "故障信息 :"
  797. color: mainTextColor
  798. font.family: digtalFont.name
  799. font.pointSize: 14
  800. }
  801. Timer {
  802. id: timer
  803. interval: textList[currentIndex].visible ? 3000 : 0
  804. running: true
  805. repeat: true
  806. onTriggered: {
  807. do {
  808. currentIndex = (currentIndex + 1) % textList.length
  809. } while (!textList[currentIndex].visible)
  810. }
  811. }
  812. Text {
  813. id: faultyTextValue
  814. anchors.bottom: warningN.bottom
  815. anchors.bottomMargin: 3
  816. text: textList[currentIndex].text
  817. color: 'red'
  818. font.family: alibaba.name
  819. font.pointSize: 14
  820. visible: textList[currentIndex].visible
  821. }
  822. }
  823. Rectangle {
  824. id: refreshDate
  825. width: statusData.width - 100
  826. height: 50
  827. color:"transparent"
  828. anchors.top: statusData.top
  829. anchors.topMargin: -40
  830. anchors.left: statusData.left
  831. anchors.leftMargin: 180
  832. //展示时间
  833. Text {
  834. id: localTime
  835. width: 140
  836. height: 50
  837. anchors.horizontalCenter: refreshDate.horizontalCenter
  838. color: '#FFFFFF'
  839. font.family: digtalFont.name
  840. font.pointSize: 20
  841. text: new Date().toLocaleTimeString()
  842. Component.onCompleted: {
  843. localTimeRefresh.start()
  844. }
  845. }
  846. Text {
  847. id: localTimeCurrentDate
  848. width: 140
  849. height: 50
  850. //anchors.horizontalCenter: refreshDate.horizontalCenter
  851. anchors.left:refreshDate.left
  852. anchors.leftMargin:-80
  853. color: '#FFFFFF'
  854. font.family: digtalFont.name
  855. font.pointSize: 20
  856. text: getCurrentDate()
  857. Component.onCompleted: {
  858. localTimeRefresh.start()
  859. }
  860. }
  861. Timer {
  862. id: localTimeRefresh
  863. interval: 1000
  864. repeat: true
  865. onTriggered: {
  866. localTimeCurrentDate.text = getCurrentDate()
  867. localTime.text = new Date().toLocaleTimeString()
  868. }
  869. }
  870. }
  871. //bb
  872. Row {
  873. //仪表盘1
  874. id: dashboard1
  875. anchors.top: presState.bottom
  876. anchors.topMargin: -180
  877. anchors.left: presState.left
  878. anchors.leftMargin: -30
  879. Image {
  880. id: dashboardImage1
  881. z: 99
  882. height: 200
  883. width: 200
  884. fillMode: Image.Stretch
  885. visible: true
  886. source: 'qrc:/images/engineSpeed.png'
  887. }
  888. Image {
  889. id: pointer1
  890. x: dashboardImage1.width / 2 - pointer1.width / 2 - 20
  891. y: dashboardImage1.height / 2 - pointer1.height / 2 + 10
  892. z: 99
  893. height: 94 / 2
  894. width: 140 / 2
  895. fillMode: Image.Stretch
  896. visible: true
  897. source: 'qrc:/images/pointer.png'
  898. Component.onCompleted: {
  899. posPointer1Timer.start()
  900. }
  901. transform: Rotation {
  902. id: rotation
  903. origin.x: pointer1.width / 2 + 20
  904. origin.y: pointer1.height / 2 - 10
  905. angle: 0
  906. }
  907. }
  908. RotationAnimation {
  909. id: posPointer1
  910. target: rotation
  911. from: 0
  912. to: 0
  913. duration: 100
  914. }
  915. Timer {
  916. id: posPointer1Timer
  917. interval: 500
  918. repeat: true
  919. onTriggered: {
  920. posPointer1.to = appModel.EnginRpm / 5000 * 240
  921. //posPointer1.to = 0
  922. posPointer1.from = posPointer1.to
  923. posPointer1.start()
  924. }
  925. }
  926. Text {
  927. id: dashboard1Text
  928. anchors.bottom: dashboardImage1.bottom
  929. anchors.bottomMargin: -40
  930. anchors.left: dashboard1.left
  931. anchors.leftMargin: 55
  932. text: "发动机转速"
  933. color: mainTextColor
  934. font.family: alibaba.name
  935. font.pointSize: 14
  936. }
  937. Text {
  938. id: dashboard1Text1
  939. anchors.bottom: dashboard1Text.bottom
  940. anchors.bottomMargin: -20
  941. anchors.left: dashboard1Text.left
  942. anchors.leftMargin: 25
  943. text: "rpm"
  944. color: mainTextColor
  945. font.family: alibaba.name
  946. font.pointSize: 14
  947. }
  948. spacing: 50
  949. Text {
  950. id: dashboardImage1TextValue
  951. anchors.bottom: dashboard1Text1.bottom
  952. anchors.bottomMargin: -35
  953. anchors.left: dashboard1Text1.left
  954. anchors.leftMargin: 0
  955. text: appModel.EnginRpm
  956. color:'red'
  957. font.family: digtalFont.name
  958. font.pointSize: 18
  959. }
  960. Image {
  961. id: circle_green1
  962. anchors.bottom: dashboard1Text1.bottom
  963. anchors.bottomMargin: -45
  964. anchors.left: dashboard1Text.left
  965. anchors.leftMargin: -10
  966. z: 99
  967. height: 40
  968. width: 110
  969. fillMode: Image.Stretch
  970. visible: true
  971. source: 'qrc:/images/circle_green1.png'
  972. }
  973. }
  974. Row {
  975. //仪表盘2
  976. id: dashboard2
  977. anchors.top: presState.bottom
  978. anchors.topMargin: -180
  979. anchors.left: presState.right
  980. anchors.leftMargin: -130
  981. Image {
  982. id: dashboardImage2
  983. z: 99
  984. height: 200
  985. width: 200
  986. fillMode: Image.Stretch
  987. visible: true
  988. source: 'qrc:/images/carSpeed.png'
  989. }
  990. Image {
  991. id: pointer2
  992. x: dashboardImage2.width / 2 - pointer2.width / 2 - 20
  993. y: dashboardImage2.height / 2 - pointer2.height / 2 + 10
  994. z: 99
  995. height: 94 / 2
  996. width: 140 / 2
  997. fillMode: Image.Stretch
  998. visible: true
  999. source: 'qrc:/images/pointer.png'
  1000. Component.onCompleted: {
  1001. posPointer2Timer.start()
  1002. }
  1003. transform: Rotation {
  1004. id: rotation2
  1005. origin.x: pointer2.width / 2 + 20
  1006. origin.y: pointer2.height / 2 - 10
  1007. angle: 0
  1008. }
  1009. }
  1010. RotationAnimation {
  1011. id: posPointer2
  1012. target: rotation2
  1013. from: 0
  1014. to: 0
  1015. duration: 100
  1016. }
  1017. Timer {
  1018. id: posPointer2Timer
  1019. interval: 500
  1020. repeat: true
  1021. onTriggered: {
  1022. //posPointer2.to = posPointer1.to = appModel.Speed / 5000 * 240
  1023. posPointer2.to = appModel.Speed / 5000 * 240
  1024. posPointer2.from = posPointer2.to
  1025. //posPointer2.to = 240
  1026. posPointer2.start()
  1027. }
  1028. }
  1029. Text {
  1030. id: dashboard2Text
  1031. anchors.bottom: dashboardImage2.bottom
  1032. anchors.bottomMargin: -40
  1033. anchors.left: dashboard2.left
  1034. anchors.leftMargin: 60
  1035. text: "行驶速度"
  1036. color: mainTextColor
  1037. font.family: alibaba.name
  1038. font.pointSize: 14
  1039. }
  1040. Text {
  1041. id: dashboard2Text1
  1042. anchors.bottom: dashboard2Text.bottom
  1043. anchors.bottomMargin: -20
  1044. anchors.left: dashboard2Text.left
  1045. anchors.leftMargin: 15
  1046. text: "km/h"
  1047. color: mainTextColor
  1048. font.family: alibaba.name
  1049. font.pointSize: 14
  1050. }
  1051. spacing: 50
  1052. Text {
  1053. id: dashboardImage2TextValue
  1054. anchors.bottom: dashboard2Text1.bottom
  1055. anchors.bottomMargin: -35
  1056. anchors.left: dashboard2Text1.left
  1057. anchors.leftMargin: 10
  1058. text:appModel.Speed
  1059. //text:'0'
  1060. color:'red'
  1061. Component.onCompleted: {
  1062. }
  1063. font.family: digtalFont.name
  1064. font.pointSize: 18
  1065. }
  1066. Image {
  1067. id: circle_green2
  1068. anchors.bottom: dashboard2Text1.bottom
  1069. anchors.bottomMargin: -45
  1070. anchors.left: dashboard2Text.left
  1071. anchors.leftMargin: -20
  1072. z: 99
  1073. height: 40
  1074. width: 110
  1075. fillMode: Image.Stretch
  1076. visible: true
  1077. source: 'qrc:/images/circle_green1.png'
  1078. }
  1079. }
  1080. //登录界面最左侧上边框
  1081. Image {
  1082. id: sideUp_right1
  1083. z: 99
  1084. height: 620
  1085. anchors.left: statusData.left
  1086. anchors.leftMargin: -40
  1087. anchors.top: statusData.top
  1088. anchors.topMargin: 0
  1089. fillMode: Image.Stretch
  1090. visible: true
  1091. source: 'qrc:/images/sideUp_left.png'
  1092. }
  1093. //登录界面最左侧上边框
  1094. Image {
  1095. id: sideUp_left1
  1096. z: 99
  1097. height: 620
  1098. anchors.left: statusData.left
  1099. anchors.leftMargin: 320
  1100. anchors.top: statusData.top
  1101. anchors.topMargin: 0
  1102. fillMode: Image.Stretch
  1103. visible: true
  1104. source: 'qrc:/images/sideUp_left1.png'
  1105. }
  1106. //登录界面最左侧下边框
  1107. Image {
  1108. id: sideDown_left1
  1109. z: 99
  1110. height: 400
  1111. anchors.left: statusData.left
  1112. anchors.leftMargin: -40+50
  1113. anchors.top: statusData.top
  1114. anchors.topMargin: 600
  1115. fillMode: Image.Stretch
  1116. source: 'qrc:/images/sideDown_left.png'
  1117. }
  1118. //登录界面最右侧下边框
  1119. Image {
  1120. id: sideDown_right1
  1121. z: 99
  1122. height: 400
  1123. anchors.left: statusData.left
  1124. anchors.leftMargin: 320-50
  1125. anchors.top: statusData.top
  1126. anchors.topMargin: 600
  1127. fillMode: Image.Stretch
  1128. visible: true
  1129. source: 'qrc:/images/sideDown_right.png'
  1130. }
  1131. }
  1132. Rectangle {
  1133. id: leftCam
  1134. width: leftCamWidth + lineWidth
  1135. height: mainHeight
  1136. color: 'transparent'
  1137. z:100
  1138. Rectangle {
  1139. id: backImgRect1
  1140. width: frontCamWidth
  1141. height: mainHeight
  1142. color: 'transparent'
  1143. x:25
  1144. z:100
  1145. //y:mainHeight/2+200
  1146. border.color: "transparent"
  1147. border.width: 1
  1148. Rectangle {
  1149. Image {
  1150. fillMode: Image.Stretch
  1151. x: 10
  1152. y: 440-170
  1153. z: 99
  1154. visible: true
  1155. source: 'qrc:/images/left_light1.png'
  1156. }
  1157. Image {
  1158. fillMode: Image.Stretch
  1159. x: 10
  1160. y: 440-170
  1161. z: 99
  1162. visible: appModel.turnLeft === 1
  1163. //visible: true
  1164. source: 'qrc:/images/left_light.png'
  1165. }
  1166. Text {
  1167. id: leftLight
  1168. x: 10
  1169. y: 470-170
  1170. z: 99
  1171. text: "左转"
  1172. color: "#70FFFFFF"
  1173. font.family: alibaba.name
  1174. font.pointSize: radarTxtSize
  1175. }
  1176. }
  1177. Rectangle {
  1178. Image {
  1179. x: 10
  1180. y: 500-170
  1181. z: 99
  1182. fillMode: Image.Stretch
  1183. visible: true
  1184. source: 'qrc:/images/frontlight1.png'
  1185. }
  1186. Image {
  1187. x: 10
  1188. y: 500-170
  1189. z: 99
  1190. fillMode: Image.Stretch
  1191. visible: appModel.hightBeam === 1
  1192. //visible: true
  1193. source: 'qrc:/images/frontlight.png'
  1194. }
  1195. Text {
  1196. id: frontlight
  1197. x: 10
  1198. y: 530-170
  1199. z: 99
  1200. text: "远光"
  1201. color: "#70FFFFFF"
  1202. font.family: alibaba.name
  1203. font.pointSize: radarTxtSize
  1204. }
  1205. }
  1206. Rectangle {
  1207. Image {
  1208. fillMode: Image.Stretch
  1209. x: 10
  1210. y: 560-170
  1211. z: 99
  1212. visible: true
  1213. source: 'qrc:/images/jinguang1.png'
  1214. }
  1215. Image {
  1216. fillMode: Image.Stretch
  1217. x: 10
  1218. y: 560-170
  1219. z: 99
  1220. visible: appModel.lowBeam === 1
  1221. //visible: true
  1222. source: 'qrc:/images/jinguang.png'
  1223. }
  1224. Text {
  1225. id: emergency
  1226. x: 10
  1227. y: 590-170
  1228. z: 99
  1229. text: "近光"
  1230. color: "#70FFFFFF"
  1231. font.family: alibaba.name
  1232. font.pointSize: radarTxtSize
  1233. }
  1234. }
  1235. Rectangle {
  1236. Image {
  1237. fillMode: Image.Stretch
  1238. x: 10
  1239. y: 620-170
  1240. z: 99
  1241. visible: true
  1242. source: 'qrc:/images/emergency1.png'
  1243. }
  1244. Image {
  1245. fillMode: Image.Stretch
  1246. x: 10
  1247. y: 620-170
  1248. z: 99
  1249. visible: appModel.parking === true
  1250. //visible:true
  1251. source: 'qrc:/images/emergency.png'
  1252. }
  1253. Text {
  1254. id: buzzer
  1255. x: 10
  1256. y: 650-170
  1257. z: 99
  1258. text: "驻车"
  1259. color: "#70FFFFFF"
  1260. font.family: alibaba.name
  1261. font.pointSize: radarTxtSize
  1262. }
  1263. }
  1264. Rectangle {
  1265. Image {
  1266. fillMode: Image.Stretch
  1267. x: 10
  1268. y: 680-170
  1269. z: 99
  1270. visible: true
  1271. source: 'qrc:/images/shache.png'
  1272. }
  1273. Image {
  1274. fillMode: Image.Stretch
  1275. x: 10
  1276. y: 680-170
  1277. z: 99
  1278. visible: appModel.brake === 1
  1279. //visible:true
  1280. source: 'qrc:/images/shache_red.png'
  1281. }
  1282. Text {
  1283. id: wiper
  1284. x: 10
  1285. y: 715-170
  1286. z: 99
  1287. text: "刹车"
  1288. color: "#70FFFFFF"
  1289. font.family: alibaba.name
  1290. font.pointSize: radarTxtSize
  1291. }
  1292. }
  1293. Rectangle {
  1294. Image {
  1295. fillMode: Image.Stretch
  1296. x: 10
  1297. y: 745-170
  1298. z: 99
  1299. visible: true
  1300. source: 'qrc:/images/daoche.png'
  1301. }
  1302. Image {
  1303. fillMode: Image.Stretch
  1304. x: 10
  1305. y: 745-170
  1306. z: 99
  1307. visible: appModel.backCar === 1
  1308. //visible:true
  1309. source: 'qrc:/images/daoche_red.png'
  1310. }
  1311. Text {
  1312. id: backForward
  1313. x: 10
  1314. y: 775-170
  1315. z: 99
  1316. text: "倒车"
  1317. color: "#70FFFFFF"
  1318. font.family: alibaba.name
  1319. font.pointSize: radarTxtSize
  1320. }
  1321. }
  1322. Rectangle {
  1323. Image {
  1324. fillMode: Image.Stretch
  1325. x: 10
  1326. y: 810-170
  1327. z: 99
  1328. visible: true
  1329. source: 'qrc:/images/wiper1.png'
  1330. }
  1331. Image {
  1332. fillMode: Image.Stretch
  1333. x: 10
  1334. y: 810-170
  1335. z: 99
  1336. visible: appModel.frontWorkLamp === 1
  1337. //visible:true
  1338. source: 'qrc:/images/wiper.png'
  1339. }
  1340. Text {
  1341. id: frontLight
  1342. x: 10-10
  1343. y: 840-170+10
  1344. z: 99
  1345. text: "前工作灯"
  1346. color: "#70FFFFFF"
  1347. font.family: alibaba.name
  1348. font.pointSize: radarTxtSize
  1349. }
  1350. }
  1351. Rectangle {
  1352. Image {
  1353. fillMode: Image.Stretch
  1354. x: 10
  1355. y: 875-170
  1356. z: 99
  1357. visible: true
  1358. source: 'qrc:/images/wiper1.png'
  1359. }
  1360. Image {
  1361. fillMode: Image.Stretch
  1362. x: 10
  1363. y: 875-170
  1364. z: 99
  1365. visible: appModel.rearWorkLamp === 1
  1366. //visible:true
  1367. source: 'qrc:/images/wiper.png'
  1368. }
  1369. Text {
  1370. id: backLight
  1371. x: 10-10
  1372. y: 905-170+10
  1373. z: 99
  1374. text: "后工作灯"
  1375. color: "#70FFFFFF"
  1376. font.family: alibaba.name
  1377. font.pointSize: radarTxtSize
  1378. }
  1379. }
  1380. Rectangle {
  1381. Image {
  1382. fillMode: Image.Stretch
  1383. x: 880+550
  1384. y: 645-170
  1385. z: 100
  1386. visible:false
  1387. source: 'qrc:/images/carStop.png'
  1388. }
  1389. Text {
  1390. id: emergencyLight
  1391. x: 913+550
  1392. y: 775-170
  1393. z: 100
  1394. visible:false
  1395. text: "急停"
  1396. color: "red"
  1397. font.family: alibaba.name
  1398. font.pointSize: 24
  1399. }
  1400. }
  1401. Rectangle {
  1402. Image {
  1403. fillMode: Image.Stretch
  1404. x: 1845+1015
  1405. y: 440-170
  1406. z: 99
  1407. visible: true
  1408. source: 'qrc:/images/right_light1.png'
  1409. }
  1410. Image {
  1411. fillMode: Image.Stretch
  1412. x: 1845+1015
  1413. y: 440-170
  1414. z: 99
  1415. //visible: true
  1416. visible: appModel.turnRight === 1
  1417. source: 'qrc:/images/right_light.png'
  1418. }
  1419. Text {
  1420. id: rightLight
  1421. x: 1845+1015
  1422. y: 470-170
  1423. z: 99
  1424. text: "右转"
  1425. font.family: alibaba.name
  1426. font.pointSize: radarTxtSize
  1427. color: "#70FFFFFF"
  1428. }
  1429. }
  1430. Rectangle {
  1431. Image {
  1432. fillMode: Image.Stretch
  1433. x: 1845+1015
  1434. y: 500-170
  1435. z: 99
  1436. visible: true
  1437. source: 'qrc:/images/1.png'
  1438. }
  1439. Image {
  1440. fillMode: Image.Stretch
  1441. x: 1845+1015
  1442. y: 500-170
  1443. z: 99
  1444. visible:appModel.gear1 === 1
  1445. //visible: true
  1446. source: 'qrc:/images/1_green.png'
  1447. }
  1448. Text {
  1449. id: gear_d_1
  1450. x: 1845+1015
  1451. y: 530-170
  1452. z: 99
  1453. text: " 1档"
  1454. font.family: alibaba.name
  1455. font.pointSize: radarTxtSize
  1456. color: "#70FFFFFF"
  1457. }
  1458. }
  1459. Rectangle {
  1460. Image {
  1461. fillMode: Image.Stretch
  1462. x: 1845+1015
  1463. y: 560-170
  1464. z: 99
  1465. visible: true
  1466. source: 'qrc:/images/2.png'
  1467. }
  1468. Image {
  1469. fillMode: Image.Stretch
  1470. x: 1845+1015
  1471. y: 560-170
  1472. z: 99
  1473. visible:appModel.gear1 === 2
  1474. //visible: true
  1475. source: 'qrc:/images/2_green.png'
  1476. }
  1477. Text {
  1478. id: gear_d_2
  1479. x: 1845+1015
  1480. y: 590-170
  1481. z: 99
  1482. text: " 2档"
  1483. font.family: alibaba.name
  1484. font.pointSize: radarTxtSize
  1485. color: "#70FFFFFF"
  1486. }
  1487. }
  1488. Rectangle {
  1489. Image {
  1490. fillMode: Image.Stretch
  1491. x: 1845+1015
  1492. y: 620-170
  1493. z: 99
  1494. visible: true
  1495. source: 'qrc:/images/3.png'
  1496. }
  1497. Image {
  1498. fillMode: Image.Stretch
  1499. x: 1845+1015
  1500. y: 620-170
  1501. z: 99
  1502. visible:appModel.gear1 === 3
  1503. //visible: true
  1504. source: 'qrc:/images/3_green.png'
  1505. }
  1506. Text {
  1507. id: gear_d_3
  1508. x: 1845+1015
  1509. y: 650-170
  1510. z: 99
  1511. text: " 3档"
  1512. font.family: alibaba.name
  1513. font.pointSize: radarTxtSize
  1514. color: "#70FFFFFF"
  1515. }
  1516. }
  1517. Rectangle {
  1518. Image {
  1519. fillMode: Image.Stretch
  1520. x: 1845+1015
  1521. y: 680-170
  1522. z: 99
  1523. visible: true
  1524. source: 'qrc:/images/4.png'
  1525. }
  1526. Image {
  1527. fillMode: Image.Stretch
  1528. x: 1845+1015
  1529. y: 680-170
  1530. z: 99
  1531. visible:appModel.gear1 === 4
  1532. //visible: true
  1533. source: 'qrc:/images/4_green.png'
  1534. }
  1535. Text {
  1536. id: gear_d_4
  1537. x: 1845+1015
  1538. y: 710-170
  1539. z: 99
  1540. text: " 4档"
  1541. font.family: alibaba.name
  1542. font.pointSize: radarTxtSize
  1543. color: "#70FFFFFF"
  1544. }
  1545. }
  1546. Rectangle {
  1547. Image {
  1548. fillMode: Image.Stretch
  1549. x: 1845+1015
  1550. y: 740-170
  1551. z: 99
  1552. visible: true
  1553. source: 'qrc:/images/gear_d1.png'
  1554. }
  1555. Image {
  1556. fillMode: Image.Stretch
  1557. x: 1845+1015
  1558. y: 740-170
  1559. z: 99
  1560. visible: appModel.fGear === 1
  1561. //visible: true
  1562. source: 'qrc:/images/gear_d.png'
  1563. }
  1564. Text {
  1565. id: gear_d
  1566. x: 1845+1015
  1567. y: 770-170
  1568. z: 99
  1569. text: " F档"
  1570. font.family: alibaba.name
  1571. font.pointSize: radarTxtSize
  1572. color: "#70FFFFFF"
  1573. }
  1574. }
  1575. Rectangle {
  1576. Image {
  1577. fillMode: Image.Stretch
  1578. x: 1845+1015
  1579. y: 800-170
  1580. z: 99
  1581. visible: true
  1582. source: 'qrc:/images/gear_n1.png'
  1583. }
  1584. Image {
  1585. fillMode: Image.Stretch
  1586. x: 1845+1015
  1587. y: 800-170
  1588. z: 99
  1589. visible: appModel.fGear === 3
  1590. //visible: true
  1591. source: 'qrc:/images/gear_n.png'
  1592. }
  1593. Text {
  1594. id: gear_n
  1595. x: 1845+1015
  1596. y: 830-170
  1597. z: 99
  1598. text: " N档"
  1599. font.family: alibaba.name
  1600. font.pointSize: radarTxtSize
  1601. color: "#70FFFFFF"
  1602. }
  1603. }
  1604. Rectangle {
  1605. Image {
  1606. fillMode: Image.Stretch
  1607. x: 1845+1015
  1608. y: 860-170
  1609. z: 99
  1610. visible: true
  1611. source: 'qrc:/images/gear_r1.png'
  1612. }
  1613. Image {
  1614. fillMode: Image.Stretch
  1615. x: 1845+1015
  1616. y: 860-170
  1617. z: 99
  1618. visible: appModel.fGear === 2
  1619. //visible: true
  1620. source: 'qrc:/images/gear_r.png'
  1621. }
  1622. Text {
  1623. id: gear_r
  1624. x: 1845+1015
  1625. y: 890-170
  1626. z: 99
  1627. text: " R档"
  1628. font.family: alibaba.name
  1629. font.pointSize: radarTxtSize
  1630. color: "#70FFFFFF"
  1631. }
  1632. }
  1633. }
  1634. Image{
  1635. id:mainLeft
  1636. height: mainHeight+110
  1637. source:"qrc:/images/sideUp_left.png"
  1638. anchors.left: leftCam.left
  1639. anchors.leftMargin:0
  1640. anchors.top: leftCam.top
  1641. anchors.topMargin: -80
  1642. z:98
  1643. visible:true
  1644. }
  1645. Image{
  1646. id:mainLeftSide
  1647. height: mainHeight/2+50
  1648. source:"qrc:/images/imageLeftSide.png"
  1649. anchors.left: leftCam.left
  1650. anchors.leftMargin:20
  1651. anchors.top: leftCam.top
  1652. anchors.topMargin: 230
  1653. visible:true
  1654. }
  1655. //左面摄像头视频显示区域
  1656. Rectangle
  1657. {
  1658. id:leftCamRec
  1659. width: leftCamWidth
  1660. height: mainHeight/2-50
  1661. color: 'transparent'
  1662. anchors.left: leftCam.left
  1663. anchors.leftMargin: 20+85
  1664. border.color: mainAppColor
  1665. border.width: 1
  1666. // CAM Left
  1667. //aaa
  1668. Image
  1669. {
  1670. id: leftImg
  1671. width: leftCamWidth
  1672. height: mainHeight/2-50
  1673. fillMode: Image.Stretch
  1674. }
  1675. Connections
  1676. {
  1677. target: LeftImage //信号的发送者
  1678. onCallQmlRefeshLeftImg: //信号
  1679. { //槽函数
  1680. leftImg.source = ""
  1681. leftImg.source = "image://LeftImage"
  1682. }
  1683. }
  1684. }
  1685. Rectangle
  1686. {
  1687. width: leftCamWidth
  1688. height: mainHeight/2
  1689. y:mainHeight/2
  1690. color: 'transparent'
  1691. anchors.left: leftCam.left
  1692. anchors.leftMargin: 20+85
  1693. anchors.top: leftCamRec.bottom
  1694. border.color: mainAppColor
  1695. border.width: 1
  1696. // CAM Left
  1697. //aaa
  1698. Image
  1699. {
  1700. id: leftan
  1701. width: leftCamWidth
  1702. height: mainHeight/2
  1703. fillMode: Image.Stretch
  1704. }
  1705. Connections
  1706. {
  1707. target: LeftAnchor
  1708. onCallQmlRefeshLeftAnchor:
  1709. {
  1710. leftan.source = ""
  1711. leftan.source = "image://LeftAnchor"
  1712. }
  1713. }
  1714. }
  1715. }
  1716. Rectangle
  1717. {
  1718. id: centerPanel
  1719. width: frontCamWidth + 3 * lineWidth
  1720. height: mainHeight
  1721. anchors.top: mainFormContent.top
  1722. anchors.horizontalCenter: mainFormContent.horizontalCenter
  1723. color: 'transparent'
  1724. //中间摄像头视频显示区域
  1725. Rectangle
  1726. {
  1727. width: frontCamWidth-85*2
  1728. //height: mainHeight/2+200
  1729. height: mainHeight-50
  1730. color: 'transparent'
  1731. anchors.left: centerPanel.left
  1732. anchors.leftMargin: 20+85
  1733. border.color: mainAppColor
  1734. border.width: 1
  1735. // CAM FRONT
  1736. //aaa
  1737. Image
  1738. {
  1739. id: frontImg
  1740. anchors.topMargin: 140
  1741. width: frontCamWidth-85*2
  1742. //height: mainHeight/2+200
  1743. height: mainHeight-50
  1744. fillMode: Image.Stretch
  1745. z: 97
  1746. }
  1747. Connections
  1748. {
  1749. target: FrontImage
  1750. onCallQmlRefeshFrontImg:
  1751. {
  1752. frontImg.source = ""
  1753. //frontImg.source = "image://FrontImage"
  1754. frontImg.source = "image://FrontImage/"+ Math.random()
  1755. }
  1756. }
  1757. }
  1758. Rectangle
  1759. {
  1760. id: backImgRect
  1761. width: frontCamWidth/2
  1762. height: mainHeight / 2-200
  1763. color: 'transparent'
  1764. x:430
  1765. y:mainHeight/2+200
  1766. border.color: mainAppColor
  1767. border.width: 1
  1768. //visible:true
  1769. visible:false
  1770. // CAM BACK REAR
  1771. //aaa
  1772. Image
  1773. {
  1774. id: backImg
  1775. anchors.topMargin: 140
  1776. width: parent.width
  1777. height: parent.height
  1778. fillMode: Image.Stretch
  1779. z: 98
  1780. }
  1781. Connections
  1782. {
  1783. target: BackImage
  1784. onCallQmlRefeshBackImg:
  1785. {
  1786. backImg.source = ""
  1787. //backImg.source = "image://BackImage"
  1788. }
  1789. }
  1790. }
  1791. }
  1792. Rectangle {
  1793. id: rightCam
  1794. width: rightCamWidth + lineWidth
  1795. height: mainHeight
  1796. color: 'transparent'
  1797. Image{
  1798. id:mainRight
  1799. height: mainHeight+110
  1800. source:"qrc:/images/sideUp_left1.png"
  1801. anchors.right: rightCam.right
  1802. anchors.top: rightCam.top
  1803. anchors.topMargin: -80
  1804. visible:true
  1805. }
  1806. Image{
  1807. id:mainRightSide
  1808. height: mainHeight/2+50
  1809. source:"qrc:/images/imageRightSide.png"
  1810. anchors.right: rightCam.right
  1811. anchors.rightMargin: 10
  1812. anchors.top: rightCam.top
  1813. anchors.topMargin: 230
  1814. visible:true
  1815. }
  1816. //右面摄像头视频显示区域
  1817. Rectangle
  1818. {
  1819. id:rightCamRec
  1820. width: rightCamWidth
  1821. height: mainHeight/2-50
  1822. color: 'transparent'
  1823. anchors.left: rightCam.left
  1824. anchors.leftMargin:-85
  1825. border.color: mainAppColor
  1826. border.width: 1
  1827. // CAM Right
  1828. //aaa
  1829. Image
  1830. {
  1831. id: rightImg
  1832. width: rightCamWidth
  1833. height: mainHeight/2-50
  1834. fillMode: Image.Stretch
  1835. }
  1836. Connections
  1837. {
  1838. target: RightImage
  1839. onCallQmlRefeshRightImg:
  1840. {
  1841. rightImg.source = ""
  1842. rightImg.source = "image://RightImage"
  1843. }
  1844. }
  1845. }
  1846. Rectangle
  1847. {
  1848. width: rightCamWidth
  1849. height: mainHeight/2
  1850. y:mainHeight/2
  1851. color: 'transparent'
  1852. anchors.left: rightCam.left
  1853. anchors.leftMargin:-85
  1854. anchors.top:rightCamRec.bottom
  1855. border.color: mainAppColor
  1856. border.width: 1
  1857. // CAM Right
  1858. //aaa
  1859. Image
  1860. {
  1861. id: rightan
  1862. width: rightCamWidth
  1863. height: mainHeight/2
  1864. fillMode: Image.Stretch
  1865. }
  1866. Connections
  1867. {
  1868. target: RightAnchor
  1869. onCallQmlRefeshRightAnchor:
  1870. {
  1871. rightan.source = ""
  1872. rightan.source = "image://RightAnchor"
  1873. }
  1874. }
  1875. }
  1876. }
  1877. //右侧状态
  1878. Rectangle {
  1879. id: radarData
  1880. width: radarWidth -160
  1881. height: mainHeight
  1882. anchors.top:rightCam.top
  1883. anchors.topMargin:-70
  1884. color: 'transparent'
  1885. //登录界面最左侧上边框
  1886. Image {
  1887. id: sideUp_right2
  1888. z: 99
  1889. height: 740
  1890. anchors.left: radarData.left
  1891. anchors.leftMargin:-60
  1892. anchors.top: radarData.top
  1893. anchors.topMargin: -20
  1894. fillMode: Image.Stretch
  1895. visible: true
  1896. source: 'qrc:/images/sideUp_left.png'
  1897. }
  1898. //登录界面最左侧上边框
  1899. Image {
  1900. id: sideUp_left2
  1901. z: 99
  1902. height: 740
  1903. anchors.left: radarData.left
  1904. anchors.leftMargin:400
  1905. anchors.top: radarData.top
  1906. anchors.topMargin: -20
  1907. fillMode: Image.Stretch
  1908. visible: true
  1909. source: 'qrc:/images/sideUp_left1.png'
  1910. }
  1911. //登录界面最左侧下边框
  1912. Image {
  1913. id: sideDown_left2
  1914. z: 99
  1915. height: 420
  1916. anchors.left: radarData.left
  1917. anchors.leftMargin:-60+50
  1918. anchors.top: radarData.top
  1919. anchors.topMargin: 680
  1920. fillMode: Image.Stretch
  1921. source: 'qrc:/images/sideDown_left.png'
  1922. }
  1923. //登录界面最右侧下边框
  1924. Image {
  1925. id: sideDown_right2
  1926. z: 99
  1927. height: 420
  1928. anchors.left: radarData.left
  1929. anchors.leftMargin:400-50
  1930. anchors.top: radarData.top
  1931. anchors.topMargin: 680
  1932. fillMode: Image.Stretch
  1933. visible: true
  1934. source: 'qrc:/images/sideDown_right.png'
  1935. }
  1936. Rectangle {
  1937. id: statusRightLogin
  1938. height: mainHeight
  1939. width: radarWidth -160
  1940. anchors.left: radarData.left
  1941. anchors.leftMargin:-60
  1942. anchors.top: radarData.top
  1943. anchors.topMargin: 20
  1944. color: 'transparent'
  1945. Image {
  1946. id: iRadar_car_G
  1947. width: 350
  1948. height: 550
  1949. anchors.top: statusRightLogin.top
  1950. anchors.topMargin: 100
  1951. anchors.left: statusRightLogin.left
  1952. anchors.leftMargin: 120
  1953. anchors.horizontalCenter: radarData.horizontalCenter
  1954. fillMode: Image.Stretch
  1955. source: 'qrc:/images/radar_car.png'
  1956. visible:true
  1957. }
  1958. Image {
  1959. id: iRadar_car_G1
  1960. z: 99
  1961. width: 350
  1962. height: 550
  1963. anchors.top: statusRightLogin.top
  1964. anchors.topMargin: -40
  1965. anchors.left: statusRightLogin.left
  1966. anchors.leftMargin: 120-40
  1967. anchors.horizontalCenter: radarData.horizontalCenter
  1968. fillMode: Image.Stretch
  1969. source: 'qrc:/images/radar_car_G1.png'
  1970. //visible:true
  1971. visible: (radarGreenOutRange >= appModel.radar1)
  1972. && (appModel.radar1 >= radarGreenRange)
  1973. }
  1974. Image {
  1975. id: iRadar_car_G2
  1976. z: 99
  1977. width: 350
  1978. height: 550
  1979. anchors.top: statusRightLogin.top
  1980. anchors.topMargin: -40
  1981. anchors.left: statusRightLogin.left
  1982. anchors.leftMargin: 120+40
  1983. anchors.horizontalCenter: radarData.horizontalCenter
  1984. fillMode: Image.Stretch
  1985. source: 'qrc:/images/radar_car_G2.png'
  1986. //visible:true
  1987. visible: (radarGreenOutRange >= appModel.radar2)
  1988. && (appModel.radar2 >= radarGreenRange)
  1989. }
  1990. Image {
  1991. id: iRadar_car_G3
  1992. z: 99
  1993. width: 350
  1994. height: 550
  1995. anchors.top: statusRightLogin.top
  1996. anchors.topMargin: 0
  1997. anchors.left: statusRightLogin.left
  1998. anchors.leftMargin: 120
  1999. anchors.horizontalCenter: radarData.horizontalCenter
  2000. fillMode: Image.Stretch
  2001. source: 'qrc:/images/radar_car_G3.png'
  2002. //visible:true
  2003. visible: (radarGreenOutRange >= appModel.radar3)
  2004. && (appModel.radar3 >= radarGreenRange)
  2005. }
  2006. Image {
  2007. id: iRadar_car_G4
  2008. z: 99
  2009. width: 350
  2010. height: 550
  2011. anchors.top: statusRightLogin.top
  2012. anchors.topMargin: 0
  2013. anchors.left: statusRightLogin.left
  2014. anchors.leftMargin: 120
  2015. anchors.horizontalCenter: radarData.horizontalCenter
  2016. fillMode: Image.Stretch
  2017. source: 'qrc:/images/radar_car_G4.png'
  2018. //visible:true
  2019. visible: (radarGreenOutRange >= appModel.radar4)
  2020. && (appModel.radar4 >= radarGreenRange)
  2021. }
  2022. Image {
  2023. id: iRadar_car_G5
  2024. z: 99
  2025. width: 350
  2026. height: 550
  2027. anchors.top: statusRightLogin.top
  2028. anchors.topMargin: 100
  2029. anchors.left: statusRightLogin.left
  2030. anchors.leftMargin: 120
  2031. anchors.horizontalCenter: radarData.horizontalCenter
  2032. fillMode: Image.Stretch
  2033. source: 'qrc:/images/radar_car_G5.png'
  2034. //visible:true
  2035. visible: (radarGreenOutRange >= appModel.radar5)
  2036. && (appModel.radar5 >= radarGreenRange)
  2037. }
  2038. Image {
  2039. id: iRadar_car_G6
  2040. z: 99
  2041. width: 350
  2042. height: 550
  2043. anchors.top: statusRightLogin.top
  2044. anchors.topMargin: 100
  2045. anchors.left: statusRightLogin.left
  2046. anchors.leftMargin: 120
  2047. anchors.horizontalCenter: radarData.horizontalCenter
  2048. fillMode: Image.Stretch
  2049. source: 'qrc:/images/radar_car_G6.png'
  2050. //visible:true
  2051. visible: (radarGreenOutRange >= appModel.radar6)
  2052. && (appModel.radar6 >= radarGreenRange)
  2053. }
  2054. Image {
  2055. id: iRadar_car_G7
  2056. z: 99
  2057. width: 350
  2058. height: 550
  2059. anchors.top: statusRightLogin.top
  2060. anchors.topMargin: 0
  2061. anchors.left: statusRightLogin.left
  2062. anchors.leftMargin: 120
  2063. anchors.horizontalCenter: radarData.horizontalCenter
  2064. fillMode: Image.Stretch
  2065. source: 'qrc:/images/radar_car_G7.png'
  2066. //visible:true
  2067. visible: (radarGreenOutRange >= appModel.radar7)
  2068. && (appModel.radar7 >= radarGreenRange)
  2069. }
  2070. Image {
  2071. id: iRadar_car_G8
  2072. z: 99
  2073. width: 350
  2074. height: 550
  2075. anchors.top: statusRightLogin.top
  2076. anchors.topMargin: 0
  2077. anchors.left: statusRightLogin.left
  2078. anchors.leftMargin: 120
  2079. anchors.horizontalCenter: radarData.horizontalCenter
  2080. fillMode: Image.Stretch
  2081. source: 'qrc:/images/radar_car_G8.png'
  2082. //visible:true
  2083. visible: (radarGreenOutRange >= appModel.radar8)
  2084. && (appModel.radar8 >= radarGreenRange)
  2085. }
  2086. Image {
  2087. id: iRadar_car_G9
  2088. z: 99
  2089. width: 550
  2090. height: 350
  2091. anchors.top: statusRightLogin.top
  2092. anchors.topMargin: 80
  2093. anchors.left: statusRightLogin.left
  2094. anchors.leftMargin: -5
  2095. anchors.horizontalCenter: radarData.horizontalCenter
  2096. fillMode: Image.Stretch
  2097. source: 'qrc:/images/radar_car_G0.png'
  2098. //visible:true
  2099. visible: (radarGreenOutRange >= appModel.radar9)
  2100. && (appModel.radar9 >= radarGreenRange)
  2101. }
  2102. Image {
  2103. id: iRadar_car_R1
  2104. z: 99
  2105. width: 350
  2106. height: 550
  2107. anchors.top: statusRightLogin.top
  2108. anchors.topMargin: -40
  2109. anchors.left: statusRightLogin.left
  2110. anchors.leftMargin: 120-40
  2111. anchors.horizontalCenter: radarData.horizontalCenter
  2112. fillMode: Image.Stretch
  2113. source: 'qrc:/images/radar_car_R1.png'
  2114. //visible:true
  2115. visible: appModel.radar1 <= radarRedRange
  2116. }
  2117. Image {
  2118. id: iRadar_car_R2
  2119. z: 99
  2120. width: 350
  2121. height: 550
  2122. anchors.top: statusRightLogin.top
  2123. anchors.topMargin: -40
  2124. anchors.left: statusRightLogin.left
  2125. anchors.leftMargin: 120+40
  2126. anchors.horizontalCenter: radarData.horizontalCenter
  2127. fillMode: Image.Stretch
  2128. source: 'qrc:/images/radar_car_R2.png'
  2129. //visible:true
  2130. visible: appModel.radar2 <= radarRedRange
  2131. }
  2132. Image {
  2133. id: iRadar_car_R3
  2134. z: 99
  2135. width: 350
  2136. height: 550
  2137. anchors.top: statusRightLogin.top
  2138. anchors.topMargin: 0
  2139. anchors.left: statusRightLogin.left
  2140. anchors.leftMargin: 120
  2141. anchors.horizontalCenter: radarData.horizontalCenter
  2142. fillMode: Image.Stretch
  2143. source: 'qrc:/images/radar_car_R3.png'
  2144. //visible:true
  2145. visible: appModel.radar3 <= radarRedRange
  2146. }
  2147. Image {
  2148. id: iRadar_car_R4
  2149. z: 99
  2150. width: 350
  2151. height: 550
  2152. anchors.top: statusRightLogin.top
  2153. anchors.topMargin: 0
  2154. anchors.left: statusRightLogin.left
  2155. anchors.leftMargin: 120
  2156. anchors.horizontalCenter: radarData.horizontalCenter
  2157. fillMode: Image.Stretch
  2158. source: 'qrc:/images/radar_car_R4.png'
  2159. //visible:true
  2160. visible: appModel.radar4 <= radarRedRange
  2161. }
  2162. Image {
  2163. id: iRadar_car_R5
  2164. z: 99
  2165. width: 350
  2166. height: 550
  2167. anchors.top: statusRightLogin.top
  2168. anchors.topMargin: 100
  2169. anchors.left: statusRightLogin.left
  2170. anchors.leftMargin: 120
  2171. anchors.horizontalCenter: radarData.horizontalCenter
  2172. fillMode: Image.Stretch
  2173. source: 'qrc:/images/radar_car_R5.png'
  2174. //visible:true
  2175. visible: appModel.radar5 <= radarRedRange
  2176. }
  2177. Image {
  2178. id: iRadar_car_R6
  2179. z: 99
  2180. width: 350
  2181. height: 550
  2182. anchors.top: statusRightLogin.top
  2183. anchors.topMargin: 100
  2184. anchors.left: statusRightLogin.left
  2185. anchors.leftMargin: 120
  2186. anchors.horizontalCenter: radarData.horizontalCenter
  2187. fillMode: Image.Stretch
  2188. source: 'qrc:/images/radar_car_R6.png'
  2189. //visible:true
  2190. visible: appModel.radar6 <= radarRedRange
  2191. }
  2192. Image {
  2193. id: iRadar_car_R7
  2194. z: 99
  2195. width: 350
  2196. height: 550
  2197. anchors.top: statusRightLogin.top
  2198. anchors.topMargin: 0
  2199. anchors.left: statusRightLogin.left
  2200. anchors.leftMargin: 120
  2201. anchors.horizontalCenter: radarData.horizontalCenter
  2202. fillMode: Image.Stretch
  2203. source: 'qrc:/images/radar_car_R7.png'
  2204. //visible:true
  2205. visible: appModel.radar7 <= radarRedRange
  2206. }
  2207. Image {
  2208. id: iRadar_car_R8
  2209. z: 99
  2210. width: 350
  2211. height: 550
  2212. anchors.top: statusRightLogin.top
  2213. anchors.topMargin: 0
  2214. anchors.left: statusRightLogin.left
  2215. anchors.leftMargin: 120
  2216. anchors.horizontalCenter: radarData.horizontalCenter
  2217. fillMode: Image.Stretch
  2218. source: 'qrc:/images/radar_car_R8.png'
  2219. //visible:true
  2220. visible: appModel.radar8 <= radarRedRange
  2221. }
  2222. Image {
  2223. id: iRadar_car_R9
  2224. z: 99
  2225. width: 550
  2226. height: 350
  2227. anchors.top: statusRightLogin.top
  2228. anchors.topMargin: 80
  2229. anchors.left: statusRightLogin.left
  2230. anchors.leftMargin: -5
  2231. anchors.horizontalCenter: radarData.horizontalCenter
  2232. fillMode: Image.Stretch
  2233. source: 'qrc:/images/radar_car_R0.png'
  2234. //visible:true
  2235. visible: appModel.radar9 <= radarRedRange
  2236. }
  2237. Image {
  2238. id: iRadar_car_Y1
  2239. z: 99
  2240. width: 350
  2241. height: 550
  2242. anchors.top: statusRightLogin.top
  2243. anchors.topMargin: -40
  2244. anchors.left: statusRightLogin.left
  2245. anchors.leftMargin: 120-40
  2246. anchors.horizontalCenter: radarData.horizontalCenter
  2247. fillMode: Image.Stretch
  2248. source: 'qrc:/images/radar_car_Y1.png'
  2249. //visible:true
  2250. visible: appModel.radar1 < radarGreenRange&& appModel.radar1 > radarRedRange
  2251. }
  2252. Image {
  2253. id: iRadar_car_Y2
  2254. z: 99
  2255. width: 350
  2256. height: 550
  2257. anchors.top: statusRightLogin.top
  2258. anchors.topMargin: -40
  2259. anchors.left: statusRightLogin.left
  2260. anchors.leftMargin: 120+40
  2261. anchors.horizontalCenter: radarData.horizontalCenter
  2262. fillMode: Image.Stretch
  2263. source: 'qrc:/images/radar_car_Y2.png'
  2264. //visible:true
  2265. visible: appModel.radar2 < radarGreenRange&& appModel.radar2 > radarRedRange
  2266. }
  2267. Image {
  2268. id: iRadar_car_Y3
  2269. z: 99
  2270. width: 350
  2271. height: 550
  2272. anchors.top: statusRightLogin.top
  2273. anchors.topMargin: 0
  2274. anchors.left: statusRightLogin.left
  2275. anchors.leftMargin: 120
  2276. anchors.horizontalCenter: radarData.horizontalCenter
  2277. fillMode: Image.Stretch
  2278. source: 'qrc:/images/radar_car_Y3.png'
  2279. //visible:true
  2280. visible: appModel.radar3 < radarGreenRange&& appModel.radar3 > radarRedRange
  2281. }
  2282. Image {
  2283. id: iRadar_car_Y4
  2284. z: 99
  2285. width: 350
  2286. height: 550
  2287. anchors.top: statusRightLogin.top
  2288. anchors.topMargin: 0
  2289. anchors.left: statusRightLogin.left
  2290. anchors.leftMargin: 120
  2291. anchors.horizontalCenter: radarData.horizontalCenter
  2292. fillMode: Image.Stretch
  2293. source: 'qrc:/images/radar_car_Y4.png'
  2294. //visible:true
  2295. visible: appModel.radar4 < radarGreenRange&& appModel.radar4 > radarRedRange
  2296. }
  2297. Image {
  2298. id: iRadar_car_Y5
  2299. z: 99
  2300. width: 350
  2301. height: 550
  2302. anchors.top: statusRightLogin.top
  2303. anchors.topMargin: 100
  2304. anchors.left: statusRightLogin.left
  2305. anchors.leftMargin: 120
  2306. anchors.horizontalCenter: radarData.horizontalCenter
  2307. fillMode: Image.Stretch
  2308. source: 'qrc:/images/radar_car_Y5.png'
  2309. //visible:true
  2310. visible: appModel.radar5 < radarGreenRange&& appModel.radar5 > radarRedRange
  2311. }
  2312. Image {
  2313. id: iRadar_car_Y6
  2314. z: 99
  2315. width: 350
  2316. height: 550
  2317. anchors.top: statusRightLogin.top
  2318. anchors.topMargin: 100
  2319. anchors.left: statusRightLogin.left
  2320. anchors.leftMargin: 120
  2321. anchors.horizontalCenter: radarData.horizontalCenter
  2322. fillMode: Image.Stretch
  2323. source: 'qrc:/images/radar_car_Y6.png'
  2324. //visible:true
  2325. visible: appModel.radar6 < radarGreenRange&& appModel.radar6 > radarRedRange
  2326. }
  2327. Image {
  2328. id: iRadar_car_Y7
  2329. z: 99
  2330. width: 350
  2331. height: 550
  2332. anchors.top: statusRightLogin.top
  2333. anchors.topMargin: 0
  2334. anchors.left: statusRightLogin.left
  2335. anchors.leftMargin: 120
  2336. anchors.horizontalCenter: radarData.horizontalCenter
  2337. fillMode: Image.Stretch
  2338. source: 'qrc:/images/radar_car_Y7.png'
  2339. //visible:true
  2340. visible: appModel.radar7 < radarGreenRange&& appModel.radar7 > radarRedRange
  2341. }
  2342. Image {
  2343. id: iRadar_car_Y8
  2344. z: 99
  2345. width: 350
  2346. height: 550
  2347. anchors.top: statusRightLogin.top
  2348. anchors.topMargin: 0
  2349. anchors.left: statusRightLogin.left
  2350. anchors.leftMargin: 120
  2351. anchors.horizontalCenter: radarData.horizontalCenter
  2352. fillMode: Image.Stretch
  2353. source: 'qrc:/images/radar_car_Y8.png'
  2354. //visible:true
  2355. visible: appModel.radar8 < radarGreenRange&& appModel.radar8 > radarRedRange
  2356. }
  2357. Image {
  2358. id: iRadar_car_Y9
  2359. z: 99
  2360. width: 550
  2361. height: 350
  2362. anchors.top: statusRightLogin.top
  2363. anchors.topMargin: 80
  2364. anchors.left: statusRightLogin.left
  2365. anchors.leftMargin: -5
  2366. anchors.horizontalCenter: radarData.horizontalCenter
  2367. fillMode: Image.Stretch
  2368. source: 'qrc:/images/radar_car_Y0.png'
  2369. //visible:true
  2370. visible: appModel.radar9 < radarGreenRange&& appModel.radar9 > radarRedRange
  2371. }
  2372. Row {
  2373. id: iText0
  2374. height: parent.height
  2375. anchors.top: statusRightLogin.top
  2376. anchors.topMargin: -50+20
  2377. anchors.left: statusRightLogin.left
  2378. anchors.leftMargin: 90+140
  2379. Text {
  2380. text: "正前:"
  2381. color: mainTextColor
  2382. anchors.left: iText1.left
  2383. anchors.leftMargin: 0
  2384. font.family: alibaba.name
  2385. font.pointSize: radarTxtSize
  2386. }
  2387. Text {
  2388. id: radar9
  2389. text: (appModel.radar9 / 1000).toFixed(2)
  2390. color: mainTextColor
  2391. anchors.left: iText1.left
  2392. anchors.leftMargin: 110
  2393. font.family: alibaba.name
  2394. font.pointSize: radarTxtSize
  2395. }
  2396. }
  2397. Row {
  2398. id: iText1
  2399. height: parent.height
  2400. anchors.top: statusRightLogin.top
  2401. anchors.topMargin: -20+20
  2402. anchors.left: statusRightLogin.left
  2403. anchors.leftMargin: 90
  2404. Text {
  2405. text: "雷达左前:"
  2406. color: mainTextColor
  2407. anchors.left: iText1.left
  2408. anchors.leftMargin: 0
  2409. font.family: alibaba.name
  2410. font.pointSize: radarTxtSize
  2411. }
  2412. Text {
  2413. id: radar1
  2414. text: (appModel.radar1 / 1000).toFixed(2)
  2415. color: mainTextColor
  2416. anchors.left: iText1.left
  2417. anchors.leftMargin: 110
  2418. font.family: alibaba.name
  2419. font.pointSize: radarTxtSize
  2420. }
  2421. Text {
  2422. text: "雷达右前:"
  2423. color: mainTextColor
  2424. anchors.left: iText1.left
  2425. anchors.leftMargin: 250
  2426. font.family: alibaba.name
  2427. font.pointSize: radarTxtSize
  2428. }
  2429. Text {
  2430. id: radar2
  2431. text: (appModel.radar2 / 1000).toFixed(2)
  2432. color: mainTextColor
  2433. anchors.left: iText1.left
  2434. anchors.leftMargin: 360
  2435. font.family: alibaba.name
  2436. font.pointSize: radarTxtSize
  2437. }
  2438. }
  2439. Row {
  2440. id: iText2
  2441. height: parent.height
  2442. anchors.top: statusRightLogin.top
  2443. anchors.topMargin: 10+20
  2444. anchors.left: statusRightLogin.left
  2445. anchors.leftMargin: 90
  2446. //visible: true
  2447. Text {
  2448. text: "雷达前左:"
  2449. color: mainTextColor
  2450. anchors.left: iText2.left
  2451. anchors.leftMargin: 0
  2452. font.family: alibaba.name
  2453. font.pointSize: radarTxtSize
  2454. }
  2455. Text {
  2456. id: radar3
  2457. text: (appModel.radar8 / 1000).toFixed(2)
  2458. color: mainTextColor
  2459. anchors.left: iText2.left
  2460. anchors.leftMargin: 110
  2461. font.family: alibaba.name
  2462. font.pointSize: radarTxtSize
  2463. }
  2464. Text {
  2465. text: "雷达前右:"
  2466. color: mainTextColor
  2467. anchors.left: iText2.left
  2468. anchors.leftMargin: 250
  2469. font.family: alibaba.name
  2470. font.pointSize: radarTxtSize
  2471. }
  2472. Text {
  2473. id: radar4
  2474. text: (appModel.radar3 / 1000).toFixed(2)
  2475. color: mainTextColor
  2476. anchors.left: iText2.left
  2477. anchors.leftMargin: 360
  2478. font.family: alibaba.name
  2479. font.pointSize: radarTxtSize
  2480. }
  2481. }
  2482. Row {
  2483. id: iText3
  2484. height: parent.height
  2485. anchors.top: statusRightLogin.top
  2486. anchors.topMargin: 40+20
  2487. anchors.left: statusRightLogin.left
  2488. anchors.leftMargin: 90
  2489. Text {
  2490. text: "雷达后左:"
  2491. color: mainTextColor
  2492. anchors.left: iText3.left
  2493. anchors.leftMargin: 0
  2494. font.family: alibaba.name
  2495. font.pointSize: radarTxtSize
  2496. }
  2497. Text {
  2498. id: radar5
  2499. text: (appModel.radar7 / 1000).toFixed(2)
  2500. color: mainTextColor
  2501. anchors.left: iText3.left
  2502. anchors.leftMargin: 110
  2503. font.family: alibaba.name
  2504. font.pointSize: radarTxtSize
  2505. }
  2506. Text {
  2507. text: "雷达后右:"
  2508. color: mainTextColor
  2509. anchors.left: iText3.left
  2510. anchors.leftMargin: 250
  2511. font.family: alibaba.name
  2512. font.pointSize: radarTxtSize
  2513. }
  2514. Text {
  2515. id: radar6
  2516. text: (appModel.radar4 / 1000).toFixed(2)
  2517. color: mainTextColor
  2518. anchors.left: iText3.left
  2519. anchors.leftMargin: 360
  2520. font.family: alibaba.name
  2521. font.pointSize: radarTxtSize
  2522. }
  2523. }
  2524. Row {
  2525. id: iText4
  2526. height: parent.height
  2527. anchors.top: statusRightLogin.top
  2528. anchors.topMargin: 70+20
  2529. anchors.left: statusRightLogin.left
  2530. anchors.leftMargin: 90
  2531. Text {
  2532. text: "雷达左轮:"
  2533. color: mainTextColor
  2534. anchors.left: iText4.left
  2535. anchors.leftMargin: 0
  2536. font.family: alibaba.name
  2537. font.pointSize: radarTxtSize
  2538. }
  2539. Text {
  2540. id: radar7
  2541. text: (appModel.radar6 / 1000).toFixed(2)
  2542. color: mainTextColor
  2543. anchors.left: iText4.left
  2544. anchors.leftMargin: 110
  2545. font.family: alibaba.name
  2546. font.pointSize: radarTxtSize
  2547. }
  2548. Text {
  2549. text: "雷达右轮:"
  2550. color: mainTextColor
  2551. anchors.left: iText4.left
  2552. anchors.leftMargin: 250
  2553. font.family: alibaba.name
  2554. font.pointSize: radarTxtSize
  2555. }
  2556. Text {
  2557. id: radar8
  2558. text: (appModel.radar5 / 1000).toFixed(2)
  2559. color: mainTextColor
  2560. anchors.left: iText4.left
  2561. anchors.leftMargin: 360
  2562. font.family: alibaba.name
  2563. font.pointSize: radarTxtSize
  2564. }
  2565. }
  2566. Rectangle {
  2567. id: warning
  2568. width: 357
  2569. height: 35
  2570. color: popupBgColorErr
  2571. anchors.top: statusRightLogin.top
  2572. anchors.topMargin: 640
  2573. anchors.left: statusRightLogin.left
  2574. anchors.leftMargin: 120
  2575. radius: 5
  2576. Text {
  2577. id: warningtxt
  2578. text: qsTr("注意保持车距")
  2579. color: '#FFFFFF'
  2580. font.family: alibaba.name
  2581. font.pointSize: 18
  2582. anchors.horizontalCenter: warning.horizontalCenter
  2583. }
  2584. //visible:true
  2585. visible: (appModel.radar1
  2586. <= radarRedRange || appModel.radar2
  2587. <= radarRedRange || appModel.radar3
  2588. <= radarRedRange || appModel.radar4
  2589. <= radarRedRange || appModel.radar5
  2590. <= radarRedRange || appModel.radar6
  2591. <= radarRedRange || appModel.radar7
  2592. <= radarRedRange || appModel.radar8
  2593. <= radarRedRange || appModel.radar9
  2594. <= radarRedRange)
  2595. }
  2596. }
  2597. Row{
  2598. anchors.top: radarData.top
  2599. anchors.topMargin: 650
  2600. anchors.left: radarData.left
  2601. anchors.leftMargin: 50
  2602. Rectangle {
  2603. id: chart
  2604. width: radarData.width/2+40
  2605. height: 350
  2606. anchors.top: radarData.top
  2607. anchors.topMargin: 620
  2608. anchors.left: radarData.left
  2609. anchors.leftMargin: 80
  2610. color: 'transparent'
  2611. visible:true
  2612. ChartView {
  2613. titleColor: mainTextColor
  2614. title: " "
  2615. anchors.fill: parent
  2616. antialiasing: true
  2617. backgroundColor: "transparent"
  2618. titleFont.pixelSize: 22
  2619. visible:true
  2620. StackedBarSeries {
  2621. id: mySeries
  2622. axisX: BarCategoryAxis {
  2623. color: mainTextColor
  2624. categories: [ "左支腿" ]
  2625. labelsColor: "white"
  2626. }
  2627. axisY: ValueAxis {
  2628. id: barY
  2629. gridLineColor: "gray"
  2630. labelsColor: "white"
  2631. max: 100
  2632. tickCount: 11
  2633. labelFormat: "%d%"
  2634. // 设置具有值的 Y 轴刻度线的颜色
  2635. minorTickCount: 10
  2636. minorGridLineColor: "gray"
  2637. onTickCountChanged: {
  2638. // 设置主要 Y 轴刻度线的颜色
  2639. gridLineColor = tickCount > 0 ? "yellow" : "gray";
  2640. //gridLineColor = "yellow"
  2641. labelsColor = tickCount > 0 ? "yellow" : "white";
  2642. //labelsColor ="yellow"
  2643. }
  2644. }
  2645. BarSet {
  2646. values: [(appModel.wireSensorL/430)*100]
  2647. //values: [50]
  2648. color: "blue"
  2649. }
  2650. }
  2651. }
  2652. }
  2653. Rectangle{
  2654. id: chart1
  2655. width: radarData.width/2+40
  2656. height: 350
  2657. anchors.top: radarData.top
  2658. anchors.topMargin: 620
  2659. anchors.left: radarData.left
  2660. anchors.leftMargin: 80
  2661. color: 'transparent'
  2662. visible:true
  2663. ChartView {
  2664. titleColor: mainTextColor
  2665. title: " "
  2666. anchors.fill: parent
  2667. antialiasing: true
  2668. backgroundColor: "transparent"
  2669. titleFont.pixelSize: 22
  2670. visible:true
  2671. StackedBarSeries {
  2672. id: mySeries1
  2673. axisX: BarCategoryAxis {
  2674. color: mainTextColor
  2675. categories: [ "右支腿" ]
  2676. labelsColor: "white"
  2677. //barsWidth: 0.5
  2678. }
  2679. axisY: ValueAxis {
  2680. id: barY1
  2681. gridLineColor: "gray"
  2682. labelsColor: "white"
  2683. max: 100
  2684. tickCount: 11
  2685. labelFormat: "%d%"
  2686. // 设置具有值的 Y 轴刻度线的颜色
  2687. minorTickCount: 10
  2688. minorGridLineColor: "gray"
  2689. onTickCountChanged: {
  2690. // 设置主要 Y 轴刻度线的颜色
  2691. gridLineColor = tickCount > 0 ? "yellow" : "gray";
  2692. labelsColor = tickCount > 0 ? "yellow" : "white";
  2693. }
  2694. }
  2695. BarSet {
  2696. values: [(appModel.wireSensorR / 430)*100]
  2697. //values: [80]
  2698. color: "green"
  2699. }
  2700. }
  2701. }
  2702. }
  2703. }
  2704. Row{
  2705. id:showStat
  2706. anchors.top: radarData.top
  2707. anchors.topMargin: 1000
  2708. anchors.left: radarData.left
  2709. anchors.leftMargin: 50
  2710. Text{
  2711. id:close
  2712. text:'倾翻油缸伸缩状态'
  2713. color:'white'
  2714. anchors.top: showStat.top
  2715. anchors.topMargin: 5
  2716. anchors.left: radarData.left
  2717. anchors.leftMargin: 50
  2718. }
  2719. Image{
  2720. id:falseLight
  2721. source:'qrc:/images/true-light.png'
  2722. anchors.left: close.left
  2723. anchors.leftMargin: 100
  2724. visible:appModel.tipLimit===1
  2725. }
  2726. Image{
  2727. id:trueLight
  2728. source:'qrc:/images/false-light.png'
  2729. anchors.left: close.left
  2730. anchors.leftMargin: 140
  2731. visible:appModel.tipLimit===0
  2732. }
  2733. Text{
  2734. id:close2
  2735. text:'锁钩闭合状态'
  2736. color:'white'
  2737. anchors.top: showStat.top
  2738. anchors.topMargin: 5
  2739. anchors.left: close.left
  2740. anchors.leftMargin: 240
  2741. }
  2742. Image{
  2743. id:lClose
  2744. source:'qrc:/images/L-close.png'
  2745. anchors.left: close2.left
  2746. anchors.leftMargin: 80
  2747. visible:appModel.lockSwitchL===1
  2748. }
  2749. Image{
  2750. id:rClose
  2751. source:'qrc:/images/R-close.png'
  2752. anchors.left: close2.left
  2753. anchors.leftMargin: 110
  2754. visible:appModel.lockSwitchR===1
  2755. }
  2756. }
  2757. }
  2758. }
  2759. }
  2760. }
  2761. }