26 #if ! defined (octave_documentation_h)
27 #define octave_documentation_h 1
33 #include <QTextBrowser>
35 #include <QToolButton>
37 #include <QtHelp/QHelpEngine>
61 const QString& keyword = QString ());
128 void find (
bool backward =
false);
142 const char *member,
QWidget *receiver =
nullptr,
143 QToolBar *tool_bar =
nullptr);
Base class for Octave interfaces that use Qt.
Documentation browser derived from Textbrowser.
void zoom_original(void)
Zooming in and out while taking care of the zoom level.
void zoom_out(void)
Zooming in and out while taking care of the zoom level.
QHelpEngine * m_help_engine
int m_zoom_level
Store the current zoom level.
void handle_index_clicked(const QUrl &url, const QString &keyword=QString())
void zoom_in(void)
Zooming in and out while taking care of the zoom level.
~documentation_browser(void)
void notice_settings(const gui_settings *settings)
documentation_browser(QHelpEngine *help_engine, QWidget *parent=nullptr)
virtual QVariant loadResource(int type, const QUrl &url)
void wheelEvent(QWheelEvent *we)
The documentation main class derived from QSplitter.
QAction * m_action_go_next
void filter_update_history(void)
documentation(QWidget *parent, base_qobject &oct_qobj)
void filter_update(const QString &expression)
QShortcut * m_findprev_shortcut
QMenu * m_prev_pages_menu
void find_forward_from_anchor(const QString &text)
void global_search_started(void)
int m_search_anchor_position
QHelpEngine * m_help_engine
QAction * m_action_zoom_out
QAction * m_prev_pages_actions[max_history_entries]
QAction * m_next_pages_actions[max_history_entries]
documentation_browser * m_doc_browser
void construct_tool_bar(void)
base_qobject & m_octave_qobj
void handle_search_result_clicked(const QUrl &url)
QShortcut * m_findnext_shortcut
void pasteClipboard(void)
void update_history_menus(void)
void handle_cursor_position_change(void)
void record_anchor_position(void)
QAction * m_action_zoom_original
QAction * m_action_go_prev
QAction * m_action_go_home
void load_ref(const QString &name)
QMenu * m_next_pages_menu
QAction * add_action(const QIcon &icon, const QString &text, const char *member, QWidget *receiver=nullptr, QToolBar *tool_bar=nullptr)
void open_hist_url(QAction *a)
QAction * m_action_zoom_in
QString m_internal_search
void update_history(int new_count, QAction **actions)
void global_search_finished(int hits)
void select_all_occurrences(const QString &text)
Select all occurrences of a string in the doc browser.
void find(bool backward=false)
void show_single_result(const QUrl &)
void notice_settings(const gui_settings *settings)
QLineEdit * m_find_line_edit
void registerDoc(const QString &name)
void unregisterDoc(const QString &name)