Improve the About dialog a bit

This commit is contained in:
Arjen Hiemstra 2015-05-06 18:18:45 +02:00
parent 9f85898df7
commit 74f63a9889

View File

@ -8,15 +8,52 @@ import UM 1.0 as UM
UM.Dialog { UM.Dialog {
id: base id: base
//: Add Printer dialog title //: About dialog title
title: qsTr("About Cura"); title: qsTr("About Cura");
Label { ColumnLayout {
text: "Cura"; 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 { rightButtons: Button {
text: "Close"; //: Close about dialog button
text: qsTr("Close");
onClicked: base.visible = false; onClicked: base.visible = false;
} }