Use message box in editor example
authorKevin Krammer <kevin.krammer@kdab.com>
Sat, 20 Oct 2012 16:14:10 +0000 (18:14 +0200)
committerKevin Krammer <kevin.krammer@kdab.com>
Sat, 20 Oct 2012 16:14:10 +0000 (18:14 +0200)
editor.qml

index 1ad187a..1fd14cf 100644 (file)
@@ -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"))
       }
     }
   }