[09/04/22][LinkStage3][UI] VertUI / Midnight UI

Report observations made with the new Toponaming branch.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: [25/03/21][LinkStage3][UI] Vertical UI for large screens (4K)

Post by turn211 »

You might want to update to the my latest build of ProDark.qss Fixes abunch of bugs in later releases. Post if you find bugs. Keep up the good work!
User avatar
Petrikas
Posts: 122
Joined: Sat Dec 05, 2020 8:05 pm

Re: [25/03/21][LinkStage3][UI] Vertical UI for large screens (4K)

Post by Petrikas »

turn211 wrote: Sun Mar 28, 2021 12:45 am You might want to update to the my latest build of ProDark.qss Fixes abunch of bugs in later releases. Post if you find bugs. Keep up the good work!
Absolutely! Just waiting for the dust to settle down on your forum thread. Thanks for your work!
---

On an unrelated note, I need help figuring something out regarding QT:
I would like to make the text near the icons auto-hide, when the mouse isn't over the toolbars.
I first thought this could be done via :hover in qss, but QT won't allow changing widths dynamically through stylesheets.

Another way is to .setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon) and .setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly), which seems to work dynamically, but I was unable to understand how to extract the mouse hover event from QT.

Please help?
I sometimes make FreeCAD Tutorials | VertUI | MidnightUI
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [25/03/21][LinkStage3][UI] Vertical UI for large screens (4K)

Post by Kunda1 »

Petrikas wrote: On an unrelated note, I need help figuring something out regarding QT:
HakanSeven12 wrote: pinged by pinger macro
@HakanSeven12 do you mind weighing in?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: [25/03/21][LinkStage3][UI] Vertical UI for large screens (4K)

Post by HakanSeven12 »

Firstly you need to install an event filter for your toolbars than create an event filter function to listen to event. You can chek if event type is enter or leave and do something when state is true. Here is my event filter for qdockwidgets in ModernUI.

https://github.com/HakanSeven12/Modern- ... ck.py#L134
User avatar
Petrikas
Posts: 122
Joined: Sat Dec 05, 2020 8:05 pm

Re: [25/03/21][LinkStage3][UI] Vertical UI for large screens (4K)

Post by Petrikas »

HakanSeven12 wrote: Sun Mar 28, 2021 3:09 pm Firstly you need to install an event filter for your toolbars than create an event filter function to listen to event. You can chek if event type is enter or leave and do something when state is true. Here is my event filter for qdockwidgets in ModernUI.

https://github.com/HakanSeven12/Modern- ... ck.py#L134
You, Sir, are a genius. That totally works! Thanks!
I sometimes make FreeCAD Tutorials | VertUI | MidnightUI
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: [25/03/21][LinkStage3][UI] Vertical UI for large screens (4K)

Post by HakanSeven12 »

You are welcome ;)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [25/03/21][LinkStage3][UI] Vertical UI for large screens (4K)

Post by Kunda1 »

HakanSeven12 wrote: Sun Mar 28, 2021 5:13 pm You are welcome ;)
Much thanks for your input :+1:
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: [25/03/21][LinkStage3][UI] Vertical UI for large screens (4K)

Post by HakanSeven12 »

Kunda1 wrote: Sun Mar 28, 2021 10:14 pm Much thanks for your input :+1:
8-)
User avatar
Petrikas
Posts: 122
Joined: Sat Dec 05, 2020 8:05 pm

Re: [25/03/21][LinkStage3][UI] Vertical UI for large screens (4K)

Post by Petrikas »

While this was fun to make, it's a bit pointless, as it pushes everything to the left in a rather jarring fashion. Might be useful to uber-pros that work mainly by using shortcuts.
autohide.gif
autohide.gif (155.81 KiB) Viewed 3235 times
I sometimes make FreeCAD Tutorials | VertUI | MidnightUI
User avatar
Petrikas
Posts: 122
Joined: Sat Dec 05, 2020 8:05 pm

Re: [19/07/21][LinkStage3][UI] Vertical UI

Post by Petrikas »

[19/07/21] Revived and updated this, but dropped support for Vanilla FreeCAD.
https://forum.freecadweb.org/viewtopic.php?f=8&t=55779
I sometimes make FreeCAD Tutorials | VertUI | MidnightUI
Post Reply