34 Commits

Author SHA1 Message Date
jspijker
e532e13e06 Set height and of the material brand menuitem explicitly
Contributes to CURA-9522
2023-01-05 13:41:26 +01:00
Joey de l'Arago
bf30e69f08 Change default implicitX for MaterialBrandSubMenu.
CURA-9522
2023-01-02 10:21:43 +01:00
Joey de l'Arago
8c4276946d Fix double lining between popups
CURA-9522
2022-12-29 13:06:49 +01:00
Remco Burema
634288a37c Fix spelling mistakes.
part of CURA-9522
2022-12-27 12:09:47 +01:00
c.lamboo
e490250d9d Clean up code
Create separate re-usable component for `MaterialBrandSubMenu`

CURA-9522
2022-12-23 19:40:27 +01:00
c.lamboo
20fdf22e35 Show bottom border of material brands
CURA-9522
2022-12-23 16:18:55 +01:00
c.lamboo
ab49dcceb5 Show bottom border of material brands
CURA-9522
2022-12-23 16:18:54 +01:00
c.lamboo
0ecfdd063d Show bottom border of material brands
CURA-9522
2022-12-23 16:12:25 +01:00
c.lamboo
5a8bf7f37b Fix material colors not showing up
CURA-9522
2022-12-23 16:11:06 +01:00
c.lamboo
92e6d5007f Remove unused property
CURA-9793
2022-12-23 14:21:12 +01:00
Casper Lamboo
15761b6c59
Code style
CURA-9522
2022-12-23 13:51:32 +01:00
Joey de l'Arago
e0a091e768 Add scrollview to nested material list
CURA-6867
2022-12-20 18:06:40 +01:00
Joey de l'Arago
d4679515b6 Add scrollview to material list
CURA-6867
2022-12-20 17:45:28 +01:00
Joey de l'Arago
7174861bba Move popups back on screen after opening them.
CURA-6867
2022-12-20 15:26:46 +01:00
Joey de l'Arago
4f4d2431fa The third nested popup will now always try to stay withen the vertical space of the root materials popup.
See CURA-9522 for diagrams and more information.

CURA-9522
2022-12-08 16:18:58 +01:00
Joey de l'Arago
4e8e5c2bf0 Merge remote-tracking branch 'origin/CURA-9622_unable_to_scroll_long_materials_list' into CURA-9622_unable_to_scroll_long_materials_list 2022-12-06 15:37:21 +01:00
Joey de l'Arago
3dff780215 Adjust location of popups so they align with their parent popup.
CURA-9793
2022-12-06 15:36:55 +01:00
Joey de l'Arago
e5baa6e2bf
Update resources/qml/Menus/MaterialBrandMenu.qml
Co-authored-by: Jelle Spijker <j.spijker@ultimaker.com>
2022-12-06 15:18:32 +01:00
Joey de l'Arago
d2ff62485d Fix popups not maxing height at top of parent
CURA-9793
2022-12-05 16:18:03 +01:00
Joey de l'Arago
7185b898a3 remove comments
CURA-9793
2022-12-05 15:44:27 +01:00
Joey de l'Arago
bfb2b044bb nested popups will always try to take up the same vertical area as it's parent. If the popup is small than it's parent it won't go below or above the parent. If it is longer than the parent, the bottom will extend past the parent.
CURA-9793
2022-12-05 15:43:05 +01: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
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
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
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
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