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);
69 void linkActivated(
const QUrl &url);
70 void linkActivated(
const QUrl &url,
const QString &text);
71 void urlChanged(
const QUrl &url);
74 void mnuCloseWindow();
75 void mnuZoomInWindow();
76 void mnuZoomOutWindow();
77 void mnuDefaultZoomWindow();
78 void textChanged(
const QString &text);
81 void requestShowLink(
const QUrl &url);
82 void searchingStarted();
83 void searchingFinished(
const int &hits);
84 void indexingStarted();
85 void indexingFinished();
86 void clicked(
const QModelIndex &index);
87 void findNextWord(QString expr,
bool regExpr,
bool caseSensitive,
bool wholeWord,
bool wrap,
bool forward,
bool isQuickSeach);
88 void hideFindWordBar();
89 void showFindWordBar();
90 void visibilityChangedIndexWidget(
bool visible);
91 void visibilityChangedSearchWidget(
bool visible);
92 void loadFinished(
bool ok);
Definition: apiFunctionsGraph.cpp:39