View Single Post
Old 10-25-2025, 04:55 AM   #7
myway880
Junior Member
myway880 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2025
Device: i dont have one
Quote:
Originally Posted by DiapDealer View Post
The Calibre editor certainly supports plugins. Look for the [Editor Plugin] prefix in the Plugin Thread. I've written one myself. Also: https://manual.calibre-ebook.com/cre...t-book-plugins

However... I have absolutely no feel for what the OP is asking for help with. It almost sounds like they're looking for a way to add menu items to Calibre's existing editor menus. Which I don't believe is possible (other than the plugin's own menu/submenus, of course). I certainly can't see why any plugin would be trying to add a menu item titled "Plugins" to its own gui.

I also don't see a single call to any of Calibre's plugin API functions (editor or library). All I see is a standalone PyQt6 MainWindow program. If they're trying to write their own epub editor program from the ground up, calibre is not needed.
Thank you for pointing that out
That was actually helpful. the AI simply made this code to work with pyqt without respecting the editor constrains and I did not know.

so that fixed a bug, still the bug of creating a normal shortcut in the toolbar using the shim is not solved.

but for now I'm using the menu until I figure something, I may revert to normal pyqt if I can't, but hopefully I will.

I prefer to find away to make this easier in case i need to develop other plugins in the future , i really hate GUI development
myway880 is offline   Reply With Quote