#include <helpbrowser.h>
Public Member Functions | |
HelpBrowser (const QString &path, const QString &page, QWidget *parent=0) | |
Static Public Member Functions | |
static void | showPage (const QString &page) |
Class containing the help browser for the application. The actual help files are regular html files, and are located in the doc folder. This widget is heavily influenced by an example in the book "C++ Gui Programming with Qt4" by Jasmine Blanchette and Mark Summerfield. We saw no reason to implement it any other way.
Definition at line 42 of file helpbrowser.h.
HelpBrowser::HelpBrowser | ( | const QString & | path, | |
const QString & | page, | |||
QWidget * | parent = 0 | |||
) |
Constructor.
path | Location of the files to be displayed. | |
page | The starting page to be displayed. | |
parent | The parent widget. |
Definition at line 29 of file helpbrowser.cpp.
void HelpBrowser::showPage | ( | const QString & | page | ) | [static] |
Opens a new browser with the supplied page as starting page.
page | The starting page of the new browser. |
Definition at line 70 of file helpbrowser.cpp.