/FreeCAD-Stylesheet-Reloading-Macro

A macro that reloads the currently used stylesheet in FreeCAD. The aim is to speed up FreeCAD theme (stylesheet) development

StylesheetRefresh

Whilst playing around with .qss files to see what can be done with stylesheets in FreeCAD I kept doing this:

flowchart  LR
A1[Edit]-->B1[Preferences]-->C1[Select different\n stylesheet]-->D1[Apply]-->E1[Reselect previous\n stylesheet]-->F1[Apply]-->G1[Close preferences\n window]
Loading

Which gets old really fast so I figured there should be a better way, I couldn't find one but I could and did write one, which is what this macro is. Instead of all those clicks, install the macro and just hit the button below and it should instantly reload the currently used stylesheet. Refresh stylesheet button

License

The macro as well as the icon are Copyleft, consider them "No rights reserved - Creative Commons CC0" licensed. Do with it as you please :)