PrintSetupSelector.qml 738 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Copyright (c) 2018 Ultimaker B.V.
  2. // Cura is released under the terms of the LGPLv3 or higher.
  3. import QtQuick 2.7
  4. import QtQuick.Controls 2.0
  5. import UM 1.3 as UM
  6. import Cura 1.0 as Cura
  7. Cura.ExpandableComponent
  8. {
  9. id: printSetupSelector
  10. property string enabledText: catalog.i18nc("@label:Should be short", "On")
  11. property string disabledText: catalog.i18nc("@label:Should be short", "Off")
  12. contentPadding: UM.Theme.getSize("default_lining").width
  13. UM.I18nCatalog
  14. {
  15. id: catalog
  16. name: "cura"
  17. }
  18. headerItem: PrintSetupSelectorHeader
  19. {
  20. anchors.fill: parent
  21. }
  22. Cura.ExtrudersModel
  23. {
  24. id: extrudersModel
  25. }
  26. contentItem: PrintSetupSelectorContents {}
  27. }