View Single Post
Old 01-20-2018, 03:08 PM   #278
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
@DiapDealer,
We could change Sigil/src/Misc/Plugin.cpp to check for and load the icon file once on initial startup and then for the appropriate Qt action related to plugins in MainWindow use the setIcon to set the plugin's icon.

We could require a 48x48 png and look in the root of the plugin folder for a file called plugin.png.

Looks doable to me. What do you think?

Or should we require a plugin.svg file and go for vector icons?
KevinH is offline   Reply With Quote