9382 Commits

Author SHA1 Message Date
j.delarago
9a0f693ef7 Wrapping Retrieval in DFRetrieval does not seem to work in QT6, the object returned only undefined for all enum values.
Fixed by creating and registering the enum inside DigitalFactoryController.py

CURA-9126
2022-04-21 12:02:06 +02:00
j.delarago
5a8343ce25 Center remove button in row by giving it the same height as the input.
Adjust width of rows when scrollbar is present so they don't overlap.

CURA-9149
2022-04-21 11:56:17 +02:00
c.lamboo
7a3af720a8 Resolve urls through qml
CURA-9146
2022-04-21 11:32:46 +02:00
c.lamboo
d0a35bad3d Use updated type definitions
CURA-9146
2022-04-21 11:29:42 +02:00
Remco Burema
0232b4f639 Upgrade SDK version to 8.0.0 for Cura 5.0 2022-04-20 10:57:38 +02:00
Jaime van Kessel
15b16e3e45 Remove overlap in perobject setting panel
CURA-9149
2022-04-19 17:27:38 +02:00
Jaime van Kessel
e85420f9fa Fix few more instances of old usage of fileUrl vs selectedFile 2022-04-19 17:12:58 +02:00
Jaime van Kessel
e4e993a44e Fail gracefully when adding unknown cloud printer 2022-04-19 15:43:31 +02:00
Jaime van Kessel
773ff5fa7e Remove unneeded renderType
CURA-9146
2022-04-19 11:21:12 +02:00
Jaime van Kessel
3aff3d5825 Fix "read more" not being translated
Yeah, i know, this breaks the stringfreeze. But this wasn't translated in the
first place. So the actual effect here is zero (but at least it will be translated
in the next round!)

CURA-9146
2022-04-19 11:19:58 +02:00
Jaime van Kessel
05263b9a58 Fix layout of dialog
CURA-9146
2022-04-19 11:17:38 +02:00
Jaime van Kessel
3ed182cd74 Rename MarketplaceLicenseDialog to MultipleLicenceDialog
CURA-9146
2022-04-19 11:08:54 +02:00
Jaime van Kessel
5ce5ce769e Re-add the CloudSync functionality
It got removed in the marketplace upgrade.

CURA-9146
2022-04-15 13:12:06 +02:00
Jelle Spijker
02a2d9c012
Update plugins/ModelChecker/ModelChecker.qml
Looks like a left over

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2022-04-14 14:49:35 +02:00
Jaime van Kessel
25839c6d97 Fix direction of pointing rectangle
Turns out that using anchors doesn't quite work anymore due to qt6 upgrade. Oh well!
CURA-9137
2022-04-13 17:36:47 +02:00
Jaime van Kessel
ddb3ed1693 Fix crash in image reader and ensure it actually works
CURA-9125
2022-04-13 16:58:37 +02:00
Jaime van Kessel
50954552d2 Fix thumbnail creation
CURA-9120
2022-04-13 16:53:11 +02:00
Jaime van Kessel
c9e625767b Use right enum for message dialog 2022-04-13 16:40:14 +02:00
Jaime van Kessel
dd037fa946 Make "create new" button visible
CURA-9126
2022-04-13 16:25:24 +02:00
j.delarago
3674af01b7 selectExisting is replaced with using fileMode:FileDialog.OpenFile in QT6. This forces selecting an existing file.
This is also the default value in QT6 so this line can be removed without changing the functionality
2022-04-12 10:21:34 +02:00
Ghostkeeper
70fdffb1c9
Allow redirects when talking with printer API
Because newer firmware will redirect this API call.

Contributes to issue CURA-9119.
2022-04-11 13:23:03 +02:00
Jaime van Kessel
5bec905cb9 Remove fill from multiple SVG's 2022-04-11 11:40:04 +02:00
Ghostkeeper
0deac84ec2
NetworkError is an enum, no longer comparable as int
With the Qt6 upgrade, we have to treat enums as full enums, within their normal class namespace and such. They are no longer just integer-globals static in the QtCore.Qt class. They are no longer treated as integers by PyQt.
Other places that checked for such errors were already doing it like this.

Contributes to issue CURA-9100.
2022-04-11 10:00:32 +02:00
c.lamboo
45bc498c7f Replace RecolorImage with ColorImage
CURA-8640
2022-04-08 15:55:34 +02:00
j.delarago
b2b1961b57 Merge branch 'master' into qt6_beyond_the_splash
# Conflicts:
#	cura/PrinterOutput/PrinterOutputDevice.py
2022-04-06 15:24:30 +02:00
Jaime van Kessel
ef6f76fc98 Fix parameter injection deprecation warning 2022-04-06 11:24:17 +02:00
j.delarago
00c7c37b34 LinearGradient is not available for 2d shapes in QT6
Replace LinearGradient with Gradient in preview color scheme drop down

