Doc: update accelbubble example source file

To reflect changes in the template.
Hide license header from the docs.

Change-Id: Ib703f5a8c17ef210a14c684caa8ba9ecf8936839
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
This commit is contained in:
Leena Miettinen
2014-11-20 14:56:25 +01:00
committed by Leena Miettinen
parent c68ffc7c8e
commit 4c119b985a
2 changed files with 7 additions and 1 deletions

View File

@@ -109,6 +109,10 @@ ApplicationWindow {
menuBar: MenuBar {
Menu {
title: qsTr("File")
MenuItem {
text: qsTr("&Open")
onTriggered: console.log("Open action triggered");
}
MenuItem {
text: qsTr("Exit")
onTriggered: Qt.quit();

View File

@@ -284,6 +284,8 @@
When you have completed the steps, the main.qml file should look as follows:
\quotefile accelbubble/main.qml
\quotefromfile accelbubble/main.qml
\skipto import
\printuntil /^\}/
*/