mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:39:02 +08:00
Improve the About dialog a bit
This commit is contained in:
parent
9f85898df7
commit
74f63a9889
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user