How to build FreeCAD using a different Qt widget style?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
How to build FreeCAD using a different Qt widget style?
How would I build FreeCAD using 'ddark' or 'desemidark Style' ?
- Attachments
-
- QtDesigner-ddark-dsemidark-preview.png (127.13 KiB) Viewed 2057 times
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
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
Re: How to build FreeCAD using a different Qt widget style?
I think these are just stylesheets, like pablogil's ones. I think it shouldn't be necessary to recompile the entire application just to apply that style. You just need to find what you have to change in a particular style sheet in order to have those results.
https://doc.qt.io/qt-5/stylesheet.html
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
- adrianinsaval
- Veteran
- Posts: 5553
- Joined: Thu Apr 05, 2018 5:15 pm
Re: How to build FreeCAD using a different Qt widget style?
Are those not the stylesheets available in your system? Try setting that stylesheet in qt5ct or your DE's theme configuration for qt and then set FreeCAD's stylesheet to none
Re: How to build FreeCAD using a different Qt widget style?
Oh Snap!!!adrianinsaval wrote: ↑Fri Oct 04, 2019 11:27 pm Are those not the stylesheets available in your system? Try setting that stylesheet in qt5ct or your DE's theme configuration for qt and then set FreeCAD's stylesheet to none
@adrianinsaval you sir have hit the nail on the head!
I ran qt5ct and tweaked the following:
and I got this:
Edit: it's hard to see the graphical effects because the screencast framerate is very slow.
Edit2: Note this does not effect the AppImage at all. I needed to run 0.18.3 non-appimage build for the Qt5 settings to be used.
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
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
- adrianinsaval
- Veteran
- Posts: 5553
- Joined: Thu Apr 05, 2018 5:15 pm
Re: How to build FreeCAD using a different Qt widget style?
Doesn't work for me.adrianinsaval wrote: ↑Sat Oct 05, 2019 12:09 am That's strange, the 0.19 appimage uses the system's theme in my case
BTW, do you have the FC IconTheme installed ?
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
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
Re: How to build FreeCAD using a different Qt widget style?
Any idea how to tell FreeCAD to direct the local system to use qt interface amenities like animated dropdown menus and animated tooltips etc.... ?adrianinsaval wrote: ↑Fri Oct 04, 2019 11:27 pm Are those not the stylesheets available in your system? Try setting that stylesheet in qt5ct or your DE's theme configuration for qt and then set FreeCAD's stylesheet to none
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
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
- adrianinsaval
- Veteran
- Posts: 5553
- Joined: Thu Apr 05, 2018 5:15 pm
Re: How to build FreeCAD using a different Qt widget style?
It may be related to de DE? I'm using KDE.
If you mean the addon then yes, but I'm using the default icons again because some icons don't change in 0.19BTW, do you have the FC IconTheme installed ?
Sorry, no idea...