14 /** Visual representation of a book. */
15 class BookView: public QWebView
20 explicit BookView(QWidget *parent = 0);
22 void setBook(Book *book);
24 void goToBookmark(const Book::Bookmark &bookmark);
26 void setLastBookmark();
29 void chapterLoadStart(int index);
30 void chapterLoadEnd(int index);
35 void onLoadFinished(bool ok);
36 void onSettingsChanged(const QString &key);
39 virtual void paintEvent(QPaintEvent *e);
40 virtual void mousePressEvent(QMouseEvent *e);
43 void loadContent(int index);
44 void addNavigationBar();