import QtQuick 2.0 import Label 2.0 import "../com/neusoft/auto/widgets" import "../eventsList.js" as EventsList import "../layoutList.js" as Layout import "../windowsList.js" as WindowsList import "../home/moduleList.js" as ModuleList import "../home/FuncList.js" as Func Item { id:vr_resident property int ivoice: settingControl.getVoicewakeup() property string vrLog: "[HMI_VR_QML][Resident]" signal vrSourceOk() signal vrSourceEnd() signal radioSourceOk() signal mediaSourceOk() Connections { target: vrControl onVrVoiceUpFlagChanged: { if(ret == true) { if(ivoice == 1) { systemControl.onBtnDown(Func.SOURCE_VR,Func.SOURCE_START,Func.SOURCE_FRONT) ScreenManager.changeLayout(EventsList.LT_CALL, Layout.VR, WindowsList.HMIVR_MAIN) } } } } /* Connections { target: systemControl onAppVRSourceOk: { //console.debug(vrLog, "onAppVRSourceOk!") if(vrState == Func.SOURCE_START) { //console.debug(vrLog, "onAppVRSourceOk SOURCE_START") vrSourceOk() } else { //console.debug(vrLog, "onAppVRSourceOk SOURCE_END") vrSourceEnd() } } onAppRadioSourceOk: { //console.debug(vrLog, "onAppRadioSourceOk!") radioSourceOk() } onAppLastBandRadio:{ //console.debug(vrLog, "onAppRadioSourceOk!") radioSourceOk() } onAppIPODSourceOk: { //console.debug(vrLog, "onAppIPODSourceOk!") mediaSourceOk() } onAppUSBSourceOk: { //console.debug(vrLog, "onAppUSBSourceOk!") mediaSourceOk() } } */ }