42 #ifndef HELPBROWSER_HH_ 43 #define HELPBROWSER_HH_ 47 #include <QTextBrowser> 68 HelpBrowser(QHelpEngine* _helpEngine, QWidget* parent = 0);
109 void historyChanged(
const QUrl&);
113 void open(
const QString& _url);
120 void open(
const QUrl& _url,
bool _skipSave =
false);
void updateNameSpaceAndFolder(const QUrl &_url)
updateNameSpaceAndFolder
QHelpEngine * helpEngine_
The help engine the widget is working on.
int currentPage_
Current position in the history.
QList< QUrl > visitedPages_
History of the visited pages.
bool isBackwardAvailable()
Checks if we visited other pages before.
QVariant loadResource(int _type, const QUrl &_name)
re implementation of the load resource function of the text browser
QString currentNameSpace_
The currently active namespace.
HelpBrowser(QHelpEngine *_helpEngine, QWidget *parent=0)
Constructor.
void rememberHistory(const QUrl &_url)
Adds a new page to the history.
void backward()
Show last page stored in the history.
bool isForwardAvailable()
Checks if the back button was pressed and we can go forward to the next page.
QUrl resolveUrl(const QUrl &_url)
resolves relative urls to absolute
QString currentVirtualFolder_
The currently active virtual folder.
QUrl getCurrentDir(const QUrl &_url)
Extract path from URL.
void forward()
Show next page stored in the history.
virtual ~HelpBrowser()
Destructor.