/* * ===================================================================================== * * Filename: App_HMICrossInfo.qml * * Description: * * Version: 1.0 * Created: 2016-1-5 15:50 * Revision: none * Compiler: gcc * * Author: jliu.neu, jliu.neu@neusoft.com * Organization: www.neusoft.com * * ===================================================================================== */ import AppLinkImageLibrary 1.0 import QtQuick 2.0 import Label 2.0 Rectangle { id:crossInfo width: 400 height: 480 visible: false color:"#00000000" Connections{ target:applinkControl onSignal_CrossViewSupdate:{ if( visible ){ crossRute_info.text = applinkControl.QML_cutStringForDisplay(qViewName, 6) tolDist.text = qTolDist+qDistType crossBar_img.height = iCount applinkImage.text="imageupdate" } } } MouseArea{ width: 401 height: 423 onClicked: { } } //===========================applinkImage===========================// AppLinkImageViewer{ id:applinkImage width:400 height:480 } //===========================crossRute===========================// Image{ id:crossRute x:0 y:10 source:imagePath_navi+"M8X_street-name_bg.png" HMILabel{ id: crossRute_info x:13 y:25 width:270 height:30 elide:Text.ElideRight font.pixelSize: 30 } } //===========================crossBar===========================// Image{ id:crossbar x:911-560//351 y:418-259//159 source: imagePath_navi+"M8X_Bar_BG.png" Image{ id:crossBar_img x:3 anchors.bottom: parent.bottom anchors.bottomMargin: 3 width:19 height: 0 source: imagePath_navi+"M8X_Route.png" } } Text{ id:restDist x:900-560//340 y:385-259//130 text:"0m" font.pixelSize: 20 color: "black" } Text{ id:tolDist x:892-560//335 y:688-259//432 font.pixelSize: 20 color: "black" } }