58 #ifndef HELPWIDGET_HH_ 59 #define HELPWIDGET_HH_ 61 #include "ui_helpWidget.hh" 63 #if QT_VERSION >= 0x050000 71 #include <QTextDocument> 73 #include <QHelpSearchEngine> 78 #include "helpBrowser.hh" 80 class HelpWidget :
public QMainWindow,
public Ui::HelpWidget
86 HelpWidget(QWidget* parent = 0,
const QString& _homeSite =
"",
const bool _loadHomeSite =
true);
90 void setHomeSite(
const QString& _homeSite);
102 void showSearchWidget();
105 void linkActivated(
const QUrl& _url);
108 void activateLink(
const QUrl& _url);
110 void showFoundSite(
const QUrl& _url);
112 void showResults(
int _hits);
116 void update(
const QUrl& url);
118 void openFoundSite(QListWidgetItem* _item);
121 void updateButtons();
126 QDockWidget* searchWidget_;
128 QTabWidget* tabWidget_;
132 QHelpEngine* helpEngine_;
133 QHelpSearchEngine* searchEngine_;