import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Window 2.1 ApplicationWindow { visible: true width: 640 height: 480 title: qsTr("Hello World") visibility: Window.FullScreen menuBar: MenuBar { Menu { title: qsTr("File") MenuItem { text: qsTr("Exit") onTriggered: Qt.quit(); } } } TextField { anchors { left: parent.left right: parent.right top: parent.top } } }