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