blob: 49036d9859363e269fe7ab99197c9859bcd4a296 (
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
|
/*
* Copyright (C) 2014 by Neusoft
* Author : lihongji <lihongji@neusoft.com>
*
*/
import QtQuick 2.0
HMIWindow
{
property alias comX: hmiCenterWindow.x
property alias comY: hmiCenterWindow.y
//property alias windowImgSource: windowImg.source
Rectangle
{
id:hmiCenterWindow
x:((1024-hmiCenterWindow.width)/2)
y:((768-hmiCenterWindow.height)/2)
width:800
height:350
color:"blue"
Image
{
id: windowImg
anchors.fill: parent
}
MouseArea
{
anchors.fill: parent
z : -1
}
}
}
|