Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 11-05-2012, 09:50 AM   #46
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
v1.0.3 Released

Changes in this plugin:
  • Ensure submenus for plugins can have their states updated by emitting the aboutToShow signal for every plugin that has an associated .menu set for it

The impact for users is that plugins which relied on updating their menu items every time they were opened should now get the same behaviour when placed as a Favourites Menu item. So for instance Quick Preferences will now correctly display the current state of its items.

Other plugin developers can refer to the additional notes I placed on the first post about this. But for the most part you shouldn't need to do anything at all...
kiwidude is offline   Reply With Quote
Old 01-28-2013, 09:05 PM   #47
derangedhermit
Addict
derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.
 
Posts: 233
Karma: 1262174
Join Date: Oct 2010
Location: USA
Device: None
Can I use this plugin to replace the main Calibre menu? I would need to:
- Run multiple instances of the plugin
- Rename each one
- Use different icons for each one
- Have different menu items under each one
- Probably some more stuff

Or is there an easier way to rebuild the main menu?
derangedhermit is offline   Reply With Quote
Old 03-03-2013, 09:25 PM   #48
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Just answering this for any future users that wander in assuming the OP has given up hope of an answer by now...
Quote:
Originally Posted by derangedhermit View Post
Can I use this plugin to replace the main Calibre menu? I would need to:
- Run multiple instances of the plugin
- Rename each one
- Use different icons for each one
- Have different menu items under each one
- Probably some more stuff
Can't be done without a lot of code hacking. You can only have one instance of a plugin. You would need to make multiple copies of the plugin, give each different names, then do a whole bunch of edits on the code within each to make their internal names unique, point them at unique configuration areas, different images, different top level menu names etc. And then do it all over again whenever I push a new version of the plugin...

As for other options for rebuilding the main menu, all you can really do without hacking the calibre source code is juggle which buttons you want to appear in Preferences -> Toolbar, and change their images. You can't change their text names or the options that appear underneath without serious source code changing however.
kiwidude is offline   Reply With Quote
Old 03-10-2013, 09:05 PM   #49
derangedhermit
Addict
derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.derangedhermit ought to be getting tired of karma fortunes by now.
 
Posts: 233
Karma: 1262174
Join Date: Oct 2010
Location: USA
Device: None
Quote:
Originally Posted by kiwidude View Post
Just answering this for any future users that wander in assuming the OP has given up hope of an answer by now...
Life has taught me it is not healthy to give up hope so easily. Thanks for the answer.
derangedhermit is offline   Reply With Quote
Old 07-08-2014, 09:28 PM   #50
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
Posts: 1,649
Karma: 463137
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
FYI, I am not kiwidude and this isn't my plugin. But I'm trying to help out by porting some of the plugins I use regularly while kiwidude is busy.

Attached is a test version that should work for both the existing 1.X calibre and the upcoming 2.X version calibre. 2.x will use PyQt5 which requires changes to virtually all plugins.

This version needs to be tested with the existing calibre.

Brave souls to test with with the beta 2.X version would also be appreciated. Links to the 2.X beta and discussion of the transition (for plugins) can be see at: Attn plugin developers: calibre moving to Qt 5.
Attached Files
File Type: zip Favourites Menu-qt5.zip (22.1 KB, 23 views)
JimmXinu is offline   Reply With Quote
Old 07-09-2014, 12:30 AM   #51
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,811
Karma: 12535517
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by JimmXinu View Post
This version needs to be tested with the existing calibre.

Brave souls to test with with the beta 2.X version would also be appreciated. Links to the 2.X beta and discussion of the transition (for plugins) can be see at: Attn plugin developers: calibre moving to Qt 5.
I'm currently running calibre 1.42 32bit on a Windows 7 64 machine. I installed this test plugin. But I'm not sure how to tell for sure if it installed over the previous plugin. I added and removed items to my favourites menu. I launched items from my menu. Everything seems to working fine.

Also, thanks for doing this. I just looked and 21 of the plugins I have installed were created by Kiwidude.

Last edited by DoctorOhh; 07-09-2014 at 12:34 AM.
DoctorOhh is offline   Reply With Quote
Old 07-09-2014, 01:40 AM   #52
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,325
Karma: 4990000
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by DoctorOhh View Post
Also, thanks for doing this. I just looked and 21 of the plugins I have installed were created by Kiwidude.
It gets even better if you look inside the plugins. Most of us have stolen large amounts of code from him.
davidfor is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 259 Today 04:54 AM
[GUI Plugin] EpubMerge JimmXinu Plugins 178 Yesterday 06:38 PM
[GUI Plugin] FanFictionDownLoader JimmXinu Plugins 3288 08-31-2014 03:26 PM
[GUI Plugin] Open With kiwidude Plugins 228 07-31-2014 01:06 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 07:56 AM.


MobileRead.com is a privately owned, operated and funded community.