51 #ifndef HELPWIDGET_HH_
52 #define HELPWIDGET_HH_
54 #include "ui_helpWidget.hh"
58 #include <QTextDocument>
60 #include <QHelpSearchEngine>
65 #include "helpBrowser.hh"
67 class HelpWidget :
public QMainWindow,
public Ui::HelpWidget
73 HelpWidget(QWidget* parent = 0,
const QString& _homeSite =
"",
const bool _loadHomeSite =
true);
77 void setHomeSite(
const QString& _homeSite);
89 void showSearchWidget();
92 void linkActivated(
const QUrl& _url);
95 void activateLink(
const QUrl& _url);
97 void showFoundSite(
const QUrl& _url);
99 void showResults(
int _hits);
103 void update(
const QUrl& url);
105 void openFoundSite(QListWidgetItem* _item);
108 void updateButtons();
113 QDockWidget* searchWidget_;
115 QTabWidget* tabWidget_;
119 QHelpEngine* helpEngine_;
120 QHelpSearchEngine* searchEngine_;