import QtQuick 2.0 import "../../eventsList.js" as EventsList import "../../com/neusoft/auto/widgets" import "../../layoutList.js" as Layout import "../../windowsList.js" as WindowsList import "../../Setting/Settinglist.js" as Settinglist import Label 2.0 HMIWindow { id:msg_select_person property int curContactIndex: 0 property bool selectState: btCtrl.btMsgContactAllSelectstate property bool btBtnEnabledSta:btCtrl.btConnectState property string aTozCurrent: "" Component.onCompleted: { windowID = WindowsList.BTM_SELECT_CONT } onVisibleChanged: { //bKeyboardVisiable = true bFullWindow = true systemCtrl.setTextInputHandle(searchNumInput) contact_people.model = btCtrl.btPhoneBookListModel if(search_area.visible == true) { search_area.visible = false } //ADD #119249 2016/10/14 wangshuang begin if (false == btCtrl.btConnectState || false == btCtrl.btserviceIsHFP) { nameSearchInput_bg.visible=false } //ADD #119249 2016/10/14 wangshuang end } //ADD #130751 2016/11/28 wangshuang begin onCloseWindow: { contact_people.cancelFlick() } //ADD #130751 2016/11/28 wangshuang end HMILabel { //Fod #F0002 2016/10/10 wangshuang begin x:240//130 y:icon_return_label.y//0 width:480//700 height:38//56 text:qsTr("Contacts")+ systemCtrl.emptyString color: "white" font.pixelSize: 30 horizontalAlignment: text.horizontalAlignment verticalAlignment: text.verticalAlignment //horizontalAlignment: Label.horizontalAlignment //Fod #F0002 2016/10/10 wangshuang end } HMIButton { id:icon_return x:0//3 y:5//-4 width: 138//130 height: 70//80 btnImg:icon_return.pressed?("qrc:MATERIAL/MATERIAL_M8X_BACK_BUTTON_P"+bgImageStyle) :("qrc:MATERIAL/MATERIAL_M8X_BACK_BUTTON"+bgImageStyle) Image { id:icon_return_image x:20//12 //y:20 width: 20//24 height:34//40 source: "qrc:MATERIAL/MATERIAL_M8X_ICON_BACK"+bgImageStyle anchors.verticalCenter:parent.verticalCenter } HMILabel { id:icon_return_label x:58//36 //y:25 //Fod #F0017 2016/10/11 wangshuang begin width: 64//60//98 //Fod #F0017 2016/10/11 wangshuang end height:30//35 text: qsTr("Back")+ systemCtrl.emptyString font.pixelSize: 30 anchors.verticalCenter:parent.verticalCenter } onClicked: { ScreenManager.changeForm(Layout.FM_OPEN,WindowsList.BTM_NEW_MSG) btCtrl.btMsgContactSelectedCFM() } } HMIButton { id:all_choice //Fod #F0009 2016/10/10 wangshuang begin x:822//820 y:5//-3 width: 138//130 height: 70//77 //Fod #F0009 2016/10/10 wangshuang end btnImg: all_choice.pressed?("qrc:MATERIAL/MATERIAL_M8X_BACK_BUTTON_P"+bgImageStyle) :("qrc:MATERIAL/MATERIAL_M8X_BACK_BUTTON"+bgImageStyle) labelText: qsTr("All")+ systemCtrl.emptyString labelPixelSize: 30 onClicked: { //Fod #F0095 2016/11/15 wangshuang begin if( (true == btCtrl.btConnectState)&&(false == btCtrl.btPhoneBookLoading) )//( true == btCtrl.btConnectState ) //Fod #F0095 2016/11/15 wangshuang end { //ADD #130751 2016/11/28 wangshuang begin contact_people.cancelFlick() //ADD #130751 2016/11/28 wangshuang end // console.debug("btm_select_cont.qml: setBtMsgContactSelected selectState="+selectState) if(btCtrl.btMsgContactAllSelectstate) { btCtrl.setBtMsgContactSelectAll() //selectState = false; btCtrl.btMsgContactAllSelectstate = false } else { btCtrl.setBtMsgContactSelectClear() //selectState = true btCtrl.btMsgContactAllSelectstate = true } } } } HMIButton { id:nameSearchInput_bg //Fod #F0008 2016/10/10 wangshuang begin x: 58//67 y: 81//72 width: 842//822 //Fod #F0008 2016/10/10 wangshuang end height: 78 //ADD #119249 2016/10/14 wangshuang begin visible:true //ADD #119249 2016/10/14 wangshuang end btnImg:nameSearchInput_bg.pressed?("qrc:MATERIAL/MATERIAL_M8X_LIST_78_P"+bgImageStyle) :("qrc:MATERIAL/MATERIAL_M8X_LIST_78"+bgImageStyle) HMILabel { id:nameSearchInput_lable //Fod #F0010 2016/10/10 wangshuang begin x:85//110 //y:25 width: 500 height: 32 font.pixelSize: 30 text:qsTr("Search")+ systemCtrl.emptyString color: "#656565" anchors.verticalCenter:parent.verticalCenter //Fod #F0010 2016/10/10 wangshuang end horizontalAlignment: Label.AlignLeft } onClicked: { //Fod #F0095 2016/11/15 wangshuang begin if( (true == btCtrl.btConnectState)&&(false == btCtrl.btPhoneBookLoading) )//( true == btCtrl.btConnectState ) //Fod #F0095 2016/11/15 wangshuang end { //ADD #130751 2016/11/28 wangshuang begin contact_people.cancelFlick() //ADD #130751 2016/11/28 wangshuang end ScreenManager.changeForm(Layout.FM_OPEN,WindowsList.BTM_SEARCH) } } } Item { //Fod #F0008 2016/10/10 wangshuang begin x:58//57 y:161//153 //Fod #F0008 2016/10/10 wangshuang end //Fod #F0144 2016/12/22 wangshuang begin width:879//873 //Fod #F0144 2016/12/22 wangshuang end //Fod #121463 2016/10/13 wangshuang begin height: 720//728 //Fod #121463 2016/10/13 wangshuang end //DEL #128605 2016/12/06 wangshuang begin //enabled:(btCtrl.btConnectState == true) && (btCtrl.btserviceIsHFP == true) && (false == btCtrl.btPhoneBookLoading) //DEL #128605 2016/12/06 wangshuang end HMIListView { id:contact_people anchors.fill: parent clip:true //model:mesrecord model:btCtrl.btPhoneBookListModel delegate: phone_Number keyNavigationWraps: true orientation: ListView.Vertical highlightFollowsCurrentItem: true snapMode: ListView.SnapOneItem rightMargin: 0 scrollBar:true scrollBar_edge:0 scrollBar_width:8//4 spacing: 2 scrollBar_img:"qrc:MATERIAL/MATERIAL_M8X_SLIDER_BAR"+bgImageStyle } Component { id:phone_Number HMIButton { id:contact_List enabled: col1=='1'?false:true height: 78 //Fod #F0018 2016/10/11 wangshuang begin btnImg:(contact_List.pressed)?("qrc:MATERIAL/MATERIAL_M8X_LIST_78_P"+bgImageStyle):("qrc:MATERIAL/MATERIAL_M8X_LIST_78"+bgImageStyle) //"qrc:MATERIAL/MATERIAL_M8X_LIST_78"+bgImageStyle // Image // { // height: 78 // visible: (curContactIndex == index&&curContactIndex !=0)? true:false//(curContactIndex == index) ? true:false // source:(contact_List.pressed)?("qrc:MATERIAL/MATERIAL_M8X_LIST_78_P"+bgImageStyle) // :("qrc:MATERIAL/MATERIAL_M8X_LIST_78_P"+bgImageStyle) // } //Fod #F0018 2016/10/11 wangshuang end Item { //Fod #F0013 2016/10/11 wangshuang begin x:84//119 y:7 width: 610 height: 37 //Fod #F0013 2016/10/11 wangshuang end HMILabel { anchors.fill: parent horizontalAlignment: Text.AlignLeft elide:Text.ElideRight//elide: Label.ElideRight font.pixelSize:30 //Fod #F0037 2016/10/13 wangshuang begin text:col7//(col7 == "")?col0:col7//name//(col1 == '3')?(col0):(col7==""?col0:(col7+" "+col0))//col0 //Fod #F0037 2016/10/13 wangshuang end } } //ADD #F0037 2016/10/13 wangshuang begin Item { x:84 y:22 width: 670-60 height: 38 HMILabel { anchors.fill: parent font.pixelSize:30 text:(col7 == "")?col0:"" horizontalAlignment: Label.AlignLeft } } //ADD #F0037 2016/10/13 wangshuang end Item { //Fod #F0013 2016/10/11 wangshuang begin x:84//119 y:39//36 //Fod #F0013 2016/10/11 wangshuang end width: 610 height: 37 HMILabel { anchors.fill: parent font.pixelSize:22 wtitesize:1 text:(col7 == "")?"":col0//number(col1 == '3')?(col0):(col7==""?col0:(col7+" "+col0)) //Fod #F0013 2016/10/11 wangshuang begin color:(contact_List.pressed)?"white":"#808080" //Fod #F0013 2016/10/11 wangshuang end horizontalAlignment: Label.AlignLeft elide:Text.ElideRight//elide:Label.ElideRight } } Item { //id:checkbox_List1 x: 710 y: 6 visible: ((col1=='1')||(col0=="")||(col2 == "1"))?false:true//visible: ((col1=='1')||(col0==""))?false:true HMIButton { id:checkbox_List1 width: 64 height: 62 //visible: ((col1=='1')||(col0==""))?false:true btnImg:checkbox_List1.pressed?("qrc:MATERIAL/MATERIAL_M8X_CHOICE_BOX_PUSHED"+bgImageStyle) :("qrc:MATERIAL/MATERIAL_M8X_CHOICE_BOX"+bgImageStyle) onClicked: { if(col2 == "0") { btCtrl.setBtMsgContactSelected(index) } else{ btCtrl.setBtMsgContactUnSelected(index) } } } } Item { //id:checkbox_List2 x: 710 y: 6 visible: ((col1=='1')||(col0=="")||(col2 == "0"))?false:true HMIButton { id:checkbox_List2 width: 64 height: 62 //visible: ((col1=='1')||(col0=="")||(col2 == "0"))?false:true btnImg:checkbox_List2.pressed?("qrc:MATERIAL/MATERIAL_M8X_CHOICE_BOX_CHECK_PUSHED"+bgImageStyle) :("qrc:MATERIAL/MATERIAL_M8X_CHOICE_BOX_CHECK"+bgImageStyle) onClicked: { if(col2 == "0") { btCtrl.setBtMsgContactSelected(index) } else{ btCtrl.setBtMsgContactUnSelected(index) } } } } onPressed: { if( true == btCtrl.btConnectState ) { if (curContactIndex != index) { curContactIndex = index } } } onClicked: { // console.debug("setBtMsgContactSelected col2="+col2+"col1"+ col1) if(col1 == "1") { // console.log("[BTM_Select_Cont]btCtrl.setBtMsgContactSelected()------") } else { if(col2 == "0") { btCtrl.setBtMsgContactSelected(index) } else{ btCtrl.setBtMsgContactUnSelected(index) } } } } } } //Add #129445 2016/11/30 wangs begin MouseArea { id:scroolbarcover x:58+842 y:161 width:60 height: 720 } //Add #129445 2016/11/30 wangs end // HMIButton // { // id:icon_update // x:43 // y:88 // width: 870 // height: 48 // //labelText: qsTr("Search")+ systemCtrl.emptyString // btnImg:icon_search.pressed?("qrc:MATERIAL/MATERIAL_M8X_LIST_78_P"+bgImageStyle) // :("qrc:MATERIAL/MATERIAL_M8X_LIST_78"+bgImageStyle) // HMILabel // { // id:nameSearchInput_lable // x:135 // y:6 // width: 500 // height: 32 // font.pixelSize: 30 // text:qsTr("Search")+ systemCtrl.emptyString // color: "#656565" // horizontalAlignment: Label.AlignLeft // } // onClicked: // { // if( true == btCtrl.btConnectState ) // { // //search_area.visible = true // ScreenManager.changeForm(Layout.FM_OPEN,WindowsList.BTM_SEARCH) // } // } // } HMIButton { id:icon_update x:146 y:search_area.visible?478:881 width: 752 height: 80 btnImg:icon_update.pressed?("qrc:MATERIAL/MATERIAL_M8X_FUNCTION_1_BUTTON_NOSWITCH_P"+bgImageStyle) :("qrc:MATERIAL/MATERIAL_M8X_FUNCTION_1_BUTTON_NOSWITCH"+bgImageStyle) Item { anchors.centerIn: parent Image { id:icon_update_image x:-18 y:-25 width: 32 height:32 source: "qrc:MATERIAL/MATERIAL_M8X_ICON_UPDATE"+bgImageStyle } HMILabel { x:-77 y:10 width: 150 height: 28 font.pixelSize: 18 text:qsTr("Update")+ systemCtrl.emptyString horizontalAlignment: Label.horizontalCenter } } onClicked: { if( (true == btCtrl.btConnectState)&&(false == btCtrl.btPhoneBookLoading)) { //ADD #130751 2016/11/28 wangshuang begin contact_people.cancelFlick() //ADD #130751 2016/11/28 wangshuang end btCtrl.getBTPhoneBookData() } } } /*---------------------------------------------Key Board Start----------------------------------------*/ Rectangle { id:search_area x:0 y:385 width: 750 height: 320 visible: false color:"#202020" Item { id:input_bar x:30 y:525-128-385 width: 696 height: 44 HMIButton { x:24-30 y:518-525 btnImg: "qrc:MATERIAL/MATERIAL_M8X_LIST_78_P"+bgImageStyle onClicked: { } } TextInput { id: searchNumInput x:0 y:0 width: 690 height: 44 font.pixelSize: 26 readOnly: false enabled: true horizontalAlignment: Text.AlignLeft clip: true color:"white" //ADD #F0148 2017/1/10 wangshuang begin selectionColor: "#676767" //ADD #F0148 2017/1/10 wangshuang end cursorVisible:true } } HMIKeyBoard { id:keyBoard x:0 y:440-385 iSerach: true scale:1.25 onClickspell: { if(!keyBoard.isPinyin) systemCtrl.setKeyPress(spell) } onSearchStart: { btCtrl.btPhoneBookSearchInfo(searchNumInput.text) // console.log("[BTP_Contact]-------------------------btCtrl.btPhoneBookSearchInfo"+searchNumInput.text) contact_people.model = btCtrl.btPhoneBookSearchListModel searchNumInput.text = "" search_area.visible = false bKeyboardVisiable = false } onHandwriteborad: { keyBoard.visible=false handWrite.visible=true } onCloseKeyBoardSignal: { //keyBoard.visible=false; search_area.visible = false bKeyboardVisiable = false } } HMIHandWrite{ id:handWrite x:0 y:440-385+62 iSerach: true visible: false onKeyborad: { // console.log("#############################################") keyBoard.iType=itype keyBoard.visible=true handWrite.visible=false } onCloseKeyBoardSignal: { //keyBoard.visible=false; search_area.visible = false bKeyboardVisiable = false } onSearchStart: { btCtrl.btPhoneBookSearchInfo(searchNumInput.text) contact_people.model = btCtrl.btPhoneBookSearchListModel searchNumInput.text = "" search_area.visible = false bKeyboardVisiable = false } } } Column{ x:5 y:150 width: 50 id: firstRow //Fod #F0058 2016/10/19 wangshuang begin visible: (btCtrl.btConnectState == true && btCtrl.btserviceIsHFP == true)//btCtrl.btConnectState //Fod #F0058 2016/10/19 wangshuang end //anchors{top:parent.top;topMargin:120} Repeater{ model:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","#"] HMILabel{ width:50 height: 26 font.pixelSize: 24 wtitesize:1 //Fod #F0014 2016/10/11 wangshuang begin color:aTozCurrent== qsTr(modelData)?"#FFFFFF":"#808080"//"#E1E1E1":"#262626" //Fod #F0014 2016/10/11 wangshuang end text:qsTr(modelData); // HMIMouseArea // { // anchors.fill: parent // onPressed: // { // aTozCurrent = modelData // currentAlp.visible = true // if( btCtrl.getSearchInitialIsExist(aTozCurrent) == true) // { // contact_people.positionViewAtIndex(btCtrl.getPBInitialSearchIndex(aTozCurrent), ListView.Beginning) // // btCtrl.getPBInitialSearchIndex(aTozCurrent) // //searchInfo = searchInfo + modelData; // } // } // onCanceled: // { // currentAlp.visible = false // } // onReleased: // { // currentAlp.visible = false // } // } } } } HMIMouseArea { id:firstRowMouseArea x:5 y:153 width: 50 height: 676 onPositionChanged: { if(mouse.y>0 && mouse.y<26) //A { showAtoZCurrent("A") } else if(mouse.y>26 && mouse.y<52) //B { showAtoZCurrent("B") } else if(mouse.y>52 && mouse.y<78) //B { showAtoZCurrent("C") } else if(mouse.y>78 && mouse.y<104) //D { showAtoZCurrent("D") } else if(mouse.y>104 && mouse.y<130) //E { showAtoZCurrent("E") } else if(mouse.y>130 && mouse.y<156) //F { showAtoZCurrent("F") } else if(mouse.y>156 && mouse.y<182) //G { showAtoZCurrent("G") } else if(mouse.y>182 && mouse.y<208) //H { showAtoZCurrent("H") } else if(mouse.y>208 && mouse.y<234) //I { showAtoZCurrent("I") } else if(mouse.y>234 && mouse.y<260) //J { showAtoZCurrent("J") } else if(mouse.y>260 && mouse.y<286) //K { showAtoZCurrent("K") } else if(mouse.y>286 && mouse.y<312) //L { showAtoZCurrent("L") } else if(mouse.y>312 && mouse.y<338) //M { showAtoZCurrent("M") } else if(mouse.y>338 && mouse.y<364) //N { showAtoZCurrent("N") } else if(mouse.y>364 && mouse.y<390) //O { showAtoZCurrent("O") } else if(mouse.y>390 && mouse.y<416) //P { showAtoZCurrent("P") } else if(mouse.y>416 && mouse.y<442) //Q { showAtoZCurrent("Q") } else if(mouse.y>442 && mouse.y<468) //R { showAtoZCurrent("R") } else if(mouse.y>468 && mouse.y<494) //S { showAtoZCurrent("S") } else if(mouse.y>494 && mouse.y<520) //T { showAtoZCurrent("T") } else if(mouse.y>520 && mouse.y<546) //U { showAtoZCurrent("U") } else if(mouse.y>546 && mouse.y<572) //V { showAtoZCurrent("V") } else if(mouse.y>572 && mouse.y<598) //W { showAtoZCurrent("W") } else if(mouse.y>598 && mouse.y<624) //X { showAtoZCurrent("X") } else if(mouse.y>624 && mouse.y<650) //Y { showAtoZCurrent("Y") } else if(mouse.y>650 && mouse.y<676) //Z { showAtoZCurrent("Z") } else if(mouse.y>676 && mouse.y<702) //Z { showAtoZCurrent("#") } else { } } onCanceled: { //Fod #128588 2016/11/15 wangshuang begin //currentAlp.visible = false currentAlp_display.start() } onReleased: { //currentAlp.visible = false currentAlp_display.start() //Fod #128588 2016/11/15 wangshuang end } onPressed: { if(mouse.y>0 && mouse.y<26) //A { showAtoZCurrent("A") } else if(mouse.y>26 && mouse.y<52) //B { showAtoZCurrent("B") } else if(mouse.y>52 && mouse.y<78) //B { showAtoZCurrent("C") } else if(mouse.y>78 && mouse.y<104) //D { showAtoZCurrent("D") } else if(mouse.y>104 && mouse.y<130) //E { showAtoZCurrent("E") } else if(mouse.y>130 && mouse.y<156) //F { showAtoZCurrent("F") } else if(mouse.y>156 && mouse.y<182) //G { showAtoZCurrent("G") } else if(mouse.y>182 && mouse.y<208) //H { showAtoZCurrent("H") } else if(mouse.y>208 && mouse.y<234) //I { showAtoZCurrent("I") } else if(mouse.y>234 && mouse.y<260) //J { showAtoZCurrent("J") } else if(mouse.y>260 && mouse.y<286) //K { showAtoZCurrent("K") } else if(mouse.y>286 && mouse.y<312) //L { showAtoZCurrent("L") } else if(mouse.y>312 && mouse.y<338) //M { showAtoZCurrent("M") } else if(mouse.y>338 && mouse.y<364) //N { showAtoZCurrent("N") } else if(mouse.y>364 && mouse.y<390) //O { showAtoZCurrent("O") } else if(mouse.y>390 && mouse.y<416) //P { showAtoZCurrent("P") } else if(mouse.y>416 && mouse.y<442) //Q { showAtoZCurrent("Q") } else if(mouse.y>442 && mouse.y<468) //R { showAtoZCurrent("R") } else if(mouse.y>468 && mouse.y<494) //S { showAtoZCurrent("S") } else if(mouse.y>494 && mouse.y<520) //T { showAtoZCurrent("T") } else if(mouse.y>520 && mouse.y<546) //U { showAtoZCurrent("U") } else if(mouse.y>546 && mouse.y<572) //V { showAtoZCurrent("V") } else if(mouse.y>572 && mouse.y<598) //W { showAtoZCurrent("W") } else if(mouse.y>598 && mouse.y<624) //X { showAtoZCurrent("X") } else if(mouse.y>624 && mouse.y<650) //Y { showAtoZCurrent("Y") } else if(mouse.y>650 && mouse.y<676) //Z { showAtoZCurrent("Z") } else if(mouse.y>676 && mouse.y<702) //Z { showAtoZCurrent("#") } else { } } function showAtoZCurrent(currenType) { //Fod #128195 2016/11/14 wangshuang begin if((btCtrl.btConnectState == true) && (btCtrl.btserviceIsHFP == true) && (false == btCtrl.btPhoneBookLoading)) { //Fod #129858 2016/11/23 wangshuang begin contact_people.cancelFlick() //Fod #129858 2016/11/23 wangshuang end aTozCurrent = currenType currentAlp.visible = true } //Fod #128195 2016/11/14 wangshuang end if( btCtrl.getSearchInitialIsExist(aTozCurrent) == true) { contact_people.positionViewAtIndex(btCtrl.getPBInitialSearchIndex(aTozCurrent), ListView.Beginning) } } } HMILabel { id:currentAlp x:280 y:341-128 width: 360 height: 300 visible: false Image { source:"qrc:MATERIAL/MATERIAL_M8X_SMS_CONTACTS_LETTER_BG"+bgImageStyle } HMILabel { x:0 y:13 width: 360 height: 300 font.pixelSize: 136 wtitesize:1 text:aTozCurrent color: "#FFFFFF" horizontalAlignment: Label.horizontalAlignment } //text:aTozCurrent //font.pixelSize: 136 //horizontalAlignment: Label.horizontalAlignment } //ADD #128588 2016/11/15 wangshuang begin Timer{ id:currentAlp_display interval: 500 onTriggered: { currentAlp.visible = false } } //ADD #128588 2016/11/15 wangshuang end /*---------------------------------------------Key Board Over----------------------------------------*/ Item { id:unable //color: "#000000" //opacity: 0.5 //Fod #F0065 2016/10/26 wangshuang begin x:58//100 y:259//150 height: 352 width:844//760 //Fod #F0065 2016/10/26 wangshuang end visible: btCtrl.btPhoneBookLoading Image { anchors.centerIn: parent source:"qrc:MATERIAL/MATERIAL_M8X_POPUP_BG_WARNING"+bgImageStyle } HMILabel { //anchors.fill: parent //Fod #F0148 2017/1/7 wangshuang begin //y:108//64 width: 720//600 height: 38 font.pixelSize: 30//28 //Fod #F0148 2017/1/7 wangshuang end anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter text: btCtrl.btPhoneTextState//qsTr("Contacts updating...")+ systemCtrl.emptyString } HMIMouseArea { anchors.fill: parent bBeep:false onClicked: { btCtrl.setBtPBLoadPopTimerStop() } } } Item { x:100 y:60 height: 246+8 width:760 visible: (btCtrl.btConnectState == false || btCtrl.btserviceIsHFP == false) HMILabel { id:unconnect anchors.fill: parent font.pixelSize: 30 text:(btCtrl.btPhoneConnTextState == 2)?(qsTr("Please activate call audio in your phone")+ systemCtrl.emptyString):"" } } Connections { target: btCtrl onBtConnectStatusChanged: { if( false == btCtrl.btConnectState ) { search_area.visible = false aTozCurrent = "" if(msg_select_person.visible == true) { ScreenManager.changeForm(Layout.FM_OPEN,WindowsList.BTP_HOME) } //ADD #119249 2016/10/14 wangshuang begin nameSearchInput_bg.visible=false //ADD #119249 2016/10/14 wangshuang end } //ADD #119249 2016/10/14 wangshuang begin else{ if(true == btCtrl.btserviceIsHFP) { nameSearchInput_bg.visible=true } else{ nameSearchInput_bg.visible=false } } //ADD #119249 2016/10/14 wangshuang end } onBtGetPBListFinished: { } onBtPhoneTextStateChanged: { curContactIndex=0 aTozCurrent="" currentAlp.visible = false contact_people.positionViewAtIndex(btCtrl.getPBInitialSearchIndex(aTozCurrent), ListView.Beginning) //ADD #140695 2016/12/24 wangshuang begin btCtrl.setBtMsgContactSelectClear() //ADD #140695 2016/12/24 wangshuang end } } }