A forum for research and development of the user interface of FreeCAD
- Site Admin
- Posts: 11645
- Joined: Tue Feb 17, 2009 9:16 pm
- Location: São Paulo, Brazil
pablogil wrote: ↑
Sat Dec 07, 2019 2:49 pm
As for the "class" to the sketcher DOF text I guess you should use QObject::setObjectName() to the QLabel so that you can access later with the following stylesheet code:
Great, that's very good to know.
However it only works for a single widget. Most of the problems we have is with modes or events INSIDE widgets. Ex: line highlight... For these, I think the only way is via FreeCAD preferences...
- Posts: 9136
- Joined: Mon Dec 12, 2011 4:45 pm
I created a PR
that should improve the situation on dark themes and shouldn't affect light themes all that much.
P.S. Stylesheet support would likely be achievable by introducting a combination of a button (widget) as a placeholder for the link and by setting dynamic properties.
Who is online
Users browsing this forum: Bing [Bot] and 3 guests