Browse Source

Improve the About dialog a bit

Arjen Hiemstra 9 years ago
parent
commit
74f63a9889
1 changed files with 41 additions and 4 deletions
  1. 41 4
      resources/qml/AboutDialog.qml

+ 41 - 4
resources/qml/AboutDialog.qml

@@ -8,15 +8,52 @@ import UM 1.0 as UM
 UM.Dialog {
     id: base
 
-    //: Add Printer dialog title
+    //: About dialog title
     title: qsTr("About Cura");
 
-    Label {
-        text: "Cura";
+    ColumnLayout {
+        anchors.fill: parent;
+
+        Item {
+            Layout.fillWidth: true;
+            Layout.fillHeight: true;
+        }
+
+        Image {
+            Layout.alignment: Qt.AlignHCenter;
+            Layout.preferredWidth: parent.width * 0.75;
+            Layout.preferredHeight: width * (1/4.25);
+
+            source: UM.Theme.images.logo;
+
+            sourceSize.width: width;
+            sourceSize.height: height;
+        }
+
+        Label {
+            Layout.alignment: Qt.AlignHCenter;
+
+            text: "Cura 15.06";
+            font: UM.Theme.fonts.large;
+        }
+
+        Label {
+            text: qsTr("End-to-end solution for fused filament 3D printing.")
+        }
+
+        Label {
+            text: qsTr("Cura has been developed by Ultimaker B.V. in cooperation with the community.")
+        }
+
+        Item {
+            Layout.fillWidth: true;
+            Layout.fillHeight: true;
+        }
     }
 
     rightButtons: Button {
-        text: "Close";
+        //: Close about dialog button
+        text: qsTr("Close");
 
         onClicked: base.visible = false;
     }