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