View Single Post
Old 08-27-2025, 05:23 PM   #51
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,236
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Comfy.n View Post
Noted, thanks @thiago.eec

edit to add: the calibre plugins use various methods to set the icon. IIRC, I have to read their path from the files in the zip...(sometimes their path is set on init py, other times it's in files like main.py) I chose to add special cases to hardcode their path, as with Author Book Count, Diaps Editing etc. (I just saw that Overdrive Libby will also be one of those cases)
I might be wrong, but I think you need to look for 'qaction.setIcon' (wherever that might be).
EDIT: There are other ways.

Last edited by thiago.eec; 08-28-2025 at 05:46 AM.
thiago.eec is offline   Reply With Quote