AddMachineWizard.qml 770 B

1234567891011121314151617181920212223242526272829303132
  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.1 as UM
  8. import Cura 1.0 as Cura
  9. import "WizardPages"
  10. UM.Wizard
  11. {
  12. id: base;
  13. title: catalog.i18nc("@title:window", "Add Printer")
  14. // This part is optional
  15. // This part checks whether there is a printer -> if not: some of the functions (delete for example) are disabled
  16. firstRun: false
  17. Component.onCompleted: {
  18. base.appendPage(Qt.resolvedUrl("WizardPages/AddMachine.qml"), catalog.i18nc("@title", "Add Printer"));
  19. base.currentPage = 0;
  20. }
  21. Item {
  22. UM.I18nCatalog { id: catalog; name: "cura"; }
  23. }
  24. }