From e2d16bf368bb4a06423f98933adca2b54ac5dc95 Mon Sep 17 00:00:00 2001 From: Kevin Krammer Date: Sat, 20 Oct 2012 18:14:10 +0200 Subject: [PATCH] Use message box in editor example --- editor.qml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/editor.qml b/editor.qml index 1ad187a..1fd14cf 100644 --- a/editor.qml +++ b/editor.qml @@ -111,10 +111,13 @@ MainWindow { Action { text: qsTr("About") + onTriggered: MessageBox.about(0, qsTr("About Declarative Widgets Editor Example"), + qsTr("This is an example of a simple text editor written in QML using DeclarativeWidgets")) } Action { text: qsTr("About Qt") + onTriggered: MessageBox.aboutQt(0, qsTr("About Qt")) } } } -- 1.7.2.5