Well that would have been nice to know!
So do you use the QWebChannel.js or do you serialize and send back and forth across a pipe, or yourself?
I will take a peek to try to understand your approach.
That said, I really am not a javascript programmer (what I know about javascript you could put in a thimble) but luckily I have been able to adapt the javascript used in Sigil to get effectively a cfi (webpath) to synchronize scrolling between our CodeView and Preview.
Take care,
KevinH
Quote:
Originally Posted by kovidgoyal
I actually wrote my own browser as way to learn the warts of web engine https://github.com/kovidgoyal/vise
so porting calibre stuff to it was relatively painless, in comparison.
|