~gerboland/+junk/qquickwindow-debug

« back to all changes in this revision

Viewing changes to main.qml

  • Committer: Gerry Boland
  • Date: 2016-05-27 11:11:53 UTC
  • Revision ID: gerry.boland@canonical.com-20160527111153-ex0zlxtdvqz5vh5v
Print Window and Context config on creation

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick 2.4
 
2
 
 
3
Item {
 
4
    visible: true
 
5
 
 
6
    MouseArea {
 
7
        anchors.fill: parent
 
8
        onClicked: {
 
9
            Qt.quit();
 
10
        }
 
11
    }
 
12
 
 
13
    Text {
 
14
        text: qsTr("Hello World")
 
15
        anchors.centerIn: parent
 
16
    }
 
17
}