10-11-2010, 10:44 AM | #1 |
Enthusiast
Posts: 49
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. |
10-11-2010, 11:04 AM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
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. |
Advert | |
|
10-13-2010, 08:30 AM | #3 |
Enthusiast
Posts: 49
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. |
10-13-2010, 12:55 PM | #4 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Merged, thanks.
|
|
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 |