7#ifndef BALL_VIEW_WIDGETS_HELPVIEWER_H
8#define BALL_VIEW_WIDGETS_HELPVIEWER_H
10#ifndef BALL_VIEW_WIDGETS_DOCKWIDGET_H
14#include <QtWidgets/QTextBrowser>
HashMap class based on the STL map (containing serveral convenience functions).
StringHashMap< String > classes_to_files_
const String & getDefaultPage() const
const String & getBaseDirectory() const
void showDocumentationFor(const String &classname, const String &member)
void setProject(const String &project)
bool showHelpFor(const QObject *object)
Show the documentation entry for a given widget.
HelpViewer(QWidget *parent, const char *name=0)
virtual void registerForHelpSystem(const QObject *object, const String &docu_entry)
Register a widget for showing its documentation.
bool showDocumentationForObject()
Show documentation for object under cursor.
void setWhatsThisEnabled(bool state)
virtual void onNotify(Message *message)
virtual void showHelp()
Show default page.
HashMap< const QObject *, String > docu_entries_
void unregisterForHelpSystem(const QObject *object)
Unregister a widget for showing its documentation.
bool isWhatsThisEnabled() const
String getProject() const
bool hasHelpFor(const QObject *object) const
Check wheter we have a documentation entry for a given object.
String getHelpEntryFor(const QObject *object) const
Get help entry for widget.
virtual void showHelp(const String &URL)
void setBaseDirectory(const String &dir)
void enterWhatsThisMode()
virtual void initializeWidget(MainControl &main_control)
bool eventFilter(QObject *obj, QEvent *e)
Event filter for the whats this mode.
void setDefaultPage(const String &url)
MyTextBrowser(QWidget *parent, const char *name=0)
#define BALL_EMBEDDABLE(TYPE, BASE)