forked from qt-creator/qt-creator
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:
committed by
Leena Miettinen
parent
c68ffc7c8e
commit
4c119b985a
@@ -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();
|
||||
|
||||
@@ -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 /^\}/
|
||||
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user