forked from qt-creator/qt-creator
		
	...to use the new Qt logo Change-Id: I111d070c2ae40b71e650d78bd15d360328b474e3 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
		
			
				
	
	
		
			82 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			QML
		
	
	
	
	
	
			
		
		
	
	
			82 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			QML
		
	
	
	
	
	
import QtQuick 2.6
 | 
						|
import QtQuick.Controls 1.5
 | 
						|
import QtQuick.Layouts 1.3
 | 
						|
 | 
						|
Item {
 | 
						|
    id: page
 | 
						|
    width: 640
 | 
						|
    height: 480
 | 
						|
    property alias mouseArea1: mouseArea1
 | 
						|
    property alias mouseArea3: mouseArea3
 | 
						|
    property alias mouseArea2: mouseArea2
 | 
						|
    property alias bottomLeftRect: bottomLeftRect
 | 
						|
    property alias middleRightRect: middleRightRect
 | 
						|
    property alias topLeftRect: topLeftRect
 | 
						|
    property alias icon: icon
 | 
						|
 | 
						|
    Image {
 | 
						|
        id: icon
 | 
						|
        x: 10
 | 
						|
        y: 20
 | 
						|
        source: "qt-logo.png"
 | 
						|
    }
 | 
						|
 | 
						|
    Rectangle {
 | 
						|
        id: topLeftRect
 | 
						|
        width: 55
 | 
						|
        height: 41
 | 
						|
        color: "#00000000"
 | 
						|
        radius: 0
 | 
						|
        border.color: "#808080"
 | 
						|
        anchors.left: parent.left
 | 
						|
        anchors.leftMargin: 10
 | 
						|
        anchors.top: parent.top
 | 
						|
        anchors.topMargin: 20
 | 
						|
        border.width: 1
 | 
						|
 | 
						|
        MouseArea {
 | 
						|
            id: mouseArea1
 | 
						|
            anchors.fill: parent
 | 
						|
        }
 | 
						|
    }
 | 
						|
 | 
						|
    Rectangle {
 | 
						|
        id: middleRightRect
 | 
						|
        x: -8
 | 
						|
        y: 6
 | 
						|
        width: 55
 | 
						|
        height: 41
 | 
						|
        color: "#00000000"
 | 
						|
        radius: 0
 | 
						|
        anchors.verticalCenter: parent.verticalCenter
 | 
						|
        anchors.right: parent.right
 | 
						|
        anchors.rightMargin: 10
 | 
						|
        MouseArea {
 | 
						|
            id: mouseArea2
 | 
						|
            anchors.fill: parent
 | 
						|
        }
 | 
						|
        border.width: 1
 | 
						|
        border.color: "#808080"
 | 
						|
    }
 | 
						|
 | 
						|
    Rectangle {
 | 
						|
        id: bottomLeftRect
 | 
						|
        y: -2
 | 
						|
        width: 55
 | 
						|
        height: 41
 | 
						|
        color: "#00000000"
 | 
						|
        radius: 0
 | 
						|
        anchors.bottom: parent.bottom
 | 
						|
        anchors.bottomMargin: 20
 | 
						|
        anchors.left: parent.left
 | 
						|
        anchors.leftMargin: 10
 | 
						|
        MouseArea {
 | 
						|
            id: mouseArea3
 | 
						|
            anchors.fill: parent
 | 
						|
        }
 | 
						|
        border.width: 1
 | 
						|
        border.color: "#808080"
 | 
						|
    }
 | 
						|
 | 
						|
}
 |