CURA-8640
2022-04-06 10:50:33 +02:00
Jaime van Kessel
c88ed076a1 Fix resolving of URL's 2022-04-06 09:57:45 +02:00
Jaime van Kessel
605280255f Use right enum for alignment 2022-04-06 09:53:48 +02:00
Jaime van Kessel
3c6412d5d7 FIx deprecation warning 2022-04-06 09:53:27 +02:00
j.delarago
2ffcfafc77 Some place RegularExpressionValidator can't be found in QtQuick 2.10 but can be in 2.15 so all files using RegularExpressionValidator have been bumped to latest QtQuick
CURA-8640
2022-04-05 16:10:39 +02:00
j.delarago
6d2293db08 Remove unused Table in DigitalLibary Plugin
CURA-8640
2022-04-05 15:55:45 +02:00
j.delarago
e86f860a2c Update TableView and TableModel in DigitalLibrary plugin.
This is not backwards compatible with Cura < 5.0 due to the removal of Qt.labs

CURA-8640
2022-04-05 15:47:08 +02:00
j.delarago
184f4b808e Bump QtQuick version to fix RegularExpressionValidator import
CURA-8640
2022-04-05 15:11:07 +02:00
j.delarago
4ec2edec67 Add replacement for QT.labs.models.TableModel
Implementation is intended to function the same as before.

CURA-8640
2022-04-05 15:03:45 +02:00
j.delarago
2f96f7b410 RegularExpressionValidator requires newer version of QtQuick
CURA-8640
2022-04-04 10:45:00 +02:00
Jaime van Kessel
4520fc15f9 Fix display of UM monitor page 2022-04-01 13:45:11 +02:00
j.delarago
cfad991120 Popup will now resize based on the implicitWidth/implicitHeight of it's children.
This causes a binding loop when using layouts like Column.

To resolve this the height/width of the popup in ExpandablePopup can now be set explicitly with contentWidth and contentHeight

For ExpandablePopups with contentItems that are not Layouts the implicitWidth/implicitHeight can be set directly in the contentItem.

CURA-8640
2022-04-01 09:31:27 +02:00
Jaime van Kessel
2c09c83896 Fix crash when opening marketplace 2022-03-31 14:21:29 +02:00
Jaime van Kessel
af712785c8 No longer inject parameters into function handling in qml 2022-03-31 14:16:57 +02:00
Jaime van Kessel
96444dbc09 Use correct keyboard enums 2022-03-31 13:54:24 +02:00
Jaime van Kessel
5aceec6209 Use right enum 2022-03-30 17:33:43 +02:00
c.lamboo
4f70d34631 wip qt changes 2022-03-30 16:55:56 +02:00
c.lamboo
337e2aa4bb Update set deamon logic
`setDaemon(True)` has been deprecated

CURA-8640
2022-03-30 15:12:44 +02:00
c.lamboo
3c9e2a1b08 Update RegExpValidator to RegularExpressionValidator
Due to Qt6 API change

CURA-8640
2022-03-30 15:10:37 +02:00
j.delarago
99a3a8d11d QTQuick.Dialogs jumped to using 6.0 in QT6
Update imports to use correct version number.

CURA-8640
2022-03-29 16:04:02 +02:00
Ghostkeeper
c658ad6d3a
Correct new preferences version
Apparently this was also incremented since we made the original version of this upgrade for 4.9. Works now.

Contributes to issue CURA-8466.
2022-03-29 15:11:51 +02:00
Ghostkeeper
0eed64a2ea
Upgrade 19 to 20, not 17 to 19
I was mixing up the versions there. The new version needs to be 20, since 19 was already used for 4.13. We can't use 18 since that was reserved by the betas from which we can never upgrade.

Contributes to issue CURA-8466.
2022-03-29 14:53:50 +02:00
Ghostkeeper
764e18d62c
Don't disable fuzzy skin any more
It's added back in for the stable release.

Contributes to issue CURA-8466.
2022-03-29 14:13:30 +02:00
Ghostkeeper
60b1876a24
Replace Equalize Filament Flow with equivalent setting
Instead of removing it, let's replace it with something that performs the same sort of functionality.

Contributes to issue CURA-8466.
2022-03-29 14:12:52 +02:00