44 #ifndef HELPWIDGET_HH_ 45 #define HELPWIDGET_HH_ 47 #include "ui_helpWidget.h" 50 #include <QTextDocument> 52 #include <QHelpSearchEngine> 57 #include "helpBrowser.hh" 59 class HelpWidget :
public QMainWindow,
public Ui::HelpWidget
65 HelpWidget(QWidget* parent = 0,
const QString& _homeSite =
"",
const bool _loadHomeSite =
true);
69 void setHomeSite(
const QString& _homeSite);
81 void showSearchWidget();
84 void linkActivated(
const QUrl& _url);
87 void activateLink(
const QUrl& _url);
89 void showFoundSite(
const QUrl& _url);
91 void showResults(
int _hits);
95 void update(
const QUrl& url);
97 void openFoundSite(QListWidgetItem* _item);
100 void updateButtons();
105 QDockWidget* searchWidget_;
107 QTabWidget* tabWidget_;
111 QHelpEngine* helpEngine_;
112 QHelpSearchEngine* searchEngine_;