AboutDialog.qml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // Copyright (c) 2015 Ultimaker B.V.
  2. // Cura is released under the terms of the AGPLv3 or higher.
  3. import QtQuick 2.2
  4. import QtQuick.Controls 1.1
  5. import QtQuick.Layouts 1.1
  6. import QtQuick.Window 2.1
  7. import UM 1.0 as UM
  8. UM.Dialog {
  9. id: base
  10. //: About dialog title
  11. title: qsTr("About Cura");
  12. ColumnLayout {
  13. anchors.fill: parent;
  14. Item {
  15. Layout.fillWidth: true;
  16. Layout.fillHeight: true;
  17. }
  18. Image {
  19. Layout.alignment: Qt.AlignHCenter;
  20. Layout.preferredWidth: parent.width * 0.75;
  21. Layout.preferredHeight: width * (1/4.25);
  22. source: UM.Theme.images.logo;
  23. sourceSize.width: width;
  24. sourceSize.height: height;
  25. }
  26. Label {
  27. Layout.alignment: Qt.AlignHCenter;
  28. text: "Cura 15.06 Beta";
  29. font: UM.Theme.fonts.large;
  30. }
  31. Label {
  32. //: About dialog application description
  33. text: qsTr("End-to-end solution for fused filament 3D printing.")
  34. }
  35. Label {
  36. //: About dialog application author note
  37. text: qsTr("Cura has been developed by Ultimaker B.V. in cooperation with the community.")
  38. }
  39. Item {
  40. Layout.fillWidth: true;
  41. Layout.fillHeight: true;
  42. }
  43. }
  44. rightButtons: Button {
  45. //: Close about dialog button
  46. text: qsTr("Close");
  47. onClicked: base.visible = false;
  48. }
  49. }