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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-11-2010, 10:44 AM   #1
sciurius
Member
sciurius doesn't littersciurius doesn't litter
 
sciurius's Avatar
 
Posts: 20
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
Customizing for a touchscreen

Last year, my wife suffered a severe stroke and since that time she is almost unable to read books normally. Reading books was her biggest hobby.

After much experimenting we finally got some progress with the help of Calibre's ebook-viewer program. By carefully tweaking style sheets I can get results in terms of font, font size, line spacing, margins and so on; results that allow her to really read a real book for some 10-15 minutes, which is a great win already.

She uses a touchscreen PC (Tellus 3+ running Windows XP SP2) as a communications device and I would like to tweak the ebook-viewer a bit to make it more suitable for a touchscreen device. Note that (also due to the stroke) she is not able to click small buttons or use a stylus, and she cannot read standard dialogs. Also, the Tellus has no keyboard and no mouse.

The changes I'm considering are:
* start in full screen mode;
* show only a couple of relevant tool icons, and use bigger icons;
* add tool icons for partial page scrolling and section movement;
* add tool icon to exit.

I'm a seasoned programmer but I have no experience with python, so I kindly ask whether someone would be willing to spent a bit of time to help me accomplish this.

Thanks.
sciurius is offline   Reply With Quote
Old 10-11-2010, 11:04 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,376
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You will need to edit the file

src/calibre/gui2/viewer/main.ui using Qt Designer to change the layout and the file

src/calibre/gui2/viewer/main.py to write the logic for your new actions.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 10-13-2010, 08:30 AM   #3
sciurius
Member
sciurius doesn't littersciurius doesn't litter
 
sciurius's Avatar
 
Posts: 20
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
This is a patch against 0.7.23 implementing a command line option for ebook-viewer to start in fullscreen mode.
Feel free to incorporate it.
Attached Files
File Type: txt calibre-0.7.23-viewer-fullscreen.patch.txt (973 Bytes, 63 views)
sciurius is offline   Reply With Quote
Old 10-13-2010, 12:55 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,376
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Merged, thanks.
kovidgoyal 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
Customizing Calibre lunixer Calibre 5 08-23-2010 01:21 PM
Customizing boot-up screen? Jellby Gen3 Developer's Corner 5 03-16-2010 10:46 AM
customizing built in recipes jrasmussen Calibre 2 02-15-2010 11:26 PM
Customizing your Pocket Pro Chiron Astak EZReader 53 10-18-2009 07:18 AM
Does HS support customizing background and font color? Calvin998 Reading and Management 3 02-12-2004 04:36 PM


All times are GMT -4. The time now is 06:53 AM.


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