28353 Commits

Author SHA1 Message Date
j.delarago
c54c375a7c Update check box icons name to new icon name
Change checkbox check icon to have set height and width in theme.json. Math.round(parent.width/2.5) would always evaluate to 1 since the width of the check icons parent is fixed.
2022-01-19 17:56:56 +01:00
Ghostkeeper
796779316f
Fix scrolling through post-processing scripts list
It turns out this has been broken for a while. I don't think anyone adds that many scripts that they'd need to scroll this, but if they want to they can now.

Contributes to issue CURA-8686.
2022-01-19 17:33:10 +01:00
Ghostkeeper
efc748cc99
Remove unused ScrollView widget
We were not using Cura.ScrollView anywhere.

Contributes to issue CURA-8686.
2022-01-19 17:16:39 +01:00
Ghostkeeper
f1db69a36a
Remove extra ScrollView and customise ListView instead
Contributes to issue CURA-8686.
2022-01-19 17:14:30 +01:00
Ghostkeeper
5b76cf5689
Merge branch 'replace_controls_1_for_controls_2' into CURA-8686_views_controls2 2022-01-19 16:37:24 +01:00
Ghostkeeper
8f87b7c4bb
Merge branch 'master' into replace_controls_1_for_controls_2 2022-01-19 16:37:08 +01:00
Ghostkeeper
6e81dba501
Add cura-camera-position plug-in to commonly installed plug-ins
I've had it on for a while to make sure we keep maintaining it.
2022-01-19 16:36:33 +01:00
Ghostkeeper
e7671823be
Add new resources from cura-binary-data to Gitignore
We shouldn't add these here any more. Add them to cura-binary-data instead.
2022-01-19 16:35:49 +01:00
Ghostkeeper
26b40e6669
Remove what's new images again
These have been moved to cura-binary-data.
2022-01-19 16:34:14 +01:00
Ghostkeeper
9124f213ea
Prevent QML errors when model is not yet initialised
I'm not sure when this happens, but it updates this text twice: Once with 'undefined' name and once with the proper name. For the user it displays the name correctly, but it may be so fast that nothing was visible.

Discovered during work on CURA-8686.
2022-01-19 16:31:36 +01:00
Ghostkeeper
fa2fbb99c7
Fix height and scrolling of add printer menus
This fixes the irritating scrolling behaviour of the local printer menu, as well as the disappearing items (former issue which had a workaround) and makes it use a styled scroll bar.

Contributes to issue CURA-8686.
2022-01-19 16:26:48 +01:00
Ghostkeeper
f94b7ce753
Replace ScrollView+Column+Repeater by ListView with correct scrollbar
Much simpler. And looks more consistent too.

Contributes to issue CURA-8686.
2022-01-19 14:59:48 +01:00
Ghostkeeper
5041162a99
Use custom scroll bar for qualities+intents menu
Contributes to issue CURA-8686.
2022-01-19 14:47:55 +01:00
Ghostkeeper
c57126fb00
Use re-useable scrollbar and remove ScrollView
The machine selector has the scroll view inside of the listview. It just needs to use our new scrollbar element instead of the default.

Contributes to issue CURA-8686.
2022-01-19 14:32:12 +01:00
Ghostkeeper
7e1b92953c
Update ScrollView to Controls 2 and customise with scrollbar
Contributes to issue CURA-8686.
2022-01-19 14:14:03 +01:00
Ghostkeeper
509c9068eb
Convert all ScrollViews to Controls2
This was a bit of a doozy. One was really simple but the other one had me stumped for a while: The Controls2 version doesn't have the viewport property any more, so just use the width.

Contributes to issue CURA-8686.
2022-01-19 13:48:21 +01:00
j.delarago
cac27770ce Add new design checkbox svg icons. 2022-01-19 10:46:31 +01:00
Ghostkeeper
4d9039288b
Use new ScrollBar for material sync dialogue
Contributes to issue CURA-8686.
2022-01-18 19:10:06 +01:00
Ghostkeeper
52f5b91621
Upgrade material list ScrollView to Controls2
Took some effort. This was a weird one. I had to manually set the contentHeight to the height of the contents. Perhaps the ScrollBar itself was messing with it?

Contributes to issue CURA-8686.
2022-01-18 19:01:22 +01:00
Ghostkeeper
bb32f25b49
Replace old ScrollView with new ListView
I also swapped out the old NewControls import to just be the actual Controls, and used OldControls to import the Controls1 module. This is consistent with the rest of the code base as far as I could find.

Contributes to issue CURA-8686.
2022-01-18 18:43:27 +01:00
Ghostkeeper
4614b3a9e1
Use new ListView instead of ScrollView, with correct scrollbar
I also fixed an undefined reference for whether a button needed to be enabled, if no profile was selected yet. The button was invisible if it was undefined, but it was still giving QML warnings.

Contributes to issue CURA-8686.
2022-01-18 18:37:34 +01:00
Ghostkeeper
7a1578cbc4
Re-use component scrollbar from Uranium
It's a new component so that we don't have to re-implement it everywhere. In this case we do have to anchor it correctly though because ScrollView doesn't do that by itself.

Contributes to issue CURA-8686.
2022-01-18 18:22:49 +01:00
Ghostkeeper
ae81b5e3e7
Fix flickable with custom scrollbar
A bit of a hassle with the scrollbar overlapping the background here.

Contributes to issue CURA-8686.
2022-01-18 18:13:13 +01:00
Ghostkeeper
1cc3aecd8c
Use correct scrollbar and clip contents
We've not been clipping this for so long, but the text really does overlap with the label and the buttons if we don't (and the text is sufficiently large).

Contributes to issue CURA-8686.
2022-01-18 17:56:31 +01:00
Ghostkeeper
c605b45b7c
Use styled scroll bar, and no ScrollView
Make sure the text aligns next to the scrollbar instead of behind it, too.

Contributes to issue CURA-8686.
2022-01-18 17:51:37 +01:00
Ghostkeeper
85d0749f5f
Use Controls2 ListView instead of ScrollView for print job list
No need for a ScrollView in Controls 2. And specialise the scroll bar.
Be sure to also align the right side of the contents with the scroll bar though.

Contributes to issue CURA-8686.
2022-01-18 17:27:51 +01:00
Ghostkeeper
f808f5f545
Merge branch 'replace_controls_1_for_controls_2' into CURA-8686_views_controls2 2022-01-18 17:20:37 +01:00
Ghostkeeper
dbb2bce157
Fix icon name with Controls 2 action
The text above this icon name got changed in master, which led to a minor merge conflict here that wasn't discovered.
2022-01-18 17:19:52 +01:00
Ghostkeeper
e0a6cb3383
Merge branch 'master' into replace_controls_1_for_controls_2
Conflicts:
	resources/qml/Actions.qml -> Translation fixes on master, while the QML elements were changed here for Controls2.
2022-01-18 17:17:10 +01:00
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