28#ifdef ITOM_USEHELPVIEWER
30#include <qmainwindow.h>
42class QtHelpUrlSchemeHandler;
44class HelpViewer :
public QMainWindow
49 HelpViewer(QWidget *parent = NULL);
52 void setCollectionFile(
const QString &collectionFile);
53 void getHelpViewer(
const QWidget& helpViewer);
54 void showUrl(
const QString& url);
57 QWebEngineView *m_pView;
58 WidgetFindWord *m_pFindWord;
59 QString m_collectionFile;
60 QHelpEngine *m_pHelpEngine;
61 QtHelpUrlSchemeHandler *m_pSchemeHandler;
62 qreal m_pDefaultZoomFactor;
64 QLineEdit *m_plineEditIndex;
65 bool m_pSearched =
false;
68 void keyPressEvent(QKeyEvent *event);
69 void mousePressEvent(QMouseEvent *event);
70 void moveEvent(QMoveEvent* event);
73 void linkActivated(
const QUrl &url);
74 void linkActivated(
const QUrl &url,
const QString &text);
75 void urlChanged(
const QUrl &url);
78 void mnuCloseWindow();
79 void mnuZoomInWindow();
80 void mnuZoomOutWindow();
81 void mnuDefaultZoomWindow();
82 void textChanged(
const QString &text);
85 void requestShowLink(
const QUrl &url);
86 void searchingStarted();
87 void searchingFinished(
const int &hits);
88 void indexingStarted();
89 void indexingFinished();
90 void clicked(
const QModelIndex &index);
91 void findNextWord(QString expr,
bool regExpr,
bool caseSensitive,
bool wholeWord,
bool wrap,
bool forward,
bool isQuickSeach);
92 void hideFindWordBar();
93 void showFindWordBar();
94 void visibilityChangedIndexWidget(
bool visible);
95 void visibilityChangedSearchWidget(
bool visible);
96 void loadFinished(
bool ok);
Definition apiFunctionsGraph.cpp:40