View Single Post
Old 10-27-2015, 12:31 PM   #9
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Back again ...

To date when I've wanted to include an ebook preview dialog I've used something like
Code:
webview = QWebView()

name = 'xyz'
webview.load(QUrl.fromLocalFile(container.name_path_map[name]))
or
Code:
webview.reload
I'm unsure whether the above are suitable on anything other than Windows.

Since I'm trying to do things 'the calibre way' in this little exercise, please can you advise whether I should be doing something different.

Thanks in advance
jackie_w is offline   Reply With Quote