Remco Burema
8afb06f7ae
Fix infill to 0% on upgrade to Cura 5.0.
...
This is a weird one, fortunately Jaime had the idea that it had to do with a spurious update to the visual element of the slider.
CURA-9127
2022-04-21 11:55:42 +02:00
c.lamboo
9a3d089bd9
Properly add and remove menu items
...
Not really part of the ticket but logging was complaining
CURA-9146
2022-04-21 11:34:16 +02:00
c.lamboo
66fde9100c
Use QML defined enum in sync state
...
These are the enums from cura/API/account.py
somehow exposing these enums from python to QML doesn't work properly anymore
A better solution should be found in the very near future
CURA-9146
2022-04-21 11:32:03 +02:00
Ghostkeeper
3f9c7c55dc
Fix search field losing focus when scrolling the setting list
...
When scrolling the setting list, it was clearing the focus in order to close the pop-ups in the setting list. If pop-ups like for the infill pattern or extruder selection settings are not closed, the pop-up part is still rendered even if the user scrolls those settings out of view, causing the pop-up to appear somewhere on top of completely unrelated interface elements. It scrolls all the way to the top of the screen, effectively.
I couldn't find a way to cause pop-ups to be clipped with the rest of the contents of the ListView. They are always rendered on top due to the nature of the pop-up. I could find a way to trigger pop-ups to close upon changing the scrolled position without changing the focus, but that method was fairly complex with a bunch of `Connection`s and an extra signal. This is by far the simplest solution.
Contributes to issue CURA-9070.
2022-04-21 11:17:13 +02:00
Remco Burema
c002a52b50
Remove animations from custom settings view.
...
They never properly worked anyway, and now they cause the items to overlap.
CURA-9160
2022-04-21 11:11:28 +02:00
Jaime van Kessel
271868eafd
Fix export material to usb
...
CURA-9122
2022-04-20 11:23:35 +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
f070a695b1
Change standardbutton.yes & no to dialog.yes & no
2022-04-19 17:10:51 +02:00
Jaime van Kessel
1ce84fec69
Fix all import dialogs
...
Fixes CURA-9129
2022-04-19 17:09:02 +02:00
Jaime van Kessel
965ecb744d
Fix size of print setup selector
...
CURA-9139
2022-04-19 16:42:43 +02:00
Jaime van Kessel
fc03d6dfd8
No longer inject close argument
...
Fixes warning in the log
2022-04-19 15:08:45 +02:00
Jaime van Kessel
5a62278097
Fix display of username
...
CURA-9146
2022-04-15 10:16:00 +02:00
Jelle Spijker
981df9f928
Update resources/qml/TableView.qml
...
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2022-04-14 14:49:42 +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
a6db27dd55
Prevent tootltip from showing during "processing" of slice button
...
CURA-9150
2022-04-13 16:29:25 +02:00
j.spijker@ultimaker.com
cb9b5961c3
Removed last remnants of RecolorImage
...
This was still being used in the MaterialBrandsMenu and the SimpleButton
Probably why the X es were missing from the info messages. CURA-9110
Contributes to CURA-8640
2022-04-13 12:40:54 +02:00
Ghostkeeper
6f83927ec3
Merge branch 'qt6_beyond_the_splash' of github.com:Ultimaker/Cura into qt6_beyond_the_splash
2022-04-12 14:11:36 +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
j.delarago
94e5a4e1db
Masking is not avaliable after the QT6 upgrade, this does a kind of primitive masking by placing a rectangle with a circular hole in it over the image.
...
CURA-9104
2022-04-11 14:10:27 +02:00
j.delarago
c4baece3ac
Remove reference to nonexistent property source size in UM.ColorImage which was causing add printer page to be empty
...
CURA-9098
2022-04-11 09:52:33 +02:00
Ghostkeeper
90a3b4cde6
Use 250ms delay everywhere
...
This looks like it's consistent with the normal menus. And it fixes the issue where multiple menus can be shown at once because it would hide slower than show the next one.
Contributes to issue CURA-8640.
2022-04-08 17:02:52 +02:00
Ghostkeeper
af33073b29
Properly limit width of text in subsubmenu
...
Getting rid of the layout makes a lot of things simpler here.
Contributes to issue CURA-8640.
2022-04-08 17:02:52 +02:00
j.delarago
d46679c19f
Fix popups closing on selecting a material bug
...
CURA-8640
2022-04-08 16:44:13 +02:00
Ghostkeeper
e7de7bb3cc
Add a checkmark to indicate the selected material
...
As it used to have.
Contributes to issue CURA-8640.
2022-04-08 16:35:54 +02:00
Ghostkeeper
5a76cd1615
Select material from menu when user clicks on it
...
The main function of the menu, after all.
Contributes to issue CURA-8640.
2022-04-08 16:35:54 +02:00
j.delarago
5df5d6c37d
Fix popup alignment
...
CURA-8640
2022-04-08 16:34:59 +02:00
j.delarago
938ff691c4
Add arrows in submenus
...
CURA-8640
2022-04-08 16:29:24 +02:00
Jaime van Kessel
d94ef39cba
Fix warnings for extruder icon
2022-04-08 16:08:24 +02:00
Ghostkeeper
7aafd95429
Implement sub-submenus for material selection
...
Getting a bit complex with the timers there and which pop-ups need to stay open. But it seems to be working reliably now.
Contributes to issue CURA-8640.
2022-04-08 15:57:42 +02:00
Ghostkeeper
b40900e146
Fix layout of subitems
...
Contributes to issue CURA-8640.
2022-04-08 15:57:42 +02:00
c.lamboo
45bc498c7f
Replace RecolorImage
with ColorImage
...
CURA-8640
2022-04-08 15:55:34 +02:00
Ghostkeeper
3de824e1a4
Show submenu with material types
...
It's quite a hassle to get it to keep displaying...
Contributes to issue CURA-8640.
2022-04-08 14:58:39 +02:00
Ghostkeeper
11b557b3d9
Replace material sub-menus with custom Popup
...
The sub-menus were giving segfaults for some reason. We couldn't figure out how to circumvent that. So now we're at a last resort: Implement the whole thing ourselves, but with Popup instead of Menu.
Contributes to issue CURA-8640.
2022-04-08 11:57:19 +02:00
j.delarago
6bb4f52b27
Fix crash on slicing.
...
A Component with 0 width and height does not load values from registered Objects correctly.
This 0 width/height was caused by a binding loop for height in the contentItem.
CURA-8640
2022-04-06 17:22:17 +02:00
Jaime van Kessel
ef6f76fc98
Fix parameter injection deprecation warning
2022-04-06 11:24:17 +02:00
Jaime van Kessel
1158856f80
Merge branch 'qt6_beyond_the_splash' of github.com:Ultimaker/Cura into qt6_beyond_the_splash
2022-04-06 11:21:01 +02:00
Jaime van Kessel
b2eec5f0d9
Fix height for swatch in extruder settings
2022-04-06 11:19:20 +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
j.delarago
62c1e37e04
Fix button heights
...
CURA-8640
2022-04-05 17:25:19 +02:00
j.delarago
53efb78cf6
Fix combobox and label heights in general page
...
CURA-8640
2022-04-05 17:22:57 +02:00
j.delarago
f57c30fb42
Merge remote-tracking branch 'origin/qt6_beyond_the_splash' into qt6_beyond_the_splash
2022-04-05 16:10:51 +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
Jaime van Kessel
fa2ebf3e38
Merge branch 'qt6_beyond_the_splash' of github.com:Ultimaker/Cura into qt6_beyond_the_splash
2022-04-05 16:03:58 +02:00
Jaime van Kessel
9812dade44
Fix drag & drop
2022-04-05 16:03:47 +02:00
j.delarago
fd07de9b11
Update DiscardOrKeepProfileChangesDialog.qml TableModel
...
CURA-8640
2022-04-05 15:53:56 +02:00
j.delarago
b60156e3b7
Remove unused import
...
CURA-8640
2022-04-05 15:04:35 +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
359bcc1bee
Textfield was in incorrect style
...
CURA-8640
2022-04-04 11:09:50 +02:00
j.delarago
e2e0a5cdee
Inheriting components don't have full access to the context of their parent in QT6 (I assume?)
...
The buttonRow in Dialog must be exposed through an alias now (buttonArea).
This fixes minimumHeight failing to evaluate buttonRow.height
CURA-8640
2022-04-04 11:08:29 +02:00
j.delarago
2f96f7b410
RegularExpressionValidator requires newer version of QtQuick
...
CURA-8640
2022-04-04 10:45:00 +02:00