26 #include "../global.h"
28 #ifdef ITOM_USEHELPVIEWER
30 #include <qmainwindow.h>
41 class QtHelpUrlSchemeHandler;
43 class HelpViewer :
public QMainWindow
48 HelpViewer(QWidget *parent = NULL);
51 void setCollectionFile(
const QString &collectionFile);
52 void getHelpViewer(
const QWidget &helpViewer);
55 QWebEngineView *m_pView;
56 WidgetFindWord *m_pFindWord;
57 QString m_collectionFile;
58 QHelpEngine *m_pHelpEngine;
59 QtHelpUrlSchemeHandler *m_pSchemeHandler;
60 qreal m_pDefaultZoomFactor;
62 QLineEdit *m_plineEditIndex;
63 bool m_pSearched =
false;
66 void keyPressEvent(QKeyEvent *event);
67 void mousePressEvent(QMouseEvent *event);
70 void linkActivated(
const QUrl &url);
71 void linkActivated(
const QUrl &url,
const QString &text);
72 void urlChanged(
const QUrl &url);
75 void mnuCloseWindow();
76 void mnuZoomInWindow();
77 void mnuZoomOutWindow();
78 void mnuDefaultZoomWindow();
79 void textChanged(
const QString &text);
82 void requestShowLink(
const QUrl &url);
83 void searchingStarted();
84 void searchingFinished(
const int &hits);
85 void indexingStarted();
86 void indexingFinished();
87 void clicked(
const QModelIndex &index);
88 void findNextWord(QString expr,
bool regExpr,
bool caseSensitive,
bool wholeWord,
bool wrap,
bool forward,
bool isQuickSeach);
89 void hideFindWordBar();
90 void showFindWordBar();
91 void visibilityChangedIndexWidget(
bool visible);
92 void visibilityChangedSearchWidget(
bool visible);
93 void loadFinished(
bool ok);
Definition: apiFunctionsGraph.cpp:39