~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to share/qtcreator/templates/qtquick/qtquickcontrols_1_0/qml/app/main.qml

  • Committer: Timo Jyrinki
  • Date: 2013-12-02 09:16:15 UTC
  • mfrom: (1.1.29)
  • Revision ID: timo.jyrinki@canonical.com-20131202091615-xbj1os1f604ber1m
New upstream release candidate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick 2.1
 
2
import QtQuick.Controls 1.0
 
3
 
 
4
ApplicationWindow {
 
5
    title: qsTr("Hello World")
 
6
    width: 640
 
7
    height: 480
 
8
 
 
9
    menuBar: MenuBar {
 
10
        Menu {
 
11
            title: qsTr("File")
 
12
            MenuItem {
 
13
                text: qsTr("Exit")
 
14
                onTriggered: Qt.quit();
 
15
            }
 
16
        }
 
17
    }
 
18
 
 
19
    Button {
 
20
        text: qsTr("Hello World")
 
21
        anchors.centerIn: parent
 
22
    }
 
23
}