import QtQuick 2.0 import "../usb_define.js" as StatusList import "../../com/neusoft/auto/widgets" //HMICenterWindow //{ Image { id: bigimage1 //Fod by lishunan for #314731 start source:(col1 == 0 && col0 != ""&&!(USBControl1.isUsbImgOver20M(col0)))?col0:""//USBControl1.isUsbImgOver20M(col0)?"":((col1 == 0 && col0 != "")?col0:"") //(col1 == 0 && col0 != "")?col0:"" //Fod by lishunan for #314731 end // width: StatusList.IMAGE_HALF_WIDTH // height: StatusList.IMAGE_REAL_HEIGHT //add by system halted sourceSize.width: bMaxWindow == true?StatusList.IMAGE_FULL_WIDTH:StatusList.IMAGE_HALF_WIDTH sourceSize.height:bMaxWindow == true?StatusList.IMAGE_BIGGRIDVIEW_HEIGHT:StatusList.IMAGE_HALF_HEIGHT //add by system halted fillMode:Image.PreserveAspectFit asynchronous:true clip:false//true smooth:false//true cache:false property int realwidth:0 property int realheight:0 Component.onCompleted: { } // HMILabel // { // id:errormesslable1 // color:"#8D9699" // width:500 // height:40 // anchors.horizontalCenter: parent.horizontalCenter //// anchors.verticalCenter: parent.verticalCenter // anchors.top: parent.top // anchors.topMargin: 67 // font.pixelSize:30 // verticalAlignment: Text.AlignVCenter // horizontalAlignment: Text.AlignHCenter // text: col1 // visible: false // elide: Text.ElideRight // wtitesize:2 // } onStatusChanged: { if(col1 == 0) { if(bigimage1.status == Image.Ready) { // ungifanalyze() // USBControl1.imageUnGifIsReday() picFlick.image_ungif_States = true realwidth = bigimage1.width//bigimage1.sourceSize.width realheight = bigimage1.height// bigimage1.sourceSize.height ungifanalyze() defaultpic.visible = false } else if(bigimage1.status == Image.Error) { // imageControl.image_ungif_sendMessagetoComponent(index,bigimage1.width,bigimage1.height) picFlick.imageFlag = false picFlick.image_ungif_States = false } } } // Connections // { // target: main_play_window // onImageSize: // { // if(big_Grid_View.currentIndex == index && 0 == col1) // { // source = col0 // } // } // } }