28174 Commits

Author SHA1 Message Date
Ghostkeeper
d87551ac9c
Use Controls2 ListView instead of Controls1 ScrollView to scroll
Just a listview with a specialised scroll bar.

Contributes to issue CURA-8686.
2022-01-18 17:01:16 +01:00
Remco Burema
08f49d6ede Incompletely translated languages now selectable.
Was deemed OK to do this by UX. Since some of these are _very_ incomplete, a heading was added to the combobox to indicate where the incomplete languages start, so the user isn't confused when +- 90% is still in English.

CURA-8899
2022-01-18 16:50:50 +01:00
Ghostkeeper
ca3f29daf7
Use ListView for settings list in post-processing scripts
With the customised scroll bar.

Contributes to issue CURA-8686.
2022-01-18 15:14:29 +01:00
Ghostkeeper
954a3cb1db
Replace ScrollView by ListView in settings picking dialogue
The ScrollView is no longer necessary in Controls2. Just have a ListView with customised scrollbar.

Contributes to issue CURA-8686.
2022-01-18 14:54:36 +01:00
Ghostkeeper
f630b84788
Replace ScrollView with QtControls2 ListView
I can't update the buttons (not part of this ticket) so I kept those Controls1.
The ScrollView is no longer necessary, just a ListView now with customised scroll bar.

Contributes to issue CURA-8686.
2022-01-18 14:53:25 +01:00
Jelle Spijker
74829f5642
Merge pull request #11196 from Ultimaker/CURA-8592_python_3.10
Upgrade to Python 3.10
2022-01-18 12:26:45 +01:00
Ghostkeeper
d4381a6dd0
Get rid of double scrollbar due to flickable in scrollview
The tutorials say it should work, but it doesn't. Now we make the whole thing a flickable with an attached textarea property, which does seem to work.

Contributes to issue CURA-8686.
2022-01-17 19:21:14 +01:00
Ghostkeeper
7f0af55d1d
Fix top and bottom margins
These were undefined properties otherwise.

Contributes to issue CURA-8686.
2022-01-17 17:59:45 +01:00
Ghostkeeper
7bda1336da
Use new scrollbar with QtControls 2 scroll view
A bit confusing that you have to set the parent and position manually, but okay.

Contributes to issue CURA-8686.
2022-01-17 17:57:22 +01:00
Ghostkeeper
10303c10f9
Use new ScrollBar with controls 2
Contributes to issue CURA-8686.
2022-01-17 17:15:23 +01:00
Ghostkeeper
70a79c9b5c
Use custom scroll bar for settings list
This is necessary to get the same design working in Controls 2.

Contributes to issue CURA-8686.
2022-01-17 17:14:31 +01:00
Jaime van Kessel
288aeec2db Disable menuItems if they aren't visible
This prevents the shortcuts from breaking
2022-01-17 15:32:27 +01:00
Jaime van Kessel
901f6c4b63 Fix ctrl+shift+s shortcut 2022-01-17 15:06:32 +01:00
Jaime van Kessel
3e4c171603 Simplify the OpenFilesMenu
CURA-8683
2022-01-17 11:09:42 +01:00
Jaime van Kessel
0501b71e13 Also accept original casing to match with ID for material profile
This fixes an issue reported by Essentium. They used capitals in their
id, so it could never match that with a material profile
2022-01-17 10:53:52 +01:00
NilsRo
26a444214b Update anycubic_i3_mega_s.def.json
No initial print temperature neccessary
2022-01-16 11:51:57 +01:00
NilsRo
8100c96f67 Update anycubic_i3_mega_x.def.json
deleted tabs
2022-01-16 11:35:54 +01:00
NilsRo
8cd317ecd6 Merge remote-tracking branch 'upstream/master' 2022-01-16 11:23:39 +01:00
NilsRo
bf2fec6f61 Update anycubic_i3_mega_s.def.json
Added Comment
2022-01-16 08:44:36 +01:00
Ghostkeeper
348abad6eb
Fix maximumWidth properties on ActionButtons
Turns out this wasn't really functional. We didn't use it. Now we use it for the MessageStack.

Contributes to issue CURA-8682.
2022-01-14 19:43:44 +01:00
Ghostkeeper
b5e7a60a8a
Fix scaling of language and theme drop-downs with width
The width was unknown because it's all in a scrollview that could have an infinite width. I now fixed it to scale with the viewport's width.

Contributes to issue CURA-8682.
2022-01-14 19:43:43 +01:00
Jaime van Kessel
d7d6918ab7 Use CuraMenu so that custom styling is used
CURA-8683
2022-01-14 15:01:48 +01:00
Jaime van Kessel
4db8878317 Fix ordering of material menu selection
CURA-8683
2022-01-14 14:33:46 +01:00
Jaime van Kessel
babf3043f8 Use Cura.Menu instead of UM.Menu
Same as the previous commit. Use the specialised variant provided by Cura instead
of the generic one of UM

CURA-8683
2022-01-14 13:50:44 +01:00
Jaime van Kessel
3130ea0f74 Use Cura.MenuItem instead of UM.MenuItem
I didn't realise that Cura already had a menu item. To prevent
Confusion, i've changed Cura.MenuItem to use UM.MenuItem and let all
other menus use Cura.MenuItem
2022-01-14 13:46:05 +01:00
Jaime van Kessel
bab9311284 Fix opening of marketplace button
CURA-8684
2022-01-14 13:14:15 +01:00
Jaime van Kessel
38e20fd90b Fix menuItem not hiding correctly
CURA-8693
2022-01-14 13:09:59 +01:00
Jaime van Kessel
b614cabae6 Put back import 2022-01-14 13:05:07 +01:00
Casper Lamboo
404e02d585
Merge pull request #11251 from Ultimaker/CURA-8868_raft_interface_extruder
Raft Extruders
2022-01-14 09:11:07 +01:00
Casper Lamboo
41f1029dc0
Use updated python type notation 2022-01-14 09:07:41 +01:00
Casper Lamboo
732aefedbb
Change label to "Raft Top Extruder"
To be consistent with Cura's terminology
2022-01-14 09:05:18 +01:00
Ghostkeeper
73a151ab49
Put focus on search bar when Digital Library opens
Fixes CURA-8768.
2022-01-13 13:55:42 +01:00
Ghostkeeper
69d3f0e6f6
Add missing default_value and settable_per_mesh
Default_value is a required property. Maybe we should have a test for this.

Done as a 5 minute fix. Fixes Ultimaker/CuraEngine#1549.
2022-01-13 12:02:59 +01:00
Jaime van Kessel
313c10801d Codestyle fixes 2022-01-13 09:23:13 +01:00
Jaime van Kessel
13af43b76c Fix context menu visibility for settingview
CURA-8683
2022-01-13 09:19:47 +01:00
Jaime van Kessel
97bf50d56c
Merge pull request #11236 from Ultimaker/CURA-8683_replace_controls_windows_and_menus
Switch out the file, view and edit menu for controls 2
2022-01-13 09:08:37 +01:00
Jaime van Kessel
94c006009b Remove debug code
CURA-8683
2022-01-13 09:06:22 +01:00
杜建树
ddcfd9413a change definition names 2022-01-13 12:01:26 +08:00
Ghostkeeper
f4bcf9d89e
Add more settings for test of build volume limits
These new settings are necessary or the test will get exceptions that these settings don't exist.

Contributes to issue CURA-8868.
2022-01-12 17:55:33 +01:00
Jaime van Kessel
bf65f77310 Merge branch 'CURA-8683_replace_controls_windows_and_menus' of github.com:Ultimaker/Cura into CURA-8683_replace_controls_windows_and_menus 2022-01-12 16:01:19 +01:00
Jaime van Kessel
94c71704db Add clarifying comment about why something is added at index 5>
CURA-8683
2022-01-12 16:00:32 +01:00
Jaime van Kessel
f44d4d341f
Apply suggestions from code review
Minor codestyle issues

CURA-8683

Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2022-01-12 15:57:20 +01:00
Ghostkeeper
403d92a760
Fix getting used and starting extruders with new adhesion extruder settings
Getting more involved than I thought. But it's not complex yet.

Contributes to issue CURA-8868.
2022-01-12 14:29:01 +01:00
Ghostkeeper
a363bda25e
Add raft top extruder to expert settings
You could want to change that if you're an expert. The skirt/brim extruder is really only relevant for the prime tower brim if you're using a raft. If not using a raft, setting the adhesion extruder is equivalent.

Contributes to issue CURA-8868.
2022-01-12 14:12:06 +01:00
Ghostkeeper
304f57293d
Adjust build volume depending on new adhesion extruder sub-settings
It should get these settings from the correct extruders even if they are different from one another.

Contributes to issue CURA-8868.
2022-01-12 14:09:57 +01:00
Ghostkeeper
262a005e54
Get extruder values from appropriate sub-adhesion-extruder
The adhesion extruder is now split up into multiple sub-settings. Where applicable to the brim or skirt, get it from the skirt/brim extruder. Where applicable to a specific part of the raft, get it from that part's extruder. Where applicable to the whole raft, get it from the adhesion extruder.

Contributes to issue CURA-8868.
2022-01-12 13:52:47 +01:00
Ghostkeeper
824c9fd837
Add new raft extruder settings
We want to be able to print the layers of the raft with different extruders. To this end, we'll make sub-settings of the adhesion extruder that allow setting the extruder for each part of the raft differently from the rest.

Contributes to issue CURA-8868.
2022-01-12 13:43:10 +01:00
Remco Burema
a1622c77ea
Merge pull request #11246 from gferon/patch-1
Remove unused import of sentry_sdk
2022-01-12 09:25:36 +01:00
AnnaKang0219
e39601e0ba remove setting
remove retraction_prime_speed = =retraction_speed in all profiles.
2022-01-12 15:23:24 +08:00
杜建树
4dee92f04c change the definition file names to be lowercase with underscores 2022-01-12 11:14:14 +08:00