Inspect widgets in FreeCAD
This addon will expose the qss path to elements in the Qt interface. This helps stylesheet creators find the right selectors to modify in stylesheets in order to customize the UI.
A request was made in the FreeCAD community to have a sort of Chrome dev tools but for Qt. This addon was created in response.
- Open a terminal
cd ~/.FreeCAD/Mod git clone https://github.com/hyarion/FreeCAD_InspectWidgets
- Restart FreeCAD
- Activate via
View > Panels > Inspect Widgets
- Make sure
View > Panels > Inspect Widgets
is activated - An 'Inspect Widgets' panel will be visible in the task panel.
- Press
Inspect
button Result: the qss path will be dynamically update under the panel everytime the mouse hovers over an aspect of the interface