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 10-29-2011, 02:44 PM   #1
foosion
Enthusiast
foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.
 
Posts: 45
Karma: 4562
Join Date: Sep 2011
Device: Galaxy Nexus, iPad
Which methods render and draw pages for viewer?

Which method renders pages for the viewer? Which method writes the pages to the screen?

I would have guessed current_page_image in calibre.src.calibre.gui2.viewer.documentview.py is involved, but I can't figure out where self.mainFrame() is defined.
foosion is offline   Reply With Quote
Old 10-29-2011, 03:30 PM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,433
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
The viewer uses a QWebView to render the contents. mainFrame is part of this widget.
user_none 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
Draw a rectangle around several PDF pages at the same time thebestjeter PDF 3 09-22-2011 09:38 AM
Calibre E-Book Viewer and ADE render ePub TD font-size differently Agama Devices 5 06-17-2011 02:44 AM
Two facing pages in the viewer …solved!! pollito pito Calibre 16 05-25-2010 11:35 AM
Two columns display in the viewer? (facing pages) pollito pito Calibre 6 04-17-2010 08:09 AM
Pre-render and cache PDF pages? nekokami iRex 3 07-02-2008 03:26 AM


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


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