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> 79 virtual void initializeWidget(
MainControl& main_control);
87 virtual void onNotify(
Message *message);
90 virtual void showHelp(
const String& URL);
96 void setDefaultPage(
const String& url);
99 const String& getDefaultPage()
const;
108 void setBaseDirectory(
const String& dir);
111 const String& getBaseDirectory()
const;
114 virtual void registerForHelpSystem(
const QObject*
object,
const String& docu_entry);
117 void unregisterForHelpSystem(
const QObject*
object);
120 bool showHelpFor(
const QObject*
object);
123 bool showDocumentationForObject();
126 bool hasHelpFor(
const QObject*
object)
const;
138 void showDocumentationFor(
const String& classname,
const String& member);
143 virtual void showHelp();
146 void enterWhatsThisMode();
149 void exitWhatsThisMode();
156 void collectClasses_();
173 #endif // BALL_VIEW_WIDGETS_HELPVIEWER_H
#define BALL_EMBEDDABLE(TYPE, BASE)
StringHashMap< String > classes_to_files_
HashMap< const QObject *, String > docu_entries_
void setProject(const String &project)
void setWhatsThisEnabled(bool state)
bool isWhatsThisEnabled() const
String getProject() const