diff --git a/resources/qml/Preferences/Materials/MaterialsPage.qml b/resources/qml/Preferences/Materials/MaterialsPage.qml index 4de3ad918b..8f15838e0d 100644 --- a/resources/qml/Preferences/Materials/MaterialsPage.qml +++ b/resources/qml/Preferences/Materials/MaterialsPage.qml @@ -201,8 +201,7 @@ Item onClicked: { forceActiveFocus(); - exportAllMaterialsDialog.folder = base.materialManagementModel.getPreferredExportAllPath(); - exportAllMaterialsDialog.open(); + materialsSyncDialog.show(); } visible: Cura.MachineManager.activeMachine.supportsMaterialExport } @@ -400,4 +399,9 @@ Item { id: messageDialog } + + MaterialsSyncDialog + { + id: materialsSyncDialog + } } diff --git a/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml b/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml new file mode 100644 index 0000000000..55a44f3ad5 --- /dev/null +++ b/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml @@ -0,0 +1,44 @@ +//Copyright (c) 2021 Ultimaker B.V. +//Cura is released under the terms of the LGPLv3 or higher. + +import QtQuick 2.1 +import QtQuick.Controls 2.1 +import QtQuick.Window 2.1 +import UM 1.2 as UM + +Window +{ + id: materialsSyncDialog + title: catalog.i18nc("@title:window", "Sync materials with printers") + minimumWidth: UM.Theme.getSize("modal_window_minimum").width + minimumHeight: UM.Theme.getSize("modal_window_minimum").height + width: minimumWidth + height: minimumHeight + + SwipeView + { + id: swipeView + anchors.fill: parent + + Rectangle + { + id: introPage + color: UM.Theme.getColor("main_background") + Column + { + Label + { + text: catalog.i18nc("@title:header", "Sync materials with printers") + font: UM.Theme.getFont("large_bold") + color: UM.Theme.getColor("text") + } + Label + { + text: catalog.i18nc("@text", "Following a few simple steps, you will be able to synchronize all your material profiles with your printers.") + font: UM.Theme.getFont("medium") + color: UM.Theme.getColor("text") + } + } + } + } +} \ No newline at end of file