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