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