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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-27-2020, 03:08 PM   #1
wolf123
Junior Member
wolf123 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2020
Device: nook
GUI widget with checkboxes - example

Hi Guys,

I would like to add a very simple checkbox dialogue to the plugin I am writing (let the user tick some boxes, get the values and process them). Could you please point me out a plugin with similar functionality I can refer to?

Thanks!

Last edited by wolf123; 06-27-2020 at 03:09 PM. Reason: Amend title
wolf123 is offline   Reply With Quote
Old 06-27-2020, 05:12 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 8,061
Karma: 36383199
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Forma, Clara HD, Nexus 7 HD, iPad Pro, Tolino epos
Quote:
Originally Posted by wolf123 View Post
Hi Guys,

I would like to add a very simple checkbox dialogue to the plugin I am writing (let the user tick some boxes, get the values and process them). Could you please point me out a plugin with similar functionality I can refer to?

Thanks!
You might want to check the ModifyEpub plugin.
DNSB is offline   Reply With Quote
Advert
Old 06-28-2020, 12:21 AM   #3
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: 19,587
Karma: 33152421
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
How complicated do you want to go? The Modify ePub plugin is a good example of a lot of things, but, the options prompt is dynamically built from a list of options.

For examples, I'm tempted to say, "All of them". Most plugins use a checkbox either in configuration or when started. But, there are a few that don't.

I have some much simple dialogs in my Kobo Utilities plugin. Unfortunately, to see them, you need a Kobo device plugged in. If you look at it, the "Clean Image Directory" is the simplest with a simplest with a single checkbox as an options. The "Kobo eReader Font Settings" has a mix of checkboxes, dropdowns, spinbuttons and entry fields.

And, , I just found a problem with the Python 3 changes. I thought I had them all.
davidfor is offline   Reply With Quote
Old 06-28-2020, 05:48 AM   #4
chaley
Grumpy old git
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 9,204
Karma: 2901910
Join Date: Jan 2010
Location: UK
Device: Many android devices
The plugin Save Virtual Libraries to Column has a simple configuration dialog, 1 checkbox and 1 drop down selection box.
chaley is offline   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] Save Virtual Libraries To Column (GUI) chaley Plugins 9 04-11-2020 07:14 AM
Suggestions for the Widget kintrupf Calibre Companion 6 12-01-2015 12:56 PM
Where's the widget? AnitainTN Calibre Companion 4 09-26-2015 07:45 AM
Editor widget jackie_w Development 7 05-22-2014 12:56 PM
iLiad Widget style tomchek iRex Developer's Corner 5 08-02-2007 11:16 AM


All times are GMT -4. The time now is 09:54 AM.


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