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,588
Karma: 2089838
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
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: 239
Karma: 1280000
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,588
Karma: 2089838
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
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: 239
Karma: 1280000
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.
 
JimmXinu's Avatar
 
Posts: 6,262
Karma: 3675895
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
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, 507 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: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, 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: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
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 offline   Reply With Quote
Old 05-31-2016, 09:09 AM   #53
Joanna
Groupie
Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.
 
Posts: 199
Karma: 76476
Join Date: Feb 2012
Location: Poland
Device: none
I know the plugin is probably not being actively developed anymore but just two ideas that would be great in my opinion (if anyone feels like implementing them):

- creating subfolders in the menu (very practical for heavy plugin users with very long menus)

- renaming options in submenus (if you add a submenu to Favorites, you can rename it but not its options. The options can be renamed only if added as separate Favorites menu items).
Joanna is offline   Reply With Quote
Old 12-03-2016, 08:16 AM   #54
Katja_hbg
Groupie
Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.
 
Posts: 166
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
I am not sure whether this is due to favourite plug-in or the mark-items function but there is a missing refresh.
The number of marked items is shown proper in the context menu of a book also in favourite when the whole menu tree is used (attached screen, see middle).
But it is wrong and also disabled after a change when the menu item is added from sub-menu (same screenshot, see right).

OK the screen is German but icons and numbers are international ;-)

Would be nice to get this fixed as all that features are so helpful for managing books.
Attached Thumbnails
Click image for larger version

Name:	2016-12-03 13_59_58-calibre - __ Calibre Bibliothek __.jpg
Views:	510
Size:	57.1 KB
ID:	153392  
Katja_hbg is offline   Reply With Quote
Old 12-07-2016, 06:30 PM   #55
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,415
Karma: 25894272
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Katja_hbg View Post
I am not sure whether this is due to favourite plug-in or the mark-items function but there is a missing refresh.
The number of marked items is shown proper in the context menu of a book also in favourite when the whole menu tree is used (attached screen, see middle).
But it is wrong and also disabled after a change when the menu item is added from sub-menu (same screenshot, see right).

OK the screen is German but icons and numbers are international ;-)

Would be nice to get this fixed as all that features are so helpful for managing books.
Katja_hbg - I wonder how many people include both an individual menu item, and the full menu for the same tool in the Favourites plugin. Not many I would guess - especially not menu items that include a computed variable, such as Mark Books->Show marked books, I can only think of one similar case the Reading List->View submenu items.

The developer of this plugin is no longer active, the active plugin developers may not be very interested in investigating what could be done to address this 'corner case' issue.

However, if you want to see at a glance how many books are marked, a better solution might be to have the top level menu item (Mark Books) show that number. That would require a change to the Mark Books tool - you could request an enhancement at Bugs : calibre. I imagine quite a few calibre users would get value from it.

BR

Last edited by BetterRed; 12-07-2016 at 07:47 PM.
BetterRed is online now   Reply With Quote
Old 12-07-2016, 06:52 PM   #56
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,415
Karma: 25894272
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Joanna View Post
I know the plugin is probably not being actively developed anymore but ...

- creating subfolders in the menu (very practical for heavy plugin users with very long menus)


I actually dropped by to make a similar request to this one from Joanna. Looking for somewhere to stash my collection of scalpels and forceps.

@Joanna - an option to create sub menus (flyout folders) in calibre's context menu's would also suit me (maybe even better). What say you?

BR
BetterRed is online now   Reply With Quote
Old 12-08-2016, 01:34 AM   #57
Katja_hbg
Groupie
Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.
 
Posts: 166
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
©betterred

I do not «both an individual menu item, and the full menu».
This is only for the screen as a picture describe it better than only words.
Katja_hbg is offline   Reply With Quote
Old 12-08-2016, 02:19 AM   #58
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,415
Karma: 25894272
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Katja_hbg View Post
©betterred

I do not «both an individual menu item, and the full menu».
This is only for the screen as a picture describe it better than only words.
@Katja_hbg - so, I wonder how many people have an individual menu item that includes a computed variable on their Favourites list, such as Mark Books->Show marked books, I can only think of one similar case the Reading List->View submenu items.

My emphasis highlights the underlying issue, but the rest of what I said before remains the same.

Quote:
Originally Posted by BetterRed View Post
The developer of this plugin is no longer active, the active plugin developers may not be very interested in investigating what could be done to address this 'corner case' issue.

However, if you want to see at a glance how many books are marked, a better solution might be to have the top level menu item (Mark Books) show that number. That would require a change to the Mark Books tool - you could request an enhancement at Bugs : calibre. I imagine quite a few calibre users would get value from it.
The Mark Books feature was added to calibre long after this plugin last had any functional maintenance done on it, and after its developer became inactive. It's a generic problem with 3rd party plugins/extensions; there are dozens of Photshop plugins and Firefox extensions that no longer work - hundreds even.

BR
BetterRed is online now   Reply With Quote
Old 12-19-2019, 06:38 PM   #59
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.
 
JimmXinu's Avatar
 
Posts: 6,262
Karma: 3675895
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version

As you may have heard, Calibre on Python3 betas are now available.

Which means plugins need to start being transitioned to Python3 also.

Attached is a (hopefully) Python3 compatible update to this plugin.

2019-12-19

- Changes for Python3.

Please let me know if this version works for you or not, especially on the Py3 beta.

Last edited by BetterRed; 01-15-2020 at 03:23 PM. Reason: beta zip moved to first post
JimmXinu is offline   Reply With Quote
Old 01-07-2020, 03:33 PM   #60
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,511
Karma: 126422064
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by JimmXinu View Post
New Test Version

As you may have heard, Calibre on Python3 betas are now available.

Which means plugins need to start being transitioned to Python3 also.

Attached is a (hopefully) Python3 compatible update to this plugin.

2019-12-19

- Changes for Python3.

Please let me know if this version works for you or not, especially on the Py3 beta.
I cannot speak about the Py3 part, but the test version is working on 4.8.
JSWolf 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] Open With kiwidude Plugins 402 03-16-2024 11:44 PM
[GUI Plugin] EpubMerge JimmXinu Plugins 521 02-11-2024 06:07 PM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 492 10-25-2022 08:13 AM
[GUI Plugin] FanFictionDownLoader JimmXinu Plugins 3985 05-08-2015 11:18 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 04:49 AM.


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