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>
90 virtual
void showHelp(const
String& URL);
96 void setDefaultPage(const
String& url);
99 const
String& getDefaultPage() const;
102 void setProject(const
String& project) { project_ = project;}
#define BALL_EMBEDDABLE(TYPE, BASE)
MyTextBrowser(QWidget *parent, const char *name=0)
StringHashMap< String > classes_to_files_
const String & getBaseDirectory() const
void showDocumentationFor(const String &classname, const String &member)
bool showHelpFor(const QObject *object)
Show the documentation entry for a given widget.
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 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.
void setBaseDirectory(const String &dir)
void enterWhatsThisMode()
bool eventFilter(QObject *obj, QEvent *e)
Event filter for the whats this mode.