/* * ===================================================================================== * * Filename: App_HMILocationMenu.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 "../../eventsList.js" as EventsList import "../../windowsList.js" as WindowsList import "../../layoutList.js" as Layout import "../search.js" as Search import QtQuick 2.0 import Label 2.0 Image{ id:locationMenu Image{ id: locationmenu MouseArea{ id: mapMouseArea anchors.fill: parent } Row{ id:locationmenu_row spacing: 0 anchors.top: locationmenu.top //===========================srchBtn===========================// HMIButton{ id: srchBtn width:218 height: 78 btnImg: srchBtn.pressed?imagePath_navi+"M8X_NAVI_Button_w218_p.png":imagePath_navi+"M8X_NAVI_Button_w218.png" Image{ id:srchBtn_icon x:183-90 y:1054-1041 source:imagePath_navi+"M8X_icon_Search.png" } HMILabel{ id:srchBtn_Text x:54 y:52 width : 108 height: 20 font.pixelSize:18 verticalAlignment: Text.AlignTop text:qsTr("检索") + applinkControl.qsEmptyString } onClicked: { applinkControl.QML_SSPLink_ToKeyCrossMain(Search.FromLocation_1) ScreenManager.forward(Layout.APPLINK,WindowsList.APP_NAVI_SRCHKEYCROSSMAIN) } } //===========================rdBtn===========================// HMIButton{ id: rdBtn width:218 height: 78 btnImg:rdBtn.pressed?imagePath_navi+"M8X_NAVI_Button_w218_p.png":imagePath_navi+"M8X_NAVI_Button_w218.png" Image{ id:rdBtn_icon x:400-308 y:1060-1041 source:imagePath_navi+"M8X_icon_itinerary-planning.png" } HMILabel{ id:rdBtn_Text x:54 y:52 width : 108 height: 20 font.pixelSize:18 verticalAlignment: Text.AlignTop text:qsTr("路线") + applinkControl.qsEmptyString } onClicked:{ ScreenManager.forward(Layout.APPLINK,WindowsList.APP_ROUTE_MAIN) } } //===========================aroBtn===========================// HMIButton{ id: aroBtn width:218 height: 78 btnImg:aroBtn.pressed?imagePath_navi+"M8X_NAVI_Button_w218_p.png":imagePath_navi+"M8X_NAVI_Button_w218.png" Image{ id:aroBtn_icon x:618-526 y:1054-1041 source:imagePath_navi+"M8X_icon_Around.png" } HMILabel{ id:aroBtn_Text x:54 y:52 width : 108 height: 20 font.pixelSize:18 verticalAlignment: Text.AlignTop text:qsTr("周边") + applinkControl.qsEmptyString } onClicked:{ applinkControl.QML_NIF_Poi_GetQuickKind() applinkControl.QML_SSPLink_iSetSrhArdMode(0) ScreenManager.forward(Layout.APPLINK,WindowsList.AP_NAVI_SRCHAROUNDMAIN) } } //===========================fucBtn===========================// HMIButton{ id: fucBtn width:216 height: 78 btnImg:fucBtn.pressed?imagePath_navi+"M8X_NAVI_Button_w216_p.png":imagePath_navi+"M8X_NAVI_Button_w216.png" Image{ id:fucBtn_icon x:838-744 y:1059-1041 source:imagePath_navi+"M8X_icon_Function.png" } HMILabel{ id:fucBtn_Text x:54 y:52 width : 108 height: 20 font.pixelSize:18 verticalAlignment: Text.AlignTop text:qsTr("功能") + applinkControl.qsEmptyString } onClicked:{ ScreenManager.forward(Layout.APPLINK,WindowsList.APP_FUNCTION_MAIN) } } } } }