UMOUpgradeSelectionMachineAction.qml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // Copyright (c) 2016 Ultimaker B.V.
  2. // Cura is released under the terms of the LGPLv3 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.2 as UM
  8. import Cura 1.0 as Cura
  9. Cura.MachineAction
  10. {
  11. anchors.fill: parent;
  12. Item
  13. {
  14. id: upgradeSelectionMachineAction
  15. anchors.fill: parent
  16. Label
  17. {
  18. id: pageTitle
  19. width: parent.width
  20. text: catalog.i18nc("@title", "Select Printer Upgrades")
  21. wrapMode: Text.WordWrap
  22. font.pointSize: 18;
  23. }
  24. Label
  25. {
  26. id: pageDescription
  27. anchors.top: pageTitle.bottom
  28. anchors.topMargin: UM.Theme.getSize("default_margin").height
  29. width: parent.width
  30. wrapMode: Text.WordWrap
  31. text: catalog.i18nc("@label","Please select any upgrades made to this Ultimaker Original");
  32. }
  33. CheckBox
  34. {
  35. anchors.top: pageDescription.bottom
  36. anchors.topMargin: UM.Theme.getSize("default_margin").height
  37. text: catalog.i18nc("@label", "Heated Build Plate (official kit or self-built)")
  38. checked: manager.hasHeatedBed
  39. onClicked: manager.setHeatedBed(checked)
  40. }
  41. UM.I18nCatalog { id: catalog; name: "cura"; }
  42. }
  43. }