AboutDialog.qml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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.Window 2.1
  6. import UM 1.0 as UM
  7. UM.Dialog {
  8. id: base
  9. //: About dialog title
  10. title: qsTr("About Cura")
  11. minimumWidth: 400
  12. minimumHeight: 300
  13. Image {
  14. id: logo
  15. width: parent.width * 0.75
  16. height: width * (1/4.25)
  17. source: UM.Theme.images.logo
  18. sourceSize.width: width
  19. sourceSize.height: height
  20. anchors.centerIn: parent
  21. anchors.verticalCenterOffset : -(height * 0.5)
  22. }
  23. Label {
  24. id: version
  25. text: "Cura 15.06"
  26. font: UM.Theme.fonts.large
  27. anchors.horizontalCenter : logo.horizontalCenter
  28. anchors.horizontalCenterOffset : (logo.width * 0.25)
  29. anchors.top: logo.bottom
  30. anchors.topMargin : 5
  31. }
  32. Label {
  33. id: description
  34. width: parent.width
  35. //: About dialog application description
  36. text: qsTr("End-to-end solution for fused filament 3D printing.")
  37. wrapMode: Text.WordWrap
  38. anchors.top: version.bottom
  39. anchors.topMargin : 10
  40. }
  41. Label {
  42. id: author_note
  43. width: parent.width
  44. //: About dialog application author note
  45. text: qsTr("Cura has been developed by Ultimaker B.V. in cooperation with the community.")
  46. wrapMode: Text.WordWrap
  47. anchors.top: description.bottom
  48. }
  49. rightButtons: Button {
  50. //: Close about dialog button
  51. text: qsTr("Close");
  52. onClicked: base.visible = false;
  53. }
  54. }