7 #ifndef BALL_VIEW_WIDGETS_HELPVIEWER_H
8 #define BALL_VIEW_WIDGETS_HELPVIEWER_H
10 #ifndef BALL_VIEW_WIDGETS_DOCKWIDGET_H
14 #include <QtGui/QTextBrowser>
83 virtual void initializeWidget(
MainControl& main_control);
91 virtual void onNotify(
Message *message);
94 virtual void showHelp(
const String& URL);
100 void setDefaultPage(
const String& url);
103 const String& getDefaultPage()
const;
112 void setBaseDirectory(
const String& dir);
115 const String& getBaseDirectory()
const;
118 virtual void registerForHelpSystem(
const QObject*
object,
const String& docu_entry);
121 void unregisterForHelpSystem(
const QObject*
object);
124 bool showHelpFor(
const QObject*
object);
127 bool showDocumentationForObject();
130 bool hasHelpFor(
const QObject*
object)
const;
142 void showDocumentationFor(
const String& classname,
const String& member);
147 virtual void showHelp();
150 void enterWhatsThisMode();
153 void exitWhatsThisMode();
160 void collectClasses_();
177 #endif // BALL_VIEW_WIDGETS_HELPVIEWER_H
HashMap< const QObject *, String > docu_entries_
#define BALL_EMBEDDABLE(TYPE, BASE)
void setProject(const String &project)
bool isWhatsThisEnabled() const
String getProject() const
StringHashMap< String > classes_to_files_
void setWhatsThisEnabled(bool state)