mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:19:04 +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 {
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user