/* * Copyright (C) 2014 by Neusoft * Author : lihongji * */ 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 } } }