blob: 691a8305bbb8bfc46a75db3b207a0750c9c6563a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
import QtQuick 2.0
import "../usb_define.js" as StatusList
import "../../com/neusoft/auto/widgets"
//HMICenterWindow
//{
Image
{
id: bigimage2
source:col0 == ""?"":col0
asynchronous:true
clip:false
smooth:false
cache:false
onProgressChanged:
{
//console.debug("#### progress = "+progress)
if(1 == progress)
{
defaultpic.visible = false
}
}
onStatusChanged:
{
if(bigimage2.status == Image.Ready && col0 != "")
{
if(col1 == 1 && bigimage2.width>0 && bigimage2.height>0)
{
// console.debug("[HMI][IMAGE][qml] imageTransition gifanalyze bigimage2.height:"+bigimage2.height)
// console.debug("[HMI][IMAGE][qml] imageTransition gifanalyze bigimage2.width:"+bigimage2.width)
gifanalyze()
}
else if(col1 == 0 && bigimage2.width>0 && bigimage2.height>0)
{
// console.debug("[HMI][IMAGE][qml] imageTransition ungifanalyze bigimage2.height:"+bigimage2.height)
// console.debug("[HMI][IMAGE][qml] imageTransition ungifanalyze bigimage2.width:"+bigimage2.width)
ungifanalyze()
}
}
}
}
|