#include "documentation-dock-widget.h"
Public Slots | |
virtual void | activate (void) |
void | copyClipboard (void) |
void | default_dock (bool not_used=false) |
void | handle_active_dock_changed (octave_dock_widget *, octave_dock_widget *) |
void | handle_settings (const gui_settings *) |
virtual void | handle_visibility (bool visible) |
void | init_window_menu_entry (void) |
void | make_widget (bool not_used=false) |
void | make_window (bool widget_was_dragged=false) |
void | moveEvent (QMoveEvent *event) |
void | notice_settings (const gui_settings *settings) |
void | pasteClipboard (void) |
void | registerDoc (const QString &name) |
void | resizeEvent (QResizeEvent *event) |
void | save_settings (void) |
void | selectAll (void) |
void | showDoc (const QString &name) |
void | unregisterDoc (const QString &name) |
Signals | |
void | active_changed (bool active) |
Custom signal that tells whether a user has clicked away that dock widget, i.e. More... | |
void | queue_make_widget (void) |
void | queue_make_window (bool widget_was_dragged) |
Public Member Functions | |
documentation_dock_widget (QWidget *parent, base_qobject &oct_qobj) | |
~documentation_dock_widget (void)=default | |
bool | adopted (void) const |
void | set_adopted (bool adopted=true) |
void | set_main_window (main_window *mw) |
void | set_predecessor_widget (octave_dock_widget *prev_widget) |
void | set_title (const QString &) |
Protected Slots | |
virtual void | do_undo (void) |
Slot to handle undo. More... | |
bool | eventFilter (QObject *obj, QEvent *e) |
Event filter for double clicks into the window decoration elements. More... | |
virtual void | toplevel_change (bool) |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *e) |
bool | event (QEvent *event) |
QWidget * | focusWidget (void) |
Protected Attributes | |
QAction * | m_close_action |
QToolButton * | m_close_button |
QAbstractButton * | m_default_close_button |
QAbstractButton * | m_default_float_button |
QAction * | m_dock_action |
QToolButton * | m_dock_button |
int | m_icon_size |
base_qobject & | m_octave_qobj |
QWidget * | m_title_widget |
Private Slots | |
void | change_visibility (bool) |
Private Member Functions | |
void | set_focus_predecessor (void) |
void | set_style (bool active) |
void | store_geometry (void) |
Private Attributes | |
bool | m_adopted |
QColor | m_bg_color |
QColor | m_bg_color_active |
bool | m_custom_style |
documentation * | m_docs |
QColor | m_fg_color |
QColor | m_fg_color_active |
bool | m_focus_follows_mouse |
QString | m_icon_color |
QString | m_icon_color_active |
main_window * | m_main_window |
Stores the parent, since we are reparenting to 0. More... | |
octave_dock_widget * | m_predecessor_widget |
QRect | m_recent_dock_geom |
QRect | m_recent_float_geom |
int | m_title_3d |
bool | m_waiting_for_mouse_button_release |
Definition at line 36 of file documentation-dock-widget.h.
documentation_dock_widget::documentation_dock_widget | ( | QWidget * | parent, |
base_qobject & | oct_qobj | ||
) |
Definition at line 36 of file documentation-dock-widget.cc.
|
default |
|
virtualslotinherited |
Definition at line 667 of file octave-dock-widget.cc.
Referenced by file_editor::activate(), and main_window::go_to_previous_widget().
|
signalinherited |
Custom signal that tells whether a user has clicked away that dock widget, i.e.
the active dock widget has changed.
Referenced by octave_dock_widget::change_visibility(), octave_dock_widget::closeEvent(), octave_dock_widget::handle_visibility(), and octave_dock_widget::init_window_menu_entry().
|
inlineinherited |
Definition at line 102 of file octave-dock-widget.h.
References octave_dock_widget::m_adopted.
Referenced by octave_dock_widget::set_adopted().
|
privateslotinherited |
Definition at line 661 of file octave-dock-widget.cc.
References octave_dock_widget::active_changed().
Referenced by octave_dock_widget::octave_dock_widget().
|
protectedvirtualinherited |
Reimplemented in file_editor.
Definition at line 434 of file octave-dock-widget.cc.
References octave_dock_widget::active_changed(), octave_dock_widget::save_settings(), and octave_dock_widget::set_focus_predecessor().
Referenced by variable_editor::closeEvent(), and file_editor::closeEvent().
|
slot |
Definition at line 61 of file documentation-dock-widget.cc.
References documentation::copyClipboard(), and m_docs.
|
slotinherited |
Definition at line 399 of file octave-dock-widget.cc.
Referenced by octave_dock_widget::toplevel_change().
|
inlineprotectedvirtualslotinherited |
Slot to handle undo.
Definition at line 69 of file octave-dock-widget.h.
Referenced by octave_dock_widget::set_main_window().
|
protectedinherited |
Definition at line 453 of file octave-dock-widget.cc.
References octave_dock_widget::m_waiting_for_mouse_button_release, and octave_dock_widget::queue_make_window().
Referenced by variable_editor::edit_variable(), octave_dock_widget::moveEvent(), and octave_dock_widget::resizeEvent().
|
protectedslotinherited |
Event filter for double clicks into the window decoration elements.
Definition at line 611 of file octave-dock-widget.cc.
References octave_dock_widget::m_focus_follows_mouse.
|
protectedinherited |
Definition at line 445 of file octave-dock-widget.cc.
References Faddeeva::w().
Referenced by file_editor::editor_tab_has_focus().
|
slotinherited |
Definition at line 569 of file octave-dock-widget.cc.
References octave_dock_widget::m_custom_style, and octave_dock_widget::set_style().
Referenced by main_window::make_dock_widget_connections().
|
slotinherited |
Definition at line 474 of file octave-dock-widget.cc.
References adjust_to_screen(), gui_pref::def, dw_dock_geometry(), dw_float_geometry(), dw_focus_follows_mouse(), dw_title_3d(), dw_title_bg_color(), dw_title_bg_color_active(), dw_title_custom_style(), dw_title_fg_color(), dw_title_fg_color_active(), global_menubar_style(), global_toolbar_style(), gui_pref::key, octave_dock_widget::m_bg_color, octave_dock_widget::m_bg_color_active, octave_dock_widget::m_custom_style, octave_dock_widget::m_fg_color, octave_dock_widget::m_fg_color_active, octave_dock_widget::m_focus_follows_mouse, octave_dock_widget::m_icon_color, octave_dock_widget::m_icon_color_active, octave_dock_widget::m_main_window, octave_dock_widget::m_recent_dock_geom, octave_dock_widget::m_recent_float_geom, octave_dock_widget::m_title_3d, label_dock_widget::m_title_widget, octave_dock_widget::notice_settings(), r, octave_dock_widget::set_style(), Faddeeva::w(), and x.
Referenced by octave_dock_widget::octave_dock_widget(), and main_window::make_dock_widget_connections().
|
virtualslotinherited |
Definition at line 677 of file octave-dock-widget.cc.
References octave_dock_widget::active_changed().
Referenced by octave_dock_widget::octave_dock_widget(), history_dock_widget::handle_visibility(), and file_editor::handle_visibility().
|
slotinherited |
Definition at line 265 of file octave-dock-widget.cc.
References octave_dock_widget::active_changed().
Referenced by main_window::make_dock_widget_connections().
|
slotinherited |
Definition at line 343 of file octave-dock-widget.cc.
References base_qobject::get_resource_manager(), resource_manager::get_settings(), resource_manager::icon(), gui_pref::key, octave_dock_widget::m_adopted, label_dock_widget::m_default_float_button, label_dock_widget::m_dock_action, octave_dock_widget::m_icon_color, octave_dock_widget::m_main_window, label_dock_widget::m_octave_qobj, octave_dock_widget::m_recent_dock_geom, octave_dock_widget::make_window(), mw_state(), and octave_dock_widget::set_style().
Referenced by octave_dock_widget::octave_dock_widget(), and octave_dock_widget::make_window().
|
slotinherited |
Definition at line 272 of file octave-dock-widget.cc.
References base_qobject::get_resource_manager(), resource_manager::icon(), label_dock_widget::m_default_float_button, label_dock_widget::m_dock_action, octave_dock_widget::m_icon_color, octave_dock_widget::m_main_window, label_dock_widget::m_octave_qobj, octave_dock_widget::m_recent_float_geom, octave_dock_widget::m_waiting_for_mouse_button_release, octave_dock_widget::make_widget(), octave_dock_widget::set_focus_predecessor(), and octave_dock_widget::set_style().
Referenced by files_dock_widget::files_dock_widget(), octave_dock_widget::octave_dock_widget(), variable_editor::variable_editor(), and octave_dock_widget::make_widget().
|
slotinherited |
Definition at line 644 of file octave-dock-widget.cc.
References octave_dock_widget::event(), and octave_dock_widget::store_geometry().
|
slot |
Definition at line 50 of file documentation-dock-widget.cc.
References m_docs, and documentation::notice_settings().
|
slot |
Definition at line 66 of file documentation-dock-widget.cc.
References m_docs, and documentation::pasteClipboard().
|
signalinherited |
Referenced by octave_dock_widget::octave_dock_widget(), and octave_dock_widget::toplevel_change().
|
signalinherited |
Referenced by octave_dock_widget::octave_dock_widget(), and octave_dock_widget::event().
|
slot |
Definition at line 87 of file documentation-dock-widget.cc.
References m_docs, and documentation::registerDoc().
Referenced by base_qobject::documentation_widget().
|
slotinherited |
Definition at line 652 of file octave-dock-widget.cc.
References octave_dock_widget::event(), and octave_dock_widget::store_geometry().
|
slot |
Definition at line 55 of file documentation-dock-widget.cc.
References m_docs, documentation::save_settings(), and octave_dock_widget::save_settings().
|
slot |
Definition at line 71 of file documentation-dock-widget.cc.
References m_docs, and documentation::selectAll().
|
inlineinherited |
Definition at line 101 of file octave-dock-widget.h.
References octave_dock_widget::adopted(), and octave_dock_widget::m_adopted.
|
privateinherited |
Definition at line 828 of file octave-dock-widget.cc.
References dw_title_bg_color(), dw_title_bg_color_active(), dw_title_fg_color(), dw_title_fg_color_active(), base_qobject::get_resource_manager(), gui_pref::key, label_dock_widget::m_octave_qobj, octave_dock_widget::m_predecessor_widget, and resource_manager::update_settings_key().
Referenced by octave_dock_widget::closeEvent(), and octave_dock_widget::make_window().
|
inherited |
Definition at line 412 of file octave-dock-widget.cc.
References label_dock_widget::copyClipboard(), main_window::copyClipboard_signal(), label_dock_widget::do_undo(), octave_dock_widget::m_main_window, label_dock_widget::pasteClipboard(), main_window::pasteClipboard_signal(), label_dock_widget::selectAll(), main_window::selectAll_signal(), and main_window::undo_signal().
|
inherited |
Definition at line 406 of file octave-dock-widget.cc.
References octave_dock_widget::m_predecessor_widget.
Referenced by main_window::focus_changed().
|
privateinherited |
Definition at line 729 of file octave-dock-widget.cc.
References base_qobject::get_resource_manager(), global_icon_paths, resource_manager::icon(), ICON_THEME_OCTAVE, octave_dock_widget::m_bg_color, octave_dock_widget::m_bg_color_active, label_dock_widget::m_close_action, label_dock_widget::m_close_button, octave_dock_widget::m_custom_style, label_dock_widget::m_dock_action, label_dock_widget::m_dock_button, octave_dock_widget::m_fg_color, octave_dock_widget::m_fg_color_active, octave_dock_widget::m_icon_color, octave_dock_widget::m_icon_color_active, label_dock_widget::m_icon_size, label_dock_widget::m_octave_qobj, octave_dock_widget::m_title_3d, and qdockwidget_css().
Referenced by octave_dock_widget::handle_active_dock_changed(), octave_dock_widget::handle_settings(), octave_dock_widget::make_widget(), and octave_dock_widget::make_window().
|
inherited |
Definition at line 128 of file octave-dock-widget.cc.
References label_dock_widget::m_title_widget.
Referenced by files_dock_widget::files_dock_widget(), variable_editor::variable_editor(), history_dock_widget::construct(), file_editor::construct(), and variable_editor::edit_variable().
|
slot |
Definition at line 76 of file documentation-dock-widget.cc.
References documentation::load_ref(), and m_docs.
Referenced by base_qobject::show_documentation_window().
|
privateinherited |
Definition at line 630 of file octave-dock-widget.cc.
References octave_dock_widget::m_recent_dock_geom, and octave_dock_widget::m_recent_float_geom.
Referenced by octave_dock_widget::moveEvent(), octave_dock_widget::resizeEvent(), and octave_dock_widget::save_settings().
|
protectedvirtualslotinherited |
Definition at line 688 of file octave-dock-widget.cc.
References octave_dock_widget::default_dock(), label_dock_widget::m_default_float_button, label_dock_widget::m_dock_action, octave_dock_widget::m_waiting_for_mouse_button_release, and octave_dock_widget::queue_make_widget().
Referenced by octave_dock_widget::octave_dock_widget().
|
slot |
Definition at line 92 of file documentation-dock-widget.cc.
References m_docs, and documentation::unregisterDoc().
Referenced by base_qobject::documentation_widget().
|
privateinherited |
Definition at line 171 of file octave-dock-widget.h.
Referenced by octave_dock_widget::adopted(), octave_dock_widget::make_widget(), and octave_dock_widget::set_adopted().
|
privateinherited |
Definition at line 175 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
privateinherited |
Definition at line 176 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 80 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), variable_dock_widget::variable_dock_widget(), and octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 78 of file octave-dock-widget.h.
Referenced by octave_dock_widget::set_style().
|
privateinherited |
Definition at line 172 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_active_dock_changed(), octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 83 of file octave-dock-widget.h.
|
protectedinherited |
Definition at line 82 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), octave_dock_widget::make_widget(), octave_dock_widget::make_window(), and octave_dock_widget::toplevel_change().
|
protectedinherited |
Definition at line 79 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), variable_dock_widget::variable_dock_widget(), octave_dock_widget::make_widget(), octave_dock_widget::make_window(), octave_dock_widget::set_style(), octave_dock_widget::toplevel_change(), and variable_dock_widget::toplevel_change().
|
protectedinherited |
Definition at line 77 of file octave-dock-widget.h.
Referenced by octave_dock_widget::set_style().
|
private |
Definition at line 61 of file documentation-dock-widget.h.
Referenced by copyClipboard(), notice_settings(), pasteClipboard(), registerDoc(), save_settings(), selectAll(), showDoc(), and unregisterDoc().
|
privateinherited |
Definition at line 177 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
privateinherited |
Definition at line 178 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
privateinherited |
Definition at line 173 of file octave-dock-widget.h.
Referenced by octave_dock_widget::eventFilter(), and octave_dock_widget::handle_settings().
|
privateinherited |
Definition at line 179 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), octave_dock_widget::handle_settings(), octave_dock_widget::make_widget(), octave_dock_widget::make_window(), and octave_dock_widget::set_style().
|
privateinherited |
Definition at line 180 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 75 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), variable_dock_widget::variable_dock_widget(), and octave_dock_widget::set_style().
|
privateinherited |
Stores the parent, since we are reparenting to 0.
Definition at line 169 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), octave_dock_widget::handle_settings(), octave_dock_widget::make_widget(), octave_dock_widget::make_window(), and octave_dock_widget::set_main_window().
|
protectedinherited |
Definition at line 73 of file octave-dock-widget.h.
Referenced by files_dock_widget::files_dock_widget(), octave_dock_widget::octave_dock_widget(), variable_dock_widget::variable_dock_widget(), file_editor::call_custom_editor(), variable_dock_widget::change_floating(), variable_dock_widget::change_fullscreen(), file_editor::closeEvent(), history_dock_widget::construct(), file_editor::construct(), variable_editor::construct_tool_bar(), files_dock_widget::contextmenu_requested(), history_dock_widget::ctxMenu(), files_dock_widget::display_directory(), variable_editor::edit_variable(), file_editor::empty_script(), file_editor::find_create(), file_editor::handle_enter_debug_mode(), file_editor::handle_exit_debug_mode(), file_editor::handle_file_name_changed(), file_editor::handle_visibility(), workspace_view::header_contextmenu_requested(), files_dock_widget::headercontextmenu_requested(), file_editor::make_file_editor_tab(), octave_dock_widget::make_widget(), octave_dock_widget::make_window(), file_editor::mru_menu_update(), variable_editor::notice_settings(), files_dock_widget::popdownmenu_search_dir(), file_editor::request_open_file(), file_editor::save_session(), files_dock_widget::save_settings(), history_dock_widget::save_settings(), octave_dock_widget::save_settings(), workspace_view::save_settings(), octave_dock_widget::set_focus_predecessor(), file_editor::set_shortcuts(), octave_dock_widget::set_style(), workspace_view::setModel(), files_dock_widget::toggle_header(), workspace_view::toggle_header(), and file_editor::toggle_preference().
|
privateinherited |
Definition at line 181 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), octave_dock_widget::set_focus_predecessor(), and octave_dock_widget::set_predecessor_widget().
|
privateinherited |
Definition at line 183 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), octave_dock_widget::make_widget(), octave_dock_widget::save_settings(), and octave_dock_widget::store_geometry().
|
privateinherited |
Definition at line 182 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), octave_dock_widget::make_window(), octave_dock_widget::save_settings(), and octave_dock_widget::store_geometry().
|
privateinherited |
Definition at line 174 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 76 of file octave-dock-widget.h.
Referenced by variable_dock_widget::variable_dock_widget(), octave_dock_widget::handle_settings(), and label_dock_widget::set_title().
|
privateinherited |
Definition at line 184 of file octave-dock-widget.h.
Referenced by octave_dock_widget::event(), octave_dock_widget::make_window(), and octave_dock_widget::toplevel_change().