From e9cc6532d7511f9700b46b0052590e6a2edf576b Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Tue, 10 Oct 2023 12:00:55 +0200 Subject: [PATCH] re-add ColorDialog class to avoid api breaks --- resources/qml/Actions.qml | 7 +++++++ resources/qml/Dialogs/ColorDialog.qml | 12 ++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 resources/qml/Dialogs/ColorDialog.qml diff --git a/resources/qml/Actions.qml b/resources/qml/Actions.qml index 65888b3493..458d7fcaae 100644 --- a/resources/qml/Actions.qml +++ b/resources/qml/Actions.qml @@ -494,6 +494,13 @@ Item shortcut: fileProviderModel.count == 1 ? StandardKey.Open : "" } + Action + { + id: arrangeSelectionAction + text: catalog.i18nc("@action:inmenu menubar:edit", "Arrange Selection") + onTriggered: Printer.arrangeSelection() + } + Action { id: newProjectAction diff --git a/resources/qml/Dialogs/ColorDialog.qml b/resources/qml/Dialogs/ColorDialog.qml new file mode 100644 index 0000000000..c0d15154f5 --- /dev/null +++ b/resources/qml/Dialogs/ColorDialog.qml @@ -0,0 +1,12 @@ +// Copyright (c) 2023 UltiMaker +// Cura is released under the terms of the LGPLv3 or higher. + +import QtQuick 2.7 +import QtQuick.Controls 2.15 +import QtQuick.Layouts 1.3 +import QtQuick.Dialogs + +// due for deprication, use Qt Color Dialog instead +ColorDialog +{ +} \ No newline at end of file