blob: a18a35b3db0379c061141a731e48213be030c8e5 (
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
42
43
44
45
46
47
48
49
|
/*
* Copyright (C) 2013 by Neusoft
* Author : Jia Zhao <zhao-jia@neusoft.com>
*
*/
import QtQuick 2.0
/**
* A window which size is 1024*600 .
* contains background image and MouseArea
*/
Rectangle {
id: window
/**
* type:string
*
* This property holds the source url for the window's background image.
* It can be any image from any protocol supported by the Image element
*
* The default value is an empty url, which displays no background image.
*/
property alias windowImgSource: windowImg.source
width: 1024
height: 768
color: "black"
Image {
id: windowImg
anchors.fill: parent
}
/**
* Undetermined......
*
*/
MouseArea{
id: window_mousearea
z: -1
anchors.fill: parent
}
}
|