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