5575 Commits

Author SHA1 Message Date
Casper Lamboo
d79921c964
Merge pull request #12114 from Ultimaker/CURA-9141_translate_5.0
Cura 9141 translate 5.0
2022-05-06 13:50:30 +02:00
Remco Burema
76d5f92975 Align colors disabled settings textfield (5 min fix).
CURA-9252
2022-05-05 17:54:06 +02:00
j.delarago
ba3913395c Add catalog to files that weren't translating
CURA-9141
2022-05-05 16:42:01 +02:00
Ghostkeeper
eae5f4d57a
Set colour of placeholder text from theme
Otherwise it defaults to black which is not readable in dark mode.

Done as a 5 minute fix.
2022-05-04 15:44:42 +02:00
Jaime van Kessel
76672528ee
Merge pull request #11977 from Ultimaker/CURA-9185_material_menu_cut_off
[CURA-9185] Material menu cut off in menu
2022-05-04 11:29:03 +02:00
Jaime van Kessel
c3918da6a5 Merge branch '5.0' of github.com:Ultimaker/Cura into 5.0 2022-05-03 13:46:49 +02:00
Jaime van Kessel
f13ec6526b Disable the running property of the action button by default
This would cause scene updates to be drawn all the time, causing
constant cpu drain.
2022-05-03 13:45:56 +02:00
c.lamboo
cb4f1a8ab5 Replace SpinBox with NumericTextFieldWithUnit
CURA-9146
2022-05-02 17:07:52 +02:00
c.lamboo
4bb72cdd1a Set stepSize property on SpinBox that reflects its decimals
CURA-9201
2022-05-02 16:51:07 +02:00
Jaime van Kessel
cb359cdfe1 Merge branch '5.0' of github.com:Ultimaker/Cura into 5.0 2022-05-02 14:59:48 +02:00
Jaime van Kessel
f1761a17d0 Fix size of setting extruder swatch 2022-05-02 14:59:28 +02:00
Jaime van Kessel
0d4abf9aa4
Merge pull request #12059 from fieldOfView/fix_phantom_menu
[5.0b1] Remove "phantom menu" when there is only a single FileProvider
2022-05-02 14:49:26 +02:00
j.delarago
6f7fbbecf7 Simplify enabled behaviour
CURA-9232
2022-05-02 13:17:36 +02:00
fieldOfView
28f609cbe2 Remove "phantom menu" when there is only a single FileProvider 2022-05-02 12:17:56 +02:00
j.delarago
1accb30408 The PrintSetupTooltip was catching events while invisible on the top left of the screen. This was causing the menubar not to be clickable.
I've disabled PrintSetupTooltip when not visible so that it does not catch events.

CURA-9232
2022-05-02 11:35:32 +02:00
Casper Lamboo
f33aaa529b
Merge pull request #12007 from Ultimaker/CURA-9214_export_profile_doesnt_work
[CURA-9214] Can't export profiles, also fixes exporting materials
2022-04-29 10:37:50 +02:00
Casper Lamboo
784cd2c99b
Apply suggestions from code review 2022-04-29 10:30:11 +02:00
Joey de l'Arago
d12703289b
Merge pull request #11906 from fieldOfView/fix_single_copy_multiply
[5.0b1] Fix creating a single copy of a model
2022-04-29 08:14:03 +01:00
Jaime van Kessel
6b9cc3f1c7 Use the correct function parameters when removing objects in menu
It turns out that the order of these functions matters. So when we created a
function with only one param, it would actually give it the index. Removing
with the index didn't work, so the object would still be there. The Qt objects
would already be deleted which caused segfaults

CURA-9222
2022-04-28 17:03:41 +02:00
j.delarago
8bb1b0bee8 selectedNameFilter is now an object instead of a string. The nameFilter has to be manually pulled out using the index in selectedNameFilter.
If only one filter is supplied to nameFilters, the index will always be -1. I assume this is because we are not selecting the file type in the Dialog, it just defaults to the only item.

This code should still work if the behaviour is changed in the future.

FileDialog now uses currentFolder instead of folder.

CURA-9214
2022-04-28 14:29:44 +02:00
Jaime van Kessel
2ecec1fa37 Prevent last line of popup to be cut off
We didn't take the y offset into account

CURA-9112
2022-04-28 13:23:41 +02:00
Jaime van Kessel
c4ec9142db Merge branch 'fix_missing_icons' of https://github.com/fieldOfView/Cura into 5.0 2022-04-26 15:55:10 +02:00
Jaime van Kessel
a57c358a04
Merge pull request #11979 from Ultimaker/CURA-9203_infill_percentages_not_lining_up
[CURA-9203] Infill selector misaligned
2022-04-26 15:36:20 +02:00
Jaime van Kessel
15d1ded365 Change selectedTextColor for textfield
CURA-9199
2022-04-26 15:11:19 +02:00
j.delarago
049ab09119 I've changed the dot radius so they are circles again.
I've simplified the dot spacing logic a bit.

For some reason the background does not line up perfectly with the slider. So when it is set to 0 there is still a slight offset on the slider handle.

CURA-9203
2022-04-26 14:59:24 +02:00
Jaime van Kessel
3ecad03aee Use screenscale factor for maximumFlickVelocity
Not sure if it fixes it for all OSes, but the documentation says that this
is a platform specific setting and it increases it by 1.25 for me. Since
the velocity is in pixels/s, it makes sense to have it depend on the screenscale
factor

CURA-9182
2022-04-26 13:21:36 +02:00
j.delarago
45642486fa Fix popup going off the bottom of the screen by having popup push up instead of down when they are below halfway down the list.
CURA-9185
2022-04-26 12:02:43 +02:00
Jaime van Kessel
0213a3833c Fix the tooltip not re-sizing
I'm not entirely sure if this fixes it on windows, but it does at least fix things on Linux.

There are a few important changes to note here:
1. Increased the time of the fade timer to 200ms
2. Removed the mousearea, instead using the hover of scrollview

So why are these important? Nr 1 seems to be because updates seem to be faster? If I set it to 100
I could get it to work reasonably well on qt5, but in qt6, it's about 50% of the times that i'm too slow.
So we need the extra time.

As for the mouse area, it seems that the scrollview was eating up all the hover / containsMouse events.
As scrollview has the same properties that we need, we can just get rid of the mouseArea

CURA-9112
2022-04-26 10:50:29 +02:00
Ghostkeeper
6ce6412580
Update list of projects that can be updated without string freeze break
Just this one, I'm afraid.

Contributes to issue CURA-9121.
2022-04-25 11:14:13 +02:00
fieldOfView
fcad2101f4 Fix creating a single copy of a model
Fixes #11897
2022-04-23 10:50:27 +02:00
fieldOfView
b622738ae3 Fix missing icons since move to PyQt6 2022-04-22 22:33:14 +02:00
j.delarago
e5c2f5702c Subtract previously unused rightMargin from MachineSelectorButton width.
CURA-9143
2022-04-21 15:04:52 +02:00
Ghostkeeper
9389a6f4e8
Merge branch 'CURA-9146_account_sync' into 5.0 2022-04-21 14:04:27 +02:00
Remco Burema
38d62b73c5 Mostly? fix scrollbars in settings-tooltips.
CURA-9112
2022-04-21 14:02:29 +02:00
Ghostkeeper
1e7cf21f46
Merge branch '5.0' into CURA-9146_account_sync 2022-04-21 13:18:49 +02:00
Jaime van Kessel
8383983ff4 Merge branch 'CURA-9070_dont_lose_focus_search_field' of github.com:Ultimaker/Cura into 5.0 2022-04-21 13:11:50 +02:00
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