00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef _HELPBROWSER_HPP_
00016 #define _HELPBROWSER_HPP_
00017
00018 #include <qwidget.h>
00019 class QPushButton;
00020 class QTextBrowser;
00021 class HelpBrowser : public QWidget
00022 {
00023 Q_OBJECT
00024 public:
00025 HelpBrowser(const QString &path, const QString &page,
00026 QWidget *parent = 0, const char *name = 0);
00027 static void showPage(const QString &page);
00028
00029 private slots:
00030 void updateCaption();
00031
00032 private:
00033 QTextBrowser *textBrowser;
00034 QPushButton *homeButton;
00035 QPushButton *backButton;
00036 QPushButton *closeButton;
00037 };
00038
00039 #endif //_HELPBROWSER_HPP_