From: Kevin Krammer Date: Sat, 20 Oct 2012 16:14:10 +0000 (+0200) Subject: Use message box in editor example X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=e2d16bf368bb4a06423f98933adca2b54ac5dc95;p=web%2Fkonrad%2FDeclarativeWidgets.git Use message box in editor example --- 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")) } } }