Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantinos Karmas <konskarm@gmail.com>2021-03-30 10:42:59 +0300
committerGitHub <noreply@github.com>2021-03-30 10:42:59 +0300
commit180732788beadce04bd9046d28c0966a8ef25845 (patch)
tree343e56c17c78478ede5b16a87535de0ea838ce14
parent53067a6d79b08d35a22099870ad194f2962aea8d (diff)
parent3baa71fd483cbf5b9e823a85a960cdeb95d13dca (diff)
Merge pull request #9472 from Ultimaker/CURA-7813_QML_warnings
Cura 7813 qml modules version bump
-rw-r--r--resources/qml/Account/AccountDetails.qml6
-rw-r--r--resources/qml/Account/AccountWidget.qml4
-rw-r--r--resources/qml/Account/AvatarImage.qml6
-rw-r--r--resources/qml/Account/GeneralOperations.qml6
-rw-r--r--resources/qml/Account/SyncState.qml4
-rw-r--r--resources/qml/Account/UserOperations.qml4
-rw-r--r--resources/qml/ActionButton.qml8
-rw-r--r--resources/qml/ActionPanel/ActionPanelWidget.qml6
-rw-r--r--resources/qml/ActionPanel/OutputDevicesActionButton.qml8
-rw-r--r--resources/qml/ActionPanel/OutputProcessWidget.qml8
-rw-r--r--resources/qml/ActionPanel/PrintInformationWidget.qml6
-rw-r--r--resources/qml/ActionPanel/PrintJobInformation.qml6
-rw-r--r--resources/qml/ActionPanel/SliceProcessWidget.qml6
-rw-r--r--resources/qml/Actions.qml6
-rw-r--r--resources/qml/BorderGroup.qml2
-rw-r--r--resources/qml/CheckBoxWithTooltip.qml4
-rw-r--r--resources/qml/Cura.qml8
-rw-r--r--resources/qml/Dialogs/AboutDialog.qml6
-rw-r--r--resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml12
-rw-r--r--resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml10
-rw-r--r--resources/qml/Dialogs/OpenFilesIncludingProjectsDialog.qml14
-rw-r--r--resources/qml/Dialogs/WorkspaceSummaryDialog.qml6
-rw-r--r--resources/qml/EmptyViewMenuComponent.qml6
-rw-r--r--resources/qml/ExpandableComponent.qml6
-rw-r--r--resources/qml/ExpandableComponentHeader.qml6
-rw-r--r--resources/qml/ExpandablePopup.qml6
-rw-r--r--resources/qml/ExtruderButton.qml4
-rw-r--r--resources/qml/ExtruderIcon.qml6
-rw-r--r--resources/qml/FPSItem.qml6
-rw-r--r--resources/qml/IconWithText.qml8
-rw-r--r--resources/qml/JobSpecs.qml8
-rw-r--r--resources/qml/LabelBar.qml6
-rw-r--r--resources/qml/MachineAction.qml4
-rw-r--r--resources/qml/MachineSettings/ComboBoxWithOptions.qml6
-rw-r--r--resources/qml/MachineSettings/GcodeTextArea.qml6
-rw-r--r--resources/qml/MachineSettings/NumericTextFieldWithUnit.qml4
-rw-r--r--resources/qml/MachineSettings/PrintHeadMinMaxTextField.qml4
-rw-r--r--resources/qml/MachineSettings/SimpleCheckBox.qml6
-rw-r--r--resources/qml/MainWindow/ApplicationMenu.qml8
-rw-r--r--resources/qml/MainWindow/MainWindowHeader.qml8
-rw-r--r--resources/qml/Menus/ConfigurationMenu/AutoConfiguration.qml6
-rw-r--r--resources/qml/Menus/ConfigurationMenu/ConfigurationItem.qml4
-rw-r--r--resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml4
-rw-r--r--resources/qml/Menus/ConfigurationMenu/ConfigurationMenu.qml6
-rw-r--r--resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml6
-rw-r--r--resources/qml/Menus/ConfigurationMenu/PrintCoreConfiguration.qml4
-rw-r--r--resources/qml/Menus/ContextMenu.qml8
-rw-r--r--resources/qml/Menus/FileMenu.qml4
-rw-r--r--resources/qml/Menus/LocalPrinterMenu.qml2
-rw-r--r--resources/qml/Menus/MaterialMenu.qml2
-rw-r--r--resources/qml/Menus/NetworkPrinterMenu.qml2
-rw-r--r--resources/qml/Menus/NozzleMenu.qml2
-rw-r--r--resources/qml/Menus/OpenFilesMenu.qml4
-rw-r--r--resources/qml/Menus/PrinterMenu.qml2
-rw-r--r--resources/qml/Menus/PrinterTypeMenu.qml2
-rw-r--r--resources/qml/Menus/RecentFilesMenu.qml4
-rw-r--r--resources/qml/Menus/SaveProjectMenu.qml4
-rw-r--r--resources/qml/Menus/SettingVisibilityPresetsMenu.qml2
-rw-r--r--resources/qml/Menus/SettingsMenu.qml4
-rw-r--r--resources/qml/Menus/ViewMenu.qml4
-rw-r--r--resources/qml/MonitorButton.qml10
-rw-r--r--resources/qml/ObjectItemButton.qml4
-rw-r--r--resources/qml/ObjectSelector.qml4
-rw-r--r--resources/qml/Preferences/GeneralPage.qml8
-rw-r--r--resources/qml/Preferences/MachinesPage.qml4
-rw-r--r--resources/qml/Preferences/Materials/MaterialsBrandSection.qml8
-rw-r--r--resources/qml/Preferences/Materials/MaterialsDetailsPanel.qml8
-rw-r--r--resources/qml/Preferences/Materials/MaterialsList.qml8
-rw-r--r--resources/qml/Preferences/Materials/MaterialsPage.qml6
-rw-r--r--resources/qml/Preferences/Materials/MaterialsSlot.qml8
-rw-r--r--resources/qml/Preferences/Materials/MaterialsTypeSection.qml8
-rw-r--r--resources/qml/Preferences/Materials/MaterialsView.qml4
-rw-r--r--resources/qml/Preferences/ProfileTab.qml2
-rw-r--r--resources/qml/Preferences/ProfilesPage.qml6
-rw-r--r--resources/qml/Preferences/ReadOnlySpinBox.qml6
-rw-r--r--resources/qml/Preferences/ReadOnlyTextArea.qml4
-rw-r--r--resources/qml/Preferences/ReadOnlyTextField.qml6
-rw-r--r--resources/qml/Preferences/SettingVisibilityPage.qml8
-rw-r--r--resources/qml/PrimaryButton.qml4
-rw-r--r--resources/qml/PrintMonitor.qml10
-rw-r--r--resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml6
-rw-r--r--resources/qml/PrintSetupSelector/Custom/MenuButton.qml6
-rw-r--r--resources/qml/PrintSetupSelector/Custom/QualitiesWithIntentMenu.qml4
-rw-r--r--resources/qml/PrintSetupSelector/NoIntentIcon.qml6
-rw-r--r--resources/qml/PrintSetupSelector/PrintSetupSelector.qml4
-rw-r--r--resources/qml/PrintSetupSelector/PrintSetupSelectorContents.qml6
-rw-r--r--resources/qml/PrintSetupSelector/PrintSetupSelectorHeader.qml8
-rw-r--r--resources/qml/PrintSetupSelector/Recommended/RecommendedAdhesionSelector.qml4
-rw-r--r--resources/qml/PrintSetupSelector/Recommended/RecommendedInfillDensitySelector.qml4
-rw-r--r--resources/qml/PrintSetupSelector/Recommended/RecommendedPrintSetup.qml2
-rw-r--r--resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml6
-rw-r--r--resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml6
-rw-r--r--resources/qml/PrintSetupTooltip.qml4
-rw-r--r--resources/qml/PrinterOutput/ExtruderBox.qml10
-rw-r--r--resources/qml/PrinterOutput/HeatedBedBox.qml6
-rw-r--r--resources/qml/PrinterOutput/ManualPrinterControl.qml4
-rw-r--r--resources/qml/PrinterOutput/MonitorItem.qml10
-rw-r--r--resources/qml/PrinterOutput/MonitorSection.qml4
-rw-r--r--resources/qml/PrinterOutput/OutputDeviceHeader.qml10
-rw-r--r--resources/qml/PrinterSelector/MachineSelector.qml4
-rw-r--r--resources/qml/PrinterSelector/MachineSelectorButton.qml4
-rw-r--r--resources/qml/PrinterSelector/MachineSelectorList.qml4
-rw-r--r--resources/qml/PrinterTypeLabel.qml6
-rw-r--r--resources/qml/RadioCheckbar.qml6
-rw-r--r--resources/qml/RoundedRectangle.qml2
-rw-r--r--resources/qml/SecondaryButton.qml4
-rw-r--r--resources/qml/Settings/SettingCategory.qml4
-rw-r--r--resources/qml/Settings/SettingCheckBox.qml6
-rw-r--r--resources/qml/Settings/SettingComboBox.qml4
-rw-r--r--resources/qml/Settings/SettingExtruder.qml4
-rw-r--r--resources/qml/Settings/SettingItem.qml6
-rw-r--r--resources/qml/Settings/SettingOptionalExtruder.qml4
-rw-r--r--resources/qml/Settings/SettingTextField.qml4
-rw-r--r--resources/qml/Settings/SettingUnknown.qml4
-rw-r--r--resources/qml/Settings/SettingView.qml8
-rw-r--r--resources/qml/TableView.qml6
-rw-r--r--resources/qml/TertiaryButton.qml2
-rw-r--r--resources/qml/ToolTip.qml6
-rw-r--r--resources/qml/Toolbar.qml4
-rw-r--r--resources/qml/ToolbarButton.qml4
-rw-r--r--resources/qml/ViewOrientationButton.qml4
-rw-r--r--resources/qml/ViewOrientationControls.qml6
-rw-r--r--resources/qml/ViewsSelector.qml6
-rw-r--r--resources/qml/WelcomePages/AddCloudPrintersView.qml6
-rw-r--r--resources/qml/WelcomePages/AddLocalPrinterScrollView.qml4
-rw-r--r--resources/qml/WelcomePages/AddNetworkOrLocalPrinterContent.qml4
-rw-r--r--resources/qml/WelcomePages/AddNetworkPrinterScrollView.qml4
-rw-r--r--resources/qml/WelcomePages/AddPrinterByIpContent.qml6
-rw-r--r--resources/qml/WelcomePages/ChangelogContent.qml4
-rw-r--r--resources/qml/WelcomePages/CloudContent.qml4
-rw-r--r--resources/qml/WelcomePages/DataCollectionsContent.qml4
-rw-r--r--resources/qml/WelcomePages/DropDownHeader.qml4
-rw-r--r--resources/qml/WelcomePages/DropDownWidget.qml4
-rw-r--r--resources/qml/WelcomePages/FirstStartMachineActionsContent.qml4
-rw-r--r--resources/qml/WelcomePages/ImageTile.qml6
-rw-r--r--resources/qml/WelcomePages/UserAgreementContent.qml4
-rw-r--r--resources/qml/WelcomePages/WelcomeContent.qml4
-rw-r--r--resources/qml/WelcomePages/WelcomeDialogItem.qml8
-rw-r--r--resources/qml/WelcomePages/WhatsNewContent.qml6
-rw-r--r--resources/qml/WelcomePages/WizardDialog.qml6
-rw-r--r--resources/qml/WelcomePages/WizardPanel.qml4
-rw-r--r--resources/qml/Widgets/CheckBox.qml4
-rw-r--r--resources/qml/Widgets/ComboBox.qml4
-rw-r--r--resources/qml/Widgets/NotificationIcon.qml4
-rw-r--r--resources/qml/Widgets/RadioButton.qml4
-rw-r--r--resources/qml/Widgets/ScrollView.qml6
-rw-r--r--resources/qml/Widgets/ScrollableTextArea.qml4
-rw-r--r--resources/qml/Widgets/TextField.qml4
148 files changed, 397 insertions, 397 deletions
diff --git a/resources/qml/Account/AccountDetails.qml b/resources/qml/Account/AccountDetails.qml
index 031e376a21..bfda2caa41 100644
--- a/resources/qml/Account/AccountDetails.qml
+++ b/resources/qml/Account/AccountDetails.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.4 as UM
import Cura 1.1 as Cura
@@ -31,4 +31,4 @@ Item
id: generalOperations
GeneralOperations { }
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/Account/AccountWidget.qml b/resources/qml/Account/AccountWidget.qml
index 48c05f8a11..a758a03511 100644
--- a/resources/qml/Account/AccountWidget.qml
+++ b/resources/qml/Account/AccountWidget.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.4 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/Account/AvatarImage.qml b/resources/qml/Account/AvatarImage.qml
index 120173366f..bc14ed3306 100644
--- a/resources/qml/Account/AvatarImage.qml
+++ b/resources/qml/Account/AvatarImage.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtGraphicalEffects 1.0
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtGraphicalEffects 1.12
import UM 1.4 as UM
diff --git a/resources/qml/Account/GeneralOperations.qml b/resources/qml/Account/GeneralOperations.qml
index 9562f940a4..d656aef14c 100644
--- a/resources/qml/Account/GeneralOperations.qml
+++ b/resources/qml/Account/GeneralOperations.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.4 as UM
import Cura 1.1 as Cura
@@ -79,4 +79,4 @@ Column
onClicked: Qt.openUrlExternally(CuraApplication.ultimakerCloudAccountRootUrl + "/app/create")
fixedWidthMode: true
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/Account/SyncState.qml b/resources/qml/Account/SyncState.qml
index f7630b500a..70633bbeaf 100644
--- a/resources/qml/Account/SyncState.qml
+++ b/resources/qml/Account/SyncState.qml
@@ -1,5 +1,5 @@
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.4 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/Account/UserOperations.qml b/resources/qml/Account/UserOperations.qml
index 19e92e0249..c001f6da44 100644
--- a/resources/qml/Account/UserOperations.qml
+++ b/resources/qml/Account/UserOperations.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.4 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/ActionButton.qml b/resources/qml/ActionButton.qml
index 0c1be007b5..2c4dd188a3 100644
--- a/resources/qml/ActionButton.qml
+++ b/resources/qml/ActionButton.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.1
-import QtGraphicalEffects 1.0 // For the dropshadow
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtGraphicalEffects 1.12 // For the dropshadow
import UM 1.1 as UM
import Cura 1.0 as Cura
@@ -189,4 +189,4 @@ Button
duration: 2500
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/ActionPanel/ActionPanelWidget.qml b/resources/qml/ActionPanel/ActionPanelWidget.qml
index b3cf6d23a9..cffcdf8edf 100644
--- a/resources/qml/ActionPanel/ActionPanelWidget.qml
+++ b/resources/qml/ActionPanel/ActionPanelWidget.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.1
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/ActionPanel/OutputDevicesActionButton.qml b/resources/qml/ActionPanel/OutputDevicesActionButton.qml
index 866b8cc627..a121a664a8 100644
--- a/resources/qml/ActionPanel/OutputDevicesActionButton.qml
+++ b/resources/qml/ActionPanel/OutputDevicesActionButton.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.1
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.1 as UM
import Cura 1.0 as Cura
@@ -113,4 +113,4 @@ Item
}
UM.OutputDevicesModel { id: devicesModel }
-} \ No newline at end of file
+}
diff --git a/resources/qml/ActionPanel/OutputProcessWidget.qml b/resources/qml/ActionPanel/OutputProcessWidget.qml
index be6d68de4f..02989309be 100644
--- a/resources/qml/ActionPanel/OutputProcessWidget.qml
+++ b/resources/qml/ActionPanel/OutputProcessWidget.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.1
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.1 as UM
import Cura 1.0 as Cura
@@ -142,4 +142,4 @@ Column
height: UM.Theme.getSize("action_button").height
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/ActionPanel/PrintInformationWidget.qml b/resources/qml/ActionPanel/PrintInformationWidget.qml
index 097f281946..4f6dba9bf3 100644
--- a/resources/qml/ActionPanel/PrintInformationWidget.qml
+++ b/resources/qml/ActionPanel/PrintInformationWidget.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.1
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.1 as UM
import Cura 1.0 as Cura
@@ -58,4 +58,4 @@ UM.RecolorImage
arrowSize: UM.Theme.getSize("default_arrow").width
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/ActionPanel/PrintJobInformation.qml b/resources/qml/ActionPanel/PrintJobInformation.qml
index 9cdbf0714f..ed3fbc3a13 100644
--- a/resources/qml/ActionPanel/PrintJobInformation.qml
+++ b/resources/qml/ActionPanel/PrintJobInformation.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.1
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.1 as UM
import Cura 1.0 as Cura
@@ -204,4 +204,4 @@ Column
textFormat: Text.RichText
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/ActionPanel/SliceProcessWidget.qml b/resources/qml/ActionPanel/SliceProcessWidget.qml
index dbbfe784ef..32979608c1 100644
--- a/resources/qml/ActionPanel/SliceProcessWidget.qml
+++ b/resources/qml/ActionPanel/SliceProcessWidget.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.1
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import QtQuick.Controls 1.4 as Controls1
import UM 1.3 as UM
diff --git a/resources/qml/Actions.qml b/resources/qml/Actions.qml
index 46a876003e..d7e5521159 100644
--- a/resources/qml/Actions.qml
+++ b/resources/qml/Actions.qml
@@ -3,9 +3,9 @@
pragma Singleton
-import QtQuick 2.10
-import QtQuick.Controls 1.1
-import QtQuick.Controls 2.3 as Controls2
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Controls 2.15 as Controls2
import UM 1.1 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/BorderGroup.qml b/resources/qml/BorderGroup.qml
index 38ad9fadff..fe9b5a53ca 100644
--- a/resources/qml/BorderGroup.qml
+++ b/resources/qml/BorderGroup.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.0
+import QtQuick 2.15
QtObject
{
diff --git a/resources/qml/CheckBoxWithTooltip.qml b/resources/qml/CheckBoxWithTooltip.qml
index 403efb4d7b..c4fd071105 100644
--- a/resources/qml/CheckBoxWithTooltip.qml
+++ b/resources/qml/CheckBoxWithTooltip.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.1
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml
index 067024a7b5..5be058f1a7 100644
--- a/resources/qml/Cura.qml
+++ b/resources/qml/Cura.qml
@@ -1,12 +1,12 @@
// Copyright (c) 2021 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
-import QtQuick.Layouts 1.1
-import QtQuick.Dialogs 1.2
-import QtGraphicalEffects 1.0
+import QtQuick.Layouts 1.15
+import QtQuick.Dialogs 1.3
+import QtGraphicalEffects 1.12
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/Dialogs/AboutDialog.qml b/resources/qml/Dialogs/AboutDialog.qml
index f8018d3d34..8f518bd8b0 100644
--- a/resources/qml/Dialogs/AboutDialog.qml
+++ b/resources/qml/Dialogs/AboutDialog.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
-import QtQuick.Window 2.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Window 2.15
import UM 1.1 as UM
diff --git a/resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml b/resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml
index ba0d3fb6ca..bc79aa82b1 100644
--- a/resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml
+++ b/resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml
@@ -1,12 +1,12 @@
// Copyright (c) 2021 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
-import QtQuick.Controls.Styles 1.1
-import QtQuick.Layouts 1.1
-import QtQuick.Dialogs 1.1
-import QtQuick.Window 2.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Controls.Styles 1.4
+import QtQuick.Layouts 1.15
+import QtQuick.Dialogs 1.3
+import QtQuick.Window 2.15
import UM 1.3 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml b/resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml
index 2ddacb6d79..2aa76e2cbb 100644
--- a/resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml
+++ b/resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.1
-import QtQuick.Controls 1.1
-import QtQuick.Dialogs 1.2
-import QtQuick.Window 2.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Dialogs 1.3
+import QtQuick.Window 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -217,4 +217,4 @@ UM.Dialog
}
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/Dialogs/OpenFilesIncludingProjectsDialog.qml b/resources/qml/Dialogs/OpenFilesIncludingProjectsDialog.qml
index 3f1900c66b..d278a632ac 100644
--- a/resources/qml/Dialogs/OpenFilesIncludingProjectsDialog.qml
+++ b/resources/qml/Dialogs/OpenFilesIncludingProjectsDialog.qml
@@ -1,12 +1,12 @@
// Copyright (c) 2021 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
-import QtQuick.Controls.Styles 1.1
-import QtQuick.Layouts 1.1
-import QtQuick.Dialogs 1.1
-import QtQuick.Window 2.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Controls.Styles 1.4
+import QtQuick.Layouts 1.15
+import QtQuick.Dialogs 1.3
+import QtQuick.Window 2.15
import UM 1.3 as UM
import Cura 1.0 as Cura
@@ -110,4 +110,4 @@ UM.Dialog
name: "cura"
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/Dialogs/WorkspaceSummaryDialog.qml b/resources/qml/Dialogs/WorkspaceSummaryDialog.qml
index 32015b902a..d830a5ce36 100644
--- a/resources/qml/Dialogs/WorkspaceSummaryDialog.qml
+++ b/resources/qml/Dialogs/WorkspaceSummaryDialog.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
+import QtQuick 2.15
import QtQuick.Controls 1.4
-import QtQuick.Layouts 1.3
-import QtQuick.Window 2.2
+import QtQuick.Layouts 1.15
+import QtQuick.Window 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/EmptyViewMenuComponent.qml b/resources/qml/EmptyViewMenuComponent.qml
index 10a50ea023..4a82ec7c94 100644
--- a/resources/qml/EmptyViewMenuComponent.qml
+++ b/resources/qml/EmptyViewMenuComponent.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtGraphicalEffects 1.0 // For the dropshadow
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtGraphicalEffects 1.12 // For the dropshadow
import UM 1.2 as UM
diff --git a/resources/qml/ExpandableComponent.qml b/resources/qml/ExpandableComponent.qml
index f637cccdbb..7366ace788 100644
--- a/resources/qml/ExpandableComponent.qml
+++ b/resources/qml/ExpandableComponent.qml
@@ -1,13 +1,13 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
-import QtGraphicalEffects 1.0 // For the dropshadow
+import QtGraphicalEffects 1.12 // For the dropshadow
// The expandable component has 2 major sub components:
// * The headerItem; Always visible and should hold some info about what happens if the component is expanded
diff --git a/resources/qml/ExpandableComponentHeader.qml b/resources/qml/ExpandableComponentHeader.qml
index cd6ccfb825..8cdb25f586 100644
--- a/resources/qml/ExpandableComponentHeader.qml
+++ b/resources/qml/ExpandableComponentHeader.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -66,4 +66,4 @@ Cura.RoundedRectangle
onClicked: toggleContent() // Will hide the popup item
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/ExpandablePopup.qml b/resources/qml/ExpandablePopup.qml
index 7829093e8d..c44e7e6d25 100644
--- a/resources/qml/ExpandablePopup.qml
+++ b/resources/qml/ExpandablePopup.qml
@@ -1,13 +1,13 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
-import QtGraphicalEffects 1.0 // For the dropshadow
+import QtGraphicalEffects 1.12 // For the dropshadow
// The expandable component has 2 major sub components:
// * The headerItem; Always visible and should hold some info about what happens if the component is expanded
diff --git a/resources/qml/ExtruderButton.qml b/resources/qml/ExtruderButton.qml
index feb399d528..e607bab929 100644
--- a/resources/qml/ExtruderButton.qml
+++ b/resources/qml/ExtruderButton.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2017 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 2.0
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/ExtruderIcon.qml b/resources/qml/ExtruderIcon.qml
index 015ebea52e..f775ac9c1b 100644
--- a/resources/qml/ExtruderIcon.qml
+++ b/resources/qml/ExtruderIcon.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
import UM 1.2 as UM
Item
@@ -69,4 +69,4 @@ Item
color: UM.Theme.getColor("text")
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/FPSItem.qml b/resources/qml/FPSItem.qml
index 9f7dfe8746..7665e39743 100644
--- a/resources/qml/FPSItem.qml
+++ b/resources/qml/FPSItem.qml
@@ -1,5 +1,5 @@
-import QtQuick 2.0
-import QtQuick.Window 2.2
+import QtQuick 2.15
+import QtQuick.Window 2.15
import UM 1.3 as UM
// This is an QML item that shows the FPS and a running average of the FPS.
@@ -78,4 +78,4 @@ Item
}
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/IconWithText.qml b/resources/qml/IconWithText.qml
index b9fe873b25..b78d947379 100644
--- a/resources/qml/IconWithText.qml
+++ b/resources/qml/IconWithText.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.0
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -68,4 +68,4 @@ Item
margins: margin
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/JobSpecs.qml b/resources/qml/JobSpecs.qml
index c1989c4c95..73950e04a0 100644
--- a/resources/qml/JobSpecs.qml
+++ b/resources/qml/JobSpecs.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
-import QtQuick.Controls.Styles 1.1
-import QtQuick.Layouts 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Controls.Styles 1.4
+import QtQuick.Layouts 1.15
import UM 1.1 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/LabelBar.qml b/resources/qml/LabelBar.qml
index 007c5f1f54..2bddfecbf8 100644
--- a/resources/qml/LabelBar.qml
+++ b/resources/qml/LabelBar.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.2 as UM
diff --git a/resources/qml/MachineAction.qml b/resources/qml/MachineAction.qml
index 2c43f9f96d..7fd6482b2a 100644
--- a/resources/qml/MachineAction.qml
+++ b/resources/qml/MachineAction.qml
@@ -1,4 +1,4 @@
-import QtQuick 2.2
+import QtQuick 2.15
Item
{
@@ -16,4 +16,4 @@ Item
{
manager.reset()
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/MachineSettings/ComboBoxWithOptions.qml b/resources/qml/MachineSettings/ComboBoxWithOptions.qml
index 0ad4f8bb0c..201b1cc28c 100644
--- a/resources/qml/MachineSettings/ComboBoxWithOptions.qml
+++ b/resources/qml/MachineSettings/ComboBoxWithOptions.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/MachineSettings/GcodeTextArea.qml b/resources/qml/MachineSettings/GcodeTextArea.qml
index f8bd02de3b..2085369437 100644
--- a/resources/qml/MachineSettings/GcodeTextArea.qml
+++ b/resources/qml/MachineSettings/GcodeTextArea.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/MachineSettings/NumericTextFieldWithUnit.qml b/resources/qml/MachineSettings/NumericTextFieldWithUnit.qml
index 32e0e6dcaa..7b741de4ef 100644
--- a/resources/qml/MachineSettings/NumericTextFieldWithUnit.qml
+++ b/resources/qml/MachineSettings/NumericTextFieldWithUnit.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/MachineSettings/PrintHeadMinMaxTextField.qml b/resources/qml/MachineSettings/PrintHeadMinMaxTextField.qml
index 0b38a91f81..59ab87c3a8 100644
--- a/resources/qml/MachineSettings/PrintHeadMinMaxTextField.qml
+++ b/resources/qml/MachineSettings/PrintHeadMinMaxTextField.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/MachineSettings/SimpleCheckBox.qml b/resources/qml/MachineSettings/SimpleCheckBox.qml
index 821c68745a..37520e7c48 100644
--- a/resources/qml/MachineSettings/SimpleCheckBox.qml
+++ b/resources/qml/MachineSettings/SimpleCheckBox.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/MainWindow/ApplicationMenu.qml b/resources/qml/MainWindow/ApplicationMenu.qml
index 95cea77248..a272f4baee 100644
--- a/resources/qml/MainWindow/ApplicationMenu.qml
+++ b/resources/qml/MainWindow/ApplicationMenu.qml
@@ -1,11 +1,11 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
-import QtQuick.Layouts 1.1
-import QtQuick.Dialogs 1.2
+import QtQuick.Layouts 1.15
+import QtQuick.Dialogs 1.3
import UM 1.3 as UM
import Cura 1.1 as Cura
@@ -198,4 +198,4 @@ Item
curaExtensions.callExtensionMethod("Toolbox", "setViewCategoryToMaterials")
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/MainWindow/MainWindowHeader.qml b/resources/qml/MainWindow/MainWindowHeader.qml
index 5d1a20c8b1..7320043014 100644
--- a/resources/qml/MainWindow/MainWindowHeader.qml
+++ b/resources/qml/MainWindow/MainWindowHeader.qml
@@ -1,14 +1,14 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.0 as Controls2
+import QtQuick 2.15
+import QtQuick.Controls 2.15 as Controls2
import QtQuick.Controls 1.4
-import QtQuick.Controls.Styles 1.1
+import QtQuick.Controls.Styles 1.4
import UM 1.4 as UM
import Cura 1.0 as Cura
-import QtGraphicalEffects 1.0
+import QtGraphicalEffects 1.12
import "../Account"
diff --git a/resources/qml/Menus/ConfigurationMenu/AutoConfiguration.qml b/resources/qml/Menus/ConfigurationMenu/AutoConfiguration.qml
index 18409dd43a..90e297629a 100644
--- a/resources/qml/Menus/ConfigurationMenu/AutoConfiguration.qml
+++ b/resources/qml/Menus/ConfigurationMenu/AutoConfiguration.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.0
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.0 as Cura
@@ -36,4 +36,4 @@ Item
outputDevice: Cura.MachineManager.printerOutputDevices.length >= 1 ? Cura.MachineManager.printerOutputDevices[0] : null
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/Menus/ConfigurationMenu/ConfigurationItem.qml b/resources/qml/Menus/ConfigurationMenu/ConfigurationItem.qml
index 2e2dd0820a..7629b8f77c 100644
--- a/resources/qml/Menus/ConfigurationMenu/ConfigurationItem.qml
+++ b/resources/qml/Menus/ConfigurationMenu/ConfigurationItem.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.0
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml b/resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml
index 3350b29580..c6150729be 100644
--- a/resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml
+++ b/resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Menus/ConfigurationMenu/ConfigurationMenu.qml b/resources/qml/Menus/ConfigurationMenu/ConfigurationMenu.qml
index d388bd7a7e..5a32efd145 100644
--- a/resources/qml/Menus/ConfigurationMenu/ConfigurationMenu.qml
+++ b/resources/qml/Menus/ConfigurationMenu/ConfigurationMenu.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import QtQuick.Controls.Styles 1.4
-import QtQuick.Layouts 1.3
+import QtQuick.Layouts 1.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml b/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
index 7f682c4d2b..041d8c8897 100644
--- a/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
+++ b/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.6
-import QtQuick.Controls 2.0
-import QtQuick.Controls 1.1 as OldControls
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Controls 1.4 as OldControls
import Cura 1.0 as Cura
import UM 1.3 as UM
diff --git a/resources/qml/Menus/ConfigurationMenu/PrintCoreConfiguration.qml b/resources/qml/Menus/ConfigurationMenu/PrintCoreConfiguration.qml
index f93727ea96..108aecc81f 100644
--- a/resources/qml/Menus/ConfigurationMenu/PrintCoreConfiguration.qml
+++ b/resources/qml/Menus/ConfigurationMenu/PrintCoreConfiguration.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.0
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Menus/ContextMenu.qml b/resources/qml/Menus/ContextMenu.qml
index 1709d70ab5..001f3b5738 100644
--- a/resources/qml/Menus/ContextMenu.qml
+++ b/resources/qml/Menus/ContextMenu.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2016 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
-import QtQuick.Dialogs 1.2
-import QtQuick.Window 2.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Dialogs 1.3
+import QtQuick.Window 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Menus/FileMenu.qml b/resources/qml/Menus/FileMenu.qml
index 681e0b06ce..977ed8024f 100644
--- a/resources/qml/Menus/FileMenu.qml
+++ b/resources/qml/Menus/FileMenu.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
import UM 1.6 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Menus/LocalPrinterMenu.qml b/resources/qml/Menus/LocalPrinterMenu.qml
index bd6c57d744..4f4b202a0e 100644
--- a/resources/qml/Menus/LocalPrinterMenu.qml
+++ b/resources/qml/Menus/LocalPrinterMenu.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
+import QtQuick 2.15
import QtQuick.Controls 1.4
import UM 1.2 as UM
diff --git a/resources/qml/Menus/MaterialMenu.qml b/resources/qml/Menus/MaterialMenu.qml
index b4f15fad00..d058194b41 100644
--- a/resources/qml/Menus/MaterialMenu.qml
+++ b/resources/qml/Menus/MaterialMenu.qml
@@ -1,7 +1,7 @@
//Copyright (c) 2020 Ultimaker B.V.
//Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
import UM 1.2 as UM
diff --git a/resources/qml/Menus/NetworkPrinterMenu.qml b/resources/qml/Menus/NetworkPrinterMenu.qml
index 845159f3b2..e92e2d2a21 100644
--- a/resources/qml/Menus/NetworkPrinterMenu.qml
+++ b/resources/qml/Menus/NetworkPrinterMenu.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
+import QtQuick 2.15
import QtQuick.Controls 1.4
import UM 1.2 as UM
diff --git a/resources/qml/Menus/NozzleMenu.qml b/resources/qml/Menus/NozzleMenu.qml
index 3ec48ab302..b9febfea7c 100644
--- a/resources/qml/Menus/NozzleMenu.qml
+++ b/resources/qml/Menus/NozzleMenu.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2017 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
+import QtQuick 2.15
import QtQuick.Controls 1.4
import UM 1.2 as UM
diff --git a/resources/qml/Menus/OpenFilesMenu.qml b/resources/qml/Menus/OpenFilesMenu.qml
index 3c2b64ee62..3def7d7327 100644
--- a/resources/qml/Menus/OpenFilesMenu.qml
+++ b/resources/qml/Menus/OpenFilesMenu.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
import UM 1.6 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Menus/PrinterMenu.qml b/resources/qml/Menus/PrinterMenu.qml
index 741d927c13..6e4a7d60d6 100644
--- a/resources/qml/Menus/PrinterMenu.qml
+++ b/resources/qml/Menus/PrinterMenu.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
diff --git a/resources/qml/Menus/PrinterTypeMenu.qml b/resources/qml/Menus/PrinterTypeMenu.qml
index c2a09e0efd..ec6494cc97 100644
--- a/resources/qml/Menus/PrinterTypeMenu.qml
+++ b/resources/qml/Menus/PrinterTypeMenu.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
import UM 1.3 as UM
diff --git a/resources/qml/Menus/RecentFilesMenu.qml b/resources/qml/Menus/RecentFilesMenu.qml
index de6d2e3817..abb01471c1 100644
--- a/resources/qml/Menus/RecentFilesMenu.qml
+++ b/resources/qml/Menus/RecentFilesMenu.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2021 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
import UM 1.3 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Menus/SaveProjectMenu.qml b/resources/qml/Menus/SaveProjectMenu.qml
index afc6008717..db725f97da 100644
--- a/resources/qml/Menus/SaveProjectMenu.qml
+++ b/resources/qml/Menus/SaveProjectMenu.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2021 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
import UM 1.6 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/Menus/SettingVisibilityPresetsMenu.qml b/resources/qml/Menus/SettingVisibilityPresetsMenu.qml
index 56cb001ff5..6db8abbc87 100644
--- a/resources/qml/Menus/SettingVisibilityPresetsMenu.qml
+++ b/resources/qml/Menus/SettingVisibilityPresetsMenu.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
import UM 1.2 as UM
diff --git a/resources/qml/Menus/SettingsMenu.qml b/resources/qml/Menus/SettingsMenu.qml
index 939ade5847..fde630aec5 100644
--- a/resources/qml/Menus/SettingsMenu.qml
+++ b/resources/qml/Menus/SettingsMenu.qml
@@ -1,7 +1,7 @@
//Copyright (c) 2020 Ultimaker B.V.
//Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
+import QtQuick 2.15
import QtQuick.Controls 1.4
import UM 1.2 as UM
@@ -68,4 +68,4 @@ Menu
MenuSeparator { }
MenuItem { action: Cura.Actions.configureSettingVisibility }
-} \ No newline at end of file
+}
diff --git a/resources/qml/Menus/ViewMenu.qml b/resources/qml/Menus/ViewMenu.qml
index 8865ebb07e..95fbd8d6c7 100644
--- a/resources/qml/Menus/ViewMenu.qml
+++ b/resources/qml/Menus/ViewMenu.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/MonitorButton.qml b/resources/qml/MonitorButton.qml
index e6248f43b4..fc0a0ff766 100644
--- a/resources/qml/MonitorButton.qml
+++ b/resources/qml/MonitorButton.qml
@@ -1,11 +1,11 @@
//Copyright (c) 2018 Ultimaker B.V.
//Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
-import QtQuick.Controls.Styles 1.1
-import QtQuick.Dialogs 1.1
-import QtQuick.Layouts 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Controls.Styles 1.4
+import QtQuick.Dialogs 1.3
+import QtQuick.Layouts 1.15
import UM 1.1 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/ObjectItemButton.qml b/resources/qml/ObjectItemButton.qml
index 5867a1c544..ac89b1a21b 100644
--- a/resources/qml/ObjectItemButton.qml
+++ b/resources/qml/ObjectItemButton.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.1 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/ObjectSelector.qml b/resources/qml/ObjectSelector.qml
index 15cb476e08..c0df54462a 100644
--- a/resources/qml/ObjectSelector.qml
+++ b/resources/qml/ObjectSelector.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Preferences/GeneralPage.qml b/resources/qml/Preferences/GeneralPage.qml
index e4ea2146ae..7ba4d86026 100644
--- a/resources/qml/Preferences/GeneralPage.qml
+++ b/resources/qml/Preferences/GeneralPage.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.1
-import QtQuick.Controls 1.1
-import QtQuick.Layouts 1.1
-import QtQuick.Controls.Styles 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Layouts 1.15
+import QtQuick.Controls.Styles 1.4
import UM 1.1 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Preferences/MachinesPage.qml b/resources/qml/Preferences/MachinesPage.qml
index a8b64f94a4..7ea0ba2c57 100644
--- a/resources/qml/Preferences/MachinesPage.qml
+++ b/resources/qml/Preferences/MachinesPage.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
-import QtQuick.Window 2.1
+import QtQuick.Window 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Preferences/Materials/MaterialsBrandSection.qml b/resources/qml/Preferences/Materials/MaterialsBrandSection.qml
index 606acc2950..14af216388 100644
--- a/resources/qml/Preferences/Materials/MaterialsBrandSection.qml
+++ b/resources/qml/Preferences/Materials/MaterialsBrandSection.qml
@@ -1,11 +1,11 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
-import QtQuick.Layouts 1.3
-import QtQuick.Dialogs 1.2
+import QtQuick.Layouts 1.15
+import QtQuick.Dialogs 1.3
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -144,4 +144,4 @@ Item
expanded = materialList.expandedBrands.indexOf(sectionName) > -1
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/Preferences/Materials/MaterialsDetailsPanel.qml b/resources/qml/Preferences/Materials/MaterialsDetailsPanel.qml
index e821dfb955..a0cd1c15f2 100644
--- a/resources/qml/Preferences/Materials/MaterialsDetailsPanel.qml
+++ b/resources/qml/Preferences/Materials/MaterialsDetailsPanel.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2018 Ultimaker B.V.
// Uranium is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
-import QtQuick.Layouts 1.3
-import QtQuick.Dialogs 1.2
+import QtQuick.Layouts 1.15
+import QtQuick.Dialogs 1.3
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -119,4 +119,4 @@ Item
property string adhesion_info: "";
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/Preferences/Materials/MaterialsList.qml b/resources/qml/Preferences/Materials/MaterialsList.qml
index 3173fbd680..ef1ed90f88 100644
--- a/resources/qml/Preferences/Materials/MaterialsList.qml
+++ b/resources/qml/Preferences/Materials/MaterialsList.qml
@@ -1,11 +1,11 @@
// Copyright (c) 2019 Ultimaker B.V.
// Uranium is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
-import QtQuick.Layouts 1.3
-import QtQuick.Dialogs 1.2
+import QtQuick.Layouts 1.15
+import QtQuick.Dialogs 1.3
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -166,4 +166,4 @@ Item
}
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/Preferences/Materials/MaterialsPage.qml b/resources/qml/Preferences/Materials/MaterialsPage.qml
index 791d6685de..310a9d71a3 100644
--- a/resources/qml/Preferences/Materials/MaterialsPage.qml
+++ b/resources/qml/Preferences/Materials/MaterialsPage.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2018 Ultimaker B.V.
// Uranium is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
-import QtQuick.Layouts 1.3
-import QtQuick.Dialogs 1.2
+import QtQuick.Layouts 1.15
+import QtQuick.Dialogs 1.3
import UM 1.2 as UM
import Cura 1.5 as Cura
diff --git a/resources/qml/Preferences/Materials/MaterialsSlot.qml b/resources/qml/Preferences/Materials/MaterialsSlot.qml
index 81bb8759ff..710c9c3bba 100644
--- a/resources/qml/Preferences/Materials/MaterialsSlot.qml
+++ b/resources/qml/Preferences/Materials/MaterialsSlot.qml
@@ -1,11 +1,11 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
-import QtQuick.Layouts 1.3
-import QtQuick.Dialogs 1.2
+import QtQuick.Layouts 1.15
+import QtQuick.Dialogs 1.3
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -125,4 +125,4 @@ Rectangle
source: materialSlot.is_favorite ? UM.Theme.getIcon("favorites_star_full") : UM.Theme.getIcon("favorites_star_empty")
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/Preferences/Materials/MaterialsTypeSection.qml b/resources/qml/Preferences/Materials/MaterialsTypeSection.qml
index 7219cb7b89..0722ce1c5c 100644
--- a/resources/qml/Preferences/Materials/MaterialsTypeSection.qml
+++ b/resources/qml/Preferences/Materials/MaterialsTypeSection.qml
@@ -1,11 +1,11 @@
// Copyright (c) 2018 Ultimaker B.V.
// Uranium is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
-import QtQuick.Layouts 1.3
-import QtQuick.Dialogs 1.2
+import QtQuick.Layouts 1.15
+import QtQuick.Dialogs 1.3
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -134,4 +134,4 @@ Item
expanded = materialList.expandedTypes.indexOf(materialBrand + "_" + materialName) > -1
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/Preferences/Materials/MaterialsView.qml b/resources/qml/Preferences/Materials/MaterialsView.qml
index 489ff1f33e..ff8e90a10b 100644
--- a/resources/qml/Preferences/Materials/MaterialsView.qml
+++ b/resources/qml/Preferences/Materials/MaterialsView.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2017 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
-import QtQuick.Dialogs 1.2
+import QtQuick.Dialogs 1.3
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Preferences/ProfileTab.qml b/resources/qml/Preferences/ProfileTab.qml
index 3c0c46ed72..9b1001d8fd 100644
--- a/resources/qml/Preferences/ProfileTab.qml
+++ b/resources/qml/Preferences/ProfileTab.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
import UM 1.2 as UM
diff --git a/resources/qml/Preferences/ProfilesPage.qml b/resources/qml/Preferences/ProfilesPage.qml
index 9144d4dbe1..7526db9d74 100644
--- a/resources/qml/Preferences/ProfilesPage.qml
+++ b/resources/qml/Preferences/ProfilesPage.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2019 Ultimaker B.V.
// Uranium is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
-import QtQuick.Layouts 1.3
-import QtQuick.Dialogs 1.2
+import QtQuick.Layouts 1.15
+import QtQuick.Dialogs 1.3
import UM 1.2 as UM
import Cura 1.6 as Cura
diff --git a/resources/qml/Preferences/ReadOnlySpinBox.qml b/resources/qml/Preferences/ReadOnlySpinBox.qml
index 11e47b38b2..dd425978db 100644
--- a/resources/qml/Preferences/ReadOnlySpinBox.qml
+++ b/resources/qml/Preferences/ReadOnlySpinBox.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2016 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.1
-import QtQuick.Controls 1.1
-import QtQuick.Dialogs 1.2
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Dialogs 1.3
Item
{
diff --git a/resources/qml/Preferences/ReadOnlyTextArea.qml b/resources/qml/Preferences/ReadOnlyTextArea.qml
index 2c553ac2ca..4e068e0b66 100644
--- a/resources/qml/Preferences/ReadOnlyTextArea.qml
+++ b/resources/qml/Preferences/ReadOnlyTextArea.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2016 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.1
-import QtQuick.Controls 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
Item
{
diff --git a/resources/qml/Preferences/ReadOnlyTextField.qml b/resources/qml/Preferences/ReadOnlyTextField.qml
index 38d07d7d6a..781826edc8 100644
--- a/resources/qml/Preferences/ReadOnlyTextField.qml
+++ b/resources/qml/Preferences/ReadOnlyTextField.qml
@@ -2,9 +2,9 @@
// Cura is released under the terms of the LGPLv3 or higher.
// Different than the name suggests, it is not always read-only.
-import QtQuick 2.1
-import QtQuick.Controls 1.1
-import QtQuick.Dialogs 1.2
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Dialogs 1.3
Item
{
diff --git a/resources/qml/Preferences/SettingVisibilityPage.qml b/resources/qml/Preferences/SettingVisibilityPage.qml
index eda40af0b1..e976fe6cec 100644
--- a/resources/qml/Preferences/SettingVisibilityPage.qml
+++ b/resources/qml/Preferences/SettingVisibilityPage.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2016 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.1
-import QtQuick.Controls 1.1
-import QtQuick.Controls.Styles 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Controls.Styles 1.4
import UM 1.2 as UM
@@ -202,4 +202,4 @@ UM.PreferencesPage
UM.SettingVisibilityItem { }
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrimaryButton.qml b/resources/qml/PrimaryButton.qml
index fca63d2cdb..492846a43b 100644
--- a/resources/qml/PrimaryButton.qml
+++ b/resources/qml/PrimaryButton.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
+import QtQuick 2.15
import UM 1.4 as UM
import Cura 1.1 as Cura
@@ -17,4 +17,4 @@ Cura.ActionButton
disabledColor: UM.Theme.getColor("action_button_disabled")
textDisabledColor: UM.Theme.getColor("action_button_disabled_text")
hoverColor: UM.Theme.getColor("primary_button_hover")
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrintMonitor.qml b/resources/qml/PrintMonitor.qml
index 19c2562874..10b63e7416 100644
--- a/resources/qml/PrintMonitor.qml
+++ b/resources/qml/PrintMonitor.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 1.1
-import QtQuick.Controls.Styles 1.1
-import QtQuick.Layouts 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Controls.Styles 1.4
+import QtQuick.Layouts 1.15
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -183,4 +183,4 @@ Item
{
id: tooltip
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml b/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml
index d18febfc5f..aaa595b30c 100644
--- a/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml
+++ b/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import QtQuick.Controls 1.4 as OldControls
-import QtQuick.Layouts 1.3
+import QtQuick.Layouts 1.15
import UM 1.3 as UM
import Cura 1.6 as Cura
diff --git a/resources/qml/PrintSetupSelector/Custom/MenuButton.qml b/resources/qml/PrintSetupSelector/Custom/MenuButton.qml
index ffa6a68c9d..ed88805cae 100644
--- a/resources/qml/PrintSetupSelector/Custom/MenuButton.qml
+++ b/resources/qml/PrintSetupSelector/Custom/MenuButton.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.6 as Cura
@@ -51,4 +51,4 @@ Button
font: UM.Theme.getFont("default")
color: button.enabled ? UM.Theme.getColor("text") :UM.Theme.getColor("text_inactive")
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrintSetupSelector/Custom/QualitiesWithIntentMenu.qml b/resources/qml/PrintSetupSelector/Custom/QualitiesWithIntentMenu.qml
index c879ff53fd..ecd331d189 100644
--- a/resources/qml/PrintSetupSelector/Custom/QualitiesWithIntentMenu.qml
+++ b/resources/qml/PrintSetupSelector/Custom/QualitiesWithIntentMenu.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.6 as Cura
diff --git a/resources/qml/PrintSetupSelector/NoIntentIcon.qml b/resources/qml/PrintSetupSelector/NoIntentIcon.qml
index 7943a05ab4..5b04271ba0 100644
--- a/resources/qml/PrintSetupSelector/NoIntentIcon.qml
+++ b/resources/qml/PrintSetupSelector/NoIntentIcon.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.6 as Cura
@@ -33,4 +33,4 @@ Item
}
onExited: base.hideTooltip()
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrintSetupSelector/PrintSetupSelector.qml b/resources/qml/PrintSetupSelector/PrintSetupSelector.qml
index 414c349bb6..bc690bc6ac 100644
--- a/resources/qml/PrintSetupSelector/PrintSetupSelector.qml
+++ b/resources/qml/PrintSetupSelector/PrintSetupSelector.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.0
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/PrintSetupSelector/PrintSetupSelectorContents.qml b/resources/qml/PrintSetupSelector/PrintSetupSelectorContents.qml
index 81b752eef6..a2b37042ed 100644
--- a/resources/qml/PrintSetupSelector/PrintSetupSelectorContents.qml
+++ b/resources/qml/PrintSetupSelector/PrintSetupSelectorContents.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.0 as Cura
@@ -239,4 +239,4 @@ Item
}
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrintSetupSelector/PrintSetupSelectorHeader.qml b/resources/qml/PrintSetupSelector/PrintSetupSelectorHeader.qml
index 1a15980693..e4c0500bc3 100644
--- a/resources/qml/PrintSetupSelector/PrintSetupSelectorHeader.qml
+++ b/resources/qml/PrintSetupSelector/PrintSetupSelectorHeader.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.3 as UM
import Cura 1.0 as Cura
@@ -92,4 +92,4 @@ RowLayout
watchedProperties: [ "value"]
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedAdhesionSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedAdhesionSelector.qml
index 1ae265ab47..c3fb60ea7f 100644
--- a/resources/qml/PrintSetupSelector/Recommended/RecommendedAdhesionSelector.qml
+++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedAdhesionSelector.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
@@ -87,4 +87,4 @@ Item
watchedProperties: [ "value", "resolve", "enabled" ]
storeIndex: 0
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedInfillDensitySelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedInfillDensitySelector.qml
index 19f199fea6..787e66520d 100644
--- a/resources/qml/PrintSetupSelector/Recommended/RecommendedInfillDensitySelector.qml
+++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedInfillDensitySelector.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
@@ -252,4 +252,4 @@ Item
watchedProperties: ["value", "enabled"]
storeIndex: 0
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedPrintSetup.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedPrintSetup.qml
index 22c4039063..6352460d59 100644
--- a/resources/qml/PrintSetupSelector/Recommended/RecommendedPrintSetup.qml
+++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedPrintSetup.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml
index 337aff573f..63538c3d4c 100644
--- a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml
+++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
+import QtQuick 2.15
import QtQuick.Controls 1.4
-import QtQuick.Controls 2.3 as Controls2
+import QtQuick.Controls 2.15 as Controls2
import QtQuick.Controls.Styles 1.4
import UM 1.2 as UM
@@ -198,4 +198,4 @@ Item
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml
index aadee43c36..d1fd3f584d 100644
--- a/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml
+++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
-import QtQuick.Controls 2.3 as Controls2
+import QtQuick.Controls 2.15 as Controls2
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -342,4 +342,4 @@ Item
watchedProperties: ["value"]
storeIndex: 0
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrintSetupTooltip.qml b/resources/qml/PrintSetupTooltip.qml
index 91f044ceed..a64a609724 100644
--- a/resources/qml/PrintSetupTooltip.qml
+++ b/resources/qml/PrintSetupTooltip.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.0 as UM
diff --git a/resources/qml/PrinterOutput/ExtruderBox.qml b/resources/qml/PrinterOutput/ExtruderBox.qml
index ddd0a87c9f..cc54280d48 100644
--- a/resources/qml/PrinterOutput/ExtruderBox.qml
+++ b/resources/qml/PrinterOutput/ExtruderBox.qml
@@ -1,10 +1,10 @@
//Copyright (c) 2019 Ultimaker B.V.
//Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
-import QtQuick.Controls.Styles 1.1
-import QtQuick.Layouts 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Controls.Styles 1.4
+import QtQuick.Layouts 1.15
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -478,4 +478,4 @@ Item
}
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrinterOutput/HeatedBedBox.qml b/resources/qml/PrinterOutput/HeatedBedBox.qml
index 2e3e319c89..34ccd33d55 100644
--- a/resources/qml/PrinterOutput/HeatedBedBox.qml
+++ b/resources/qml/PrinterOutput/HeatedBedBox.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2017 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
-import QtQuick.Layouts 1.3
+import QtQuick.Layouts 1.15
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -368,4 +368,4 @@ Item
}
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrinterOutput/ManualPrinterControl.qml b/resources/qml/PrinterOutput/ManualPrinterControl.qml
index e8947bfdf4..9acea35708 100644
--- a/resources/qml/PrinterOutput/ManualPrinterControl.qml
+++ b/resources/qml/PrinterOutput/ManualPrinterControl.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
-import QtQuick.Layouts 1.3
+import QtQuick.Layouts 1.15
import UM 1.3 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/PrinterOutput/MonitorItem.qml b/resources/qml/PrinterOutput/MonitorItem.qml
index a26ec20f64..f8e14ba0fc 100644
--- a/resources/qml/PrinterOutput/MonitorItem.qml
+++ b/resources/qml/PrinterOutput/MonitorItem.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2017 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
-import QtQuick.Controls.Styles 1.1
-import QtQuick.Layouts 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Controls.Styles 1.4
+import QtQuick.Layouts 1.15
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -43,4 +43,4 @@ Item
elide: Text.ElideRight
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrinterOutput/MonitorSection.qml b/resources/qml/PrinterOutput/MonitorSection.qml
index 1d9df777b6..8a40b505b1 100644
--- a/resources/qml/PrinterOutput/MonitorSection.qml
+++ b/resources/qml/PrinterOutput/MonitorSection.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2017 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
+import QtQuick 2.15
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
-import QtQuick.Layouts 1.3
+import QtQuick.Layouts 1.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/PrinterOutput/OutputDeviceHeader.qml b/resources/qml/PrinterOutput/OutputDeviceHeader.qml
index cbb9461778..0a6ab83b6a 100644
--- a/resources/qml/PrinterOutput/OutputDeviceHeader.qml
+++ b/resources/qml/PrinterOutput/OutputDeviceHeader.qml
@@ -1,8 +1,8 @@
-import QtQuick 2.2
+import QtQuick 2.15
-import QtQuick.Controls 1.1
-import QtQuick.Controls.Styles 1.1
-import QtQuick.Layouts 1.1
+import QtQuick.Controls 1.4
+import QtQuick.Controls.Styles 1.4
+import QtQuick.Layouts 1.15
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -64,4 +64,4 @@ Item
anchors.topMargin: UM.Theme.getSize("default_margin").height
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/PrinterSelector/MachineSelector.qml b/resources/qml/PrinterSelector/MachineSelector.qml
index 17bb80906a..3c2b1b9d83 100644
--- a/resources/qml/PrinterSelector/MachineSelector.qml
+++ b/resources/qml/PrinterSelector/MachineSelector.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/PrinterSelector/MachineSelectorButton.qml b/resources/qml/PrinterSelector/MachineSelectorButton.qml
index bb30cded9f..981f1df640 100644
--- a/resources/qml/PrinterSelector/MachineSelectorButton.qml
+++ b/resources/qml/PrinterSelector/MachineSelectorButton.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.1 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/PrinterSelector/MachineSelectorList.qml b/resources/qml/PrinterSelector/MachineSelectorList.qml
index 18b1a68b20..e1fa44961b 100644
--- a/resources/qml/PrinterSelector/MachineSelectorList.qml
+++ b/resources/qml/PrinterSelector/MachineSelectorList.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/PrinterTypeLabel.qml b/resources/qml/PrinterTypeLabel.qml
index f2e8dc6f48..b30cad5138 100644
--- a/resources/qml/PrinterTypeLabel.qml
+++ b/resources/qml/PrinterTypeLabel.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.1
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.1 as UM
@@ -34,4 +34,4 @@ Item
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/RadioCheckbar.qml b/resources/qml/RadioCheckbar.qml
index 0b8709fe7a..c15de09828 100644
--- a/resources/qml/RadioCheckbar.qml
+++ b/resources/qml/RadioCheckbar.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.1 as UM
Item
diff --git a/resources/qml/RoundedRectangle.qml b/resources/qml/RoundedRectangle.qml
index 3ca05e2125..c25451fc77 100644
--- a/resources/qml/RoundedRectangle.qml
+++ b/resources/qml/RoundedRectangle.qml
@@ -1,4 +1,4 @@
-import QtQuick 2.7
+import QtQuick 2.15
import UM 1.2 as UM
diff --git a/resources/qml/SecondaryButton.qml b/resources/qml/SecondaryButton.qml
index f03d8acdfa..e040f89843 100644
--- a/resources/qml/SecondaryButton.qml
+++ b/resources/qml/SecondaryButton.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
+import QtQuick 2.15
import UM 1.4 as UM
import Cura 1.1 as Cura
@@ -17,4 +17,4 @@ Cura.ActionButton
disabledColor: UM.Theme.getColor("action_button_disabled")
textDisabledColor: UM.Theme.getColor("action_button_disabled_text")
hoverColor: UM.Theme.getColor("secondary_button_hover")
-} \ No newline at end of file
+}
diff --git a/resources/qml/Settings/SettingCategory.qml b/resources/qml/Settings/SettingCategory.qml
index e3e12d7753..6f3dedbc89 100644
--- a/resources/qml/Settings/SettingCategory.qml
+++ b/resources/qml/Settings/SettingCategory.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.0
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.1 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Settings/SettingCheckBox.qml b/resources/qml/Settings/SettingCheckBox.qml
index e3de6e219d..57a4240671 100644
--- a/resources/qml/Settings/SettingCheckBox.qml
+++ b/resources/qml/Settings/SettingCheckBox.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2018 Ultimaker B.V.
// Uranium is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Layouts 1.2
-import QtQuick.Controls 2.0
+import QtQuick 2.15
+import QtQuick.Layouts 1.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
diff --git a/resources/qml/Settings/SettingComboBox.qml b/resources/qml/Settings/SettingComboBox.qml
index cbabb3ffd4..82e7e89823 100644
--- a/resources/qml/Settings/SettingComboBox.qml
+++ b/resources/qml/Settings/SettingComboBox.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/Settings/SettingExtruder.qml b/resources/qml/Settings/SettingExtruder.qml
index 2bf9e24b3d..bebda26c17 100644
--- a/resources/qml/Settings/SettingExtruder.qml
+++ b/resources/qml/Settings/SettingExtruder.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2016 Ultimaker B.V.
// Uranium is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.0
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.1 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Settings/SettingItem.qml b/resources/qml/Settings/SettingItem.qml
index f0c748d190..437c7aa548 100644
--- a/resources/qml/Settings/SettingItem.qml
+++ b/resources/qml/Settings/SettingItem.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Layouts 1.2
-import QtQuick.Controls 2.0
+import QtQuick 2.15
+import QtQuick.Layouts 1.15
+import QtQuick.Controls 2.15
import UM 1.1 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Settings/SettingOptionalExtruder.qml b/resources/qml/Settings/SettingOptionalExtruder.qml
index ce078551d8..da159b3a49 100644
--- a/resources/qml/Settings/SettingOptionalExtruder.qml
+++ b/resources/qml/Settings/SettingOptionalExtruder.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.0
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.1 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Settings/SettingTextField.qml b/resources/qml/Settings/SettingTextField.qml
index 9fc3d0a554..64f8492918 100644
--- a/resources/qml/Settings/SettingTextField.qml
+++ b/resources/qml/Settings/SettingTextField.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2017 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.0
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.1 as UM
diff --git a/resources/qml/Settings/SettingUnknown.qml b/resources/qml/Settings/SettingUnknown.qml
index 8eeb2fb6a0..374757d349 100644
--- a/resources/qml/Settings/SettingUnknown.qml
+++ b/resources/qml/Settings/SettingUnknown.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2015 Ultimaker B.V.
// Uranium is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.0
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
diff --git a/resources/qml/Settings/SettingView.qml b/resources/qml/Settings/SettingView.qml
index fae8f9a186..13e212c8db 100644
--- a/resources/qml/Settings/SettingView.qml
+++ b/resources/qml/Settings/SettingView.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 1.1
-import QtQuick.Controls.Styles 1.1
-import QtQuick.Layouts 1.2
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Controls.Styles 1.4
+import QtQuick.Layouts 1.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/TableView.qml b/resources/qml/TableView.qml
index 1b084be5a0..37a3dbe1d6 100644
--- a/resources/qml/TableView.qml
+++ b/resources/qml/TableView.qml
@@ -1,9 +1,9 @@
// Copyright (C) 2021 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
+import QtQuick 2.15
import QtQuick.Controls 1.4 as OldControls // TableView doesn't exist in the QtQuick Controls 2.x in 5.10, so use the old one
-import QtQuick.Controls 2.3
+import QtQuick.Controls 2.15
import QtQuick.Controls.Styles 1.4
import UM 1.2 as UM
@@ -65,4 +65,4 @@ OldControls.TableView
incrementControl: Item { }
decrementControl: Item { }
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/TertiaryButton.qml b/resources/qml/TertiaryButton.qml
index eb714c22f6..5d47f0c561 100644
--- a/resources/qml/TertiaryButton.qml
+++ b/resources/qml/TertiaryButton.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
+import QtQuick 2.15
import UM 1.4 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/ToolTip.qml b/resources/qml/ToolTip.qml
index b8873439f1..fc7b977ff9 100644
--- a/resources/qml/ToolTip.qml
+++ b/resources/qml/ToolTip.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.0 as UM
import Cura 1.0 as Cura
@@ -79,4 +79,4 @@ ToolTip
function hide() {
opacity = 0
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/Toolbar.qml b/resources/qml/Toolbar.qml
index 89d64b06ad..3a4ece76f4 100644
--- a/resources/qml/Toolbar.qml
+++ b/resources/qml/Toolbar.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/ToolbarButton.qml b/resources/qml/ToolbarButton.qml
index b3f84bba1d..672760e730 100644
--- a/resources/qml/ToolbarButton.qml
+++ b/resources/qml/ToolbarButton.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/ViewOrientationButton.qml b/resources/qml/ViewOrientationButton.qml
index 5d72de9a8d..74ca02faaa 100644
--- a/resources/qml/ViewOrientationButton.qml
+++ b/resources/qml/ViewOrientationButton.qml
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
+import QtQuick 2.15
import UM 1.4 as UM
@@ -12,4 +12,4 @@ UM.SimpleButton
hoverColor: UM.Theme.getColor("small_button_text_hover")
color: UM.Theme.getColor("small_button_text")
iconMargin: UM.Theme.getSize("thick_lining").width
-} \ No newline at end of file
+}
diff --git a/resources/qml/ViewOrientationControls.qml b/resources/qml/ViewOrientationControls.qml
index 97f2bb9400..a1c1e64c78 100644
--- a/resources/qml/ViewOrientationControls.qml
+++ b/resources/qml/ViewOrientationControls.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.2
-import QtQuick.Controls 1.1
-import QtQuick.Controls.Styles 1.1
+import QtQuick 2.15
+import QtQuick.Controls 1.4
+import QtQuick.Controls.Styles 1.4
import UM 1.4 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/ViewsSelector.qml b/resources/qml/ViewsSelector.qml
index af98469921..3bd464eff9 100644
--- a/resources/qml/ViewsSelector.qml
+++ b/resources/qml/ViewsSelector.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2018 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.7
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.2 as UM
import Cura 1.0 as Cura
@@ -130,4 +130,4 @@ Cura.ExpandablePopup
}
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/WelcomePages/AddCloudPrintersView.qml b/resources/qml/WelcomePages/AddCloudPrintersView.qml
index 524bf288a0..eb8accf882 100644
--- a/resources/qml/WelcomePages/AddCloudPrintersView.qml
+++ b/resources/qml/WelcomePages/AddCloudPrintersView.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.3 as UM
import Cura 1.7 as Cura
diff --git a/resources/qml/WelcomePages/AddLocalPrinterScrollView.qml b/resources/qml/WelcomePages/AddLocalPrinterScrollView.qml
index f9193e724d..caf5e64453 100644
--- a/resources/qml/WelcomePages/AddLocalPrinterScrollView.qml
+++ b/resources/qml/WelcomePages/AddLocalPrinterScrollView.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/AddNetworkOrLocalPrinterContent.qml b/resources/qml/WelcomePages/AddNetworkOrLocalPrinterContent.qml
index c2706cb8d4..aaff0ec1f3 100644
--- a/resources/qml/WelcomePages/AddNetworkOrLocalPrinterContent.qml
+++ b/resources/qml/WelcomePages/AddNetworkOrLocalPrinterContent.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/AddNetworkPrinterScrollView.qml b/resources/qml/WelcomePages/AddNetworkPrinterScrollView.qml
index 9d79c421bd..61a7063f5c 100644
--- a/resources/qml/WelcomePages/AddNetworkPrinterScrollView.qml
+++ b/resources/qml/WelcomePages/AddNetworkPrinterScrollView.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/AddPrinterByIpContent.qml b/resources/qml/WelcomePages/AddPrinterByIpContent.qml
index 9a69b78a83..e13cfb079f 100644
--- a/resources/qml/WelcomePages/AddPrinterByIpContent.qml
+++ b/resources/qml/WelcomePages/AddPrinterByIpContent.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.3 as UM
import Cura 1.5 as Cura
diff --git a/resources/qml/WelcomePages/ChangelogContent.qml b/resources/qml/WelcomePages/ChangelogContent.qml
index d3eebe72e4..e85a02251f 100644
--- a/resources/qml/WelcomePages/ChangelogContent.qml
+++ b/resources/qml/WelcomePages/ChangelogContent.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2021 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/CloudContent.qml b/resources/qml/WelcomePages/CloudContent.qml
index 692ad12a29..507433a603 100644
--- a/resources/qml/WelcomePages/CloudContent.qml
+++ b/resources/qml/WelcomePages/CloudContent.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/DataCollectionsContent.qml b/resources/qml/WelcomePages/DataCollectionsContent.qml
index be4d09e876..d9320c6c82 100644
--- a/resources/qml/WelcomePages/DataCollectionsContent.qml
+++ b/resources/qml/WelcomePages/DataCollectionsContent.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/DropDownHeader.qml b/resources/qml/WelcomePages/DropDownHeader.qml
index 88da32c879..7edf363ab3 100644
--- a/resources/qml/WelcomePages/DropDownHeader.qml
+++ b/resources/qml/WelcomePages/DropDownHeader.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/DropDownWidget.qml b/resources/qml/WelcomePages/DropDownWidget.qml
index 7ec6860c89..1c46ec847f 100644
--- a/resources/qml/WelcomePages/DropDownWidget.qml
+++ b/resources/qml/WelcomePages/DropDownWidget.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/FirstStartMachineActionsContent.qml b/resources/qml/WelcomePages/FirstStartMachineActionsContent.qml
index 64a815855b..685a9907cd 100644
--- a/resources/qml/WelcomePages/FirstStartMachineActionsContent.qml
+++ b/resources/qml/WelcomePages/FirstStartMachineActionsContent.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/ImageTile.qml b/resources/qml/WelcomePages/ImageTile.qml
index 7ed07304e6..0ceebd3403 100644
--- a/resources/qml/WelcomePages/ImageTile.qml
+++ b/resources/qml/WelcomePages/ImageTile.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
@@ -36,4 +36,4 @@ Column
id: image
source: ""
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/WelcomePages/UserAgreementContent.qml b/resources/qml/WelcomePages/UserAgreementContent.qml
index 764ef03e18..df2a2e9ec3 100644
--- a/resources/qml/WelcomePages/UserAgreementContent.qml
+++ b/resources/qml/WelcomePages/UserAgreementContent.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/WelcomeContent.qml b/resources/qml/WelcomePages/WelcomeContent.qml
index 45a0bf4a7c..639915b333 100644
--- a/resources/qml/WelcomePages/WelcomeContent.qml
+++ b/resources/qml/WelcomePages/WelcomeContent.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/WelcomeDialogItem.qml b/resources/qml/WelcomePages/WelcomeDialogItem.qml
index 2d01642ada..1a8d419011 100644
--- a/resources/qml/WelcomePages/WelcomeDialogItem.qml
+++ b/resources/qml/WelcomePages/WelcomeDialogItem.qml
@@ -1,10 +1,10 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtQuick.Window 2.2
-import QtGraphicalEffects 1.0 // For the DropShadow
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Window 2.15
+import QtGraphicalEffects 1.12 // For the DropShadow
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/WhatsNewContent.qml b/resources/qml/WelcomePages/WhatsNewContent.qml
index 68be6379d6..1e6feba604 100644
--- a/resources/qml/WelcomePages/WhatsNewContent.qml
+++ b/resources/qml/WelcomePages/WhatsNewContent.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2021 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtQuick.Layouts 1.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/WizardDialog.qml b/resources/qml/WelcomePages/WizardDialog.qml
index cfa03352b0..e0e815300f 100644
--- a/resources/qml/WelcomePages/WizardDialog.qml
+++ b/resources/qml/WelcomePages/WizardDialog.qml
@@ -1,9 +1,9 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
-import QtQuick.Window 2.2
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Window 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/WelcomePages/WizardPanel.qml b/resources/qml/WelcomePages/WizardPanel.qml
index db4b66d18b..d2493d2273 100644
--- a/resources/qml/WelcomePages/WizardPanel.qml
+++ b/resources/qml/WelcomePages/WizardPanel.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/Widgets/CheckBox.qml b/resources/qml/Widgets/CheckBox.qml
index f79dc1620e..cbdb679f79 100644
--- a/resources/qml/Widgets/CheckBox.qml
+++ b/resources/qml/Widgets/CheckBox.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/Widgets/ComboBox.qml b/resources/qml/Widgets/ComboBox.qml
index 7eb366f0a3..617d7d1e21 100644
--- a/resources/qml/Widgets/ComboBox.qml
+++ b/resources/qml/Widgets/ComboBox.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/Widgets/NotificationIcon.qml b/resources/qml/Widgets/NotificationIcon.qml
index 5cf4d17777..b531248d13 100644
--- a/resources/qml/Widgets/NotificationIcon.qml
+++ b/resources/qml/Widgets/NotificationIcon.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.4 as UM
diff --git a/resources/qml/Widgets/RadioButton.qml b/resources/qml/Widgets/RadioButton.qml
index 13aee7ba90..5421f9af56 100644
--- a/resources/qml/Widgets/RadioButton.qml
+++ b/resources/qml/Widgets/RadioButton.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.0 as Cura
diff --git a/resources/qml/Widgets/ScrollView.qml b/resources/qml/Widgets/ScrollView.qml
index 9e7531994c..6fa06ba36b 100644
--- a/resources/qml/Widgets/ScrollView.qml
+++ b/resources/qml/Widgets/ScrollView.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2020 Ultimaker B.V.
// Toolbox is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.1 as UM
@@ -43,4 +43,4 @@ ScrollView
Behavior on opacity { NumberAnimation { duration: 100 } }
}
}
-} \ No newline at end of file
+}
diff --git a/resources/qml/Widgets/ScrollableTextArea.qml b/resources/qml/Widgets/ScrollableTextArea.qml
index 86dcad8112..eeebc41e96 100644
--- a/resources/qml/Widgets/ScrollableTextArea.qml
+++ b/resources/qml/Widgets/ScrollableTextArea.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura
diff --git a/resources/qml/Widgets/TextField.qml b/resources/qml/Widgets/TextField.qml
index 28074d4415..f702c4f296 100644
--- a/resources/qml/Widgets/TextField.qml
+++ b/resources/qml/Widgets/TextField.qml
@@ -1,8 +1,8 @@
// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
-import QtQuick 2.10
-import QtQuick.Controls 2.3
+import QtQuick 2.15
+import QtQuick.Controls 2.15
import UM 1.3 as UM
import Cura 1.1 as Cura