Dock widget to display files in the current directory. More...
#include "files-dock-widget.h"
Public Slots | |
void | accept_directory_line_edit (void) |
Accepts user input a the line edit for the current directory. More... | |
virtual void | activate (void) |
void | change_directory_up (void) |
Slot for handling the up-directory button in the toolbar. More... | |
void | default_dock (bool not_used=false) |
void | do_sync_browser_directory (void) |
Slot for handling the sync browser directory button in the toolbar. More... | |
void | do_sync_octave_directory (void) |
Slot for handling the sync octave directory button in the toolbar. More... | |
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 | item_double_clicked (const QModelIndex &index) |
Slot for handling a change in directory via double click. More... | |
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) |
Tells the widget to react on changed settings. More... | |
void | resizeEvent (QResizeEvent *event) |
void | save_settings (void) |
void | set_current_directory (const QString &dir) |
Sets the current directory being displayed. More... | |
void | update_octave_directory (const QString &dir) |
Set the internal variable that holds the actual octave variable. More... | |
Signals | |
void | active_changed (bool active) |
Custom signal that tells whether a user has clicked away that dock widget, i.e. More... | |
void | displayed_directory_changed (const QString &dir) |
Emitted, whenever the currently displayed directory changed. More... | |
void | file_remove_signal (const QString &old_name, const QString &new_name) |
Emitted, whenever the user removes or renames a file. More... | |
void | file_renamed_signal (bool) |
Emitted, when a file or directory is renamed. More... | |
void | find_files_signal (const QString &startdir) |
Emitted, whenever wants to search for a file . More... | |
void | load_file_signal (const QString &fileName) |
Emitted, whenever the user requested to load a file in the text editor. More... | |
void | modify_path_signal (const QStringList &dir_list, bool rm, bool subdirs) |
Emitted, when the path has to be modified. More... | |
void | open_any_signal (const QString &fileName) |
Emitted, whenever the user requested to open an unknown type file. More... | |
void | open_file (const QString &fileName) |
Emitted, whenever the user requested to open a file. More... | |
void | queue_make_widget (void) |
void | queue_make_window (bool widget_was_dragged) |
void | run_file_signal (const QFileInfo &info) |
Emitted, whenever the user requested to run a file. More... | |
Public Member Functions | |
files_dock_widget (QWidget *parent, base_qobject &oct_qobj) | |
~files_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 Types | |
enum | { MaxMRUDirs = 10 } |
Private Slots | |
void | change_visibility (bool) |
void | contextmenu_requested (const QPoint &pos) |
Context menu wanted. More... | |
void | headercontextmenu_requested (const QPoint &pos) |
void | toggle_header (int col) |
void | contextmenu_open (bool) |
Context menu actions. More... | |
void | contextmenu_open_in_editor (bool) |
Context menu actions. More... | |
void | contextmenu_open_in_app (bool) |
Context menu actions. More... | |
void | contextmenu_copy_selection (bool) |
Context menu actions. More... | |
void | contextmenu_run (bool) |
Context menu actions. More... | |
void | contextmenu_load (bool) |
Context menu actions. More... | |
void | contextmenu_rename (bool) |
Context menu actions. More... | |
void | contextmenu_delete (bool) |
Context menu actions. More... | |
void | contextmenu_newfile (bool) |
Context menu actions. More... | |
void | contextmenu_newdir (bool) |
Context menu actions. More... | |
void | contextmenu_setcurrentdir (bool) |
Context menu actions. More... | |
void | contextmenu_add_to_path (bool, bool rm=false, bool subdirs=false) |
Context menu actions. More... | |
void | contextmenu_add_to_path_subdirs (bool) |
Context menu actions. More... | |
void | contextmenu_rm_from_path (bool) |
Context menu actions. More... | |
void | contextmenu_rm_from_path_subdirs (bool) |
Context menu actions. More... | |
void | contextmenu_findfiles (bool) |
Context menu actions. More... | |
void | popdownmenu_newfile (bool) |
Popdown menu options. More... | |
void | popdownmenu_newdir (bool) |
Popdown menu options. More... | |
void | popdownmenu_search_dir (bool) |
Popdown menu options. More... | |
void | popdownmenu_findfiles (bool) |
Popdown menu options. More... | |
void | popdownmenu_home (bool) |
Popdown menu options. More... | |
void | copyClipboard () |
Inherited from octave_doc_widget. More... | |
void | pasteClipboard () |
Inherited from octave_doc_widget. More... | |
void | selectAll () |
Inherited from octave_doc_widget. More... | |
Private Member Functions | |
void | display_directory (const QString &dir, bool set_octave_dir=true) |
set a new directory or open a file More... | |
QList< QFileInfo > | get_selected_items_info (bool) |
Get currently selected QFileInfo object. More... | |
void | open_item_in_app (const QModelIndex &index) |
void | process_find_files (const QString &dir_name) |
void | process_new_dir (const QString &parent_name) |
void | process_new_file (const QString &parent_name) |
Process new file/directory actions. More... | |
void | process_set_current_dir (const QString &parent_name) |
Process setting current dir or find in files. More... | |
void | set_focus_predecessor (void) |
void | set_style (bool active) |
void | store_geometry (void) |
Dock widget to display files in the current directory.
Definition at line 53 of file files-dock-widget.h.
|
private |
Enumerator | |
---|---|
MaxMRUDirs |
Definition at line 230 of file files-dock-widget.h.
files_dock_widget::files_dock_widget | ( | QWidget * | parent, |
base_qobject & | oct_qobj | ||
) |
Definition at line 181 of file files-dock-widget.cc.
References accept_directory_line_edit(), change_directory_up(), contextmenu_rename(), contextmenu_requested(), gui_pref::def, do_sync_browser_directory(), do_sync_octave_directory(), fb_column_state(), fb_mru_list(), fb_restore_last_dir(), fb_show_altcol(), fb_show_date(), fb_show_hidden(), fb_show_size(), fb_show_type(), fb_sort_column(), fb_sort_order(), fb_startup_dir(), base_qobject::get_resource_manager(), resource_manager::get_settings(), headercontextmenu_requested(), resource_manager::icon(), item_double_clicked(), gui_pref::key, m_columns_shown, m_columns_shown_defs, m_columns_shown_keys, m_current_directory, m_file_system_model, m_file_tree_view, m_navigation_tool_bar, m_octave_dir, label_dock_widget::m_octave_qobj, m_rename_action, m_sig_mapper, m_sync_browser_directory_action, m_sync_octave_dir, m_sync_octave_directory_action, octave_dock_widget::make_window(), MaxMRUDirs, popdownmenu_findfiles(), popdownmenu_home(), popdownmenu_newdir(), popdownmenu_newfile(), popdownmenu_search_dir(), set_current_directory(), and label_dock_widget::set_title().
|
default |
|
slot |
Accepts user input a the line edit for the current directory.
Definition at line 472 of file files-dock-widget.cc.
References display_directory(), and m_current_directory.
Referenced by files_dock_widget().
|
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().
|
slot |
Slot for handling the up-directory button in the toolbar.
Definition at line 477 of file files-dock-widget.cc.
References display_directory(), m_file_system_model, and m_file_tree_view.
Referenced by files_dock_widget().
|
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().
|
privateslot |
Context menu actions.
Definition at line 963 of file files-dock-widget.cc.
References get_selected_items_info(), and modify_path_signal().
Referenced by contextmenu_add_to_path_subdirs(), contextmenu_requested(), contextmenu_rm_from_path(), and contextmenu_rm_from_path_subdirs().
|
privateslot |
Context menu actions.
Definition at line 976 of file files-dock-widget.cc.
References contextmenu_add_to_path().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 767 of file files-dock-widget.cc.
References m, m_file_system_model, and m_file_tree_view.
Referenced by contextmenu_requested(), and copyClipboard().
|
privateslot |
Context menu actions.
Definition at line 826 of file files-dock-widget.cc.
References file_remove_signal(), file_renamed_signal(), m, m_file_system_model, m_file_tree_view, and warning().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 991 of file files-dock-widget.cc.
References m, m_file_system_model, m_file_tree_view, and process_find_files().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 786 of file files-dock-widget.cc.
References load_file_signal(), m, m_file_system_model, and m_file_tree_view.
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 939 of file files-dock-widget.cc.
References m, m_file_system_model, m_file_tree_view, and process_new_dir().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 923 of file files-dock-widget.cc.
References m, m_file_system_model, m_file_tree_view, and process_new_file().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 730 of file files-dock-widget.cc.
References display_directory(), m, m_file_system_model, and m_file_tree_view.
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 758 of file files-dock-widget.cc.
References m, m_file_tree_view, and open_item_in_app().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 744 of file files-dock-widget.cc.
References m, m_file_system_model, m_file_tree_view, and open_file().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 815 of file files-dock-widget.cc.
References m, and m_file_tree_view.
Referenced by files_dock_widget().
|
privateslot |
Context menu wanted.
Definition at line 633 of file files-dock-widget.cc.
References contextmenu_add_to_path(), contextmenu_add_to_path_subdirs(), contextmenu_copy_selection(), contextmenu_delete(), contextmenu_findfiles(), contextmenu_load(), contextmenu_newdir(), contextmenu_newfile(), contextmenu_open(), contextmenu_open_in_app(), contextmenu_open_in_editor(), contextmenu_rm_from_path(), contextmenu_rm_from_path_subdirs(), contextmenu_run(), contextmenu_setcurrentdir(), base_qobject::get_resource_manager(), resource_manager::icon(), m, m_file_system_model, m_file_tree_view, label_dock_widget::m_octave_qobj, and m_rename_action.
Referenced by files_dock_widget().
|
privateslot |
Context menu actions.
Definition at line 981 of file files-dock-widget.cc.
References contextmenu_add_to_path().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 986 of file files-dock-widget.cc.
References contextmenu_add_to_path().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 801 of file files-dock-widget.cc.
References m, m_file_system_model, m_file_tree_view, and run_file_signal().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 955 of file files-dock-widget.cc.
References get_selected_items_info(), and process_set_current_dir().
Referenced by contextmenu_requested().
|
privateslot |
Inherited from octave_doc_widget.
Definition at line 1137 of file files-dock-widget.cc.
References contextmenu_copy_selection(), m_current_directory, and m_file_tree_view.
|
slotinherited |
Definition at line 399 of file octave-dock-widget.cc.
Referenced by octave_dock_widget::toplevel_change().
|
private |
set a new directory or open a file
Definition at line 506 of file files-dock-widget.cc.
References fb_txt_file_ext(), base_qobject::get_resource_manager(), resource_manager::get_settings(), m_current_directory, m_file_system_model, m_file_tree_view, label_dock_widget::m_octave_qobj, m_sync_octave_dir, open_any_signal(), open_file(), and process_set_current_dir().
Referenced by accept_directory_line_edit(), change_directory_up(), contextmenu_open(), do_sync_browser_directory(), set_current_directory(), and update_octave_directory().
|
signal |
Emitted, whenever the currently displayed directory changed.
Referenced by main_window::adopt_file_browser_widget(), do_sync_octave_directory(), and process_set_current_dir().
|
slot |
Slot for handling the sync browser directory button in the toolbar.
Definition at line 494 of file files-dock-widget.cc.
References display_directory(), and m_octave_dir.
Referenced by files_dock_widget(), and notice_settings().
|
slot |
Slot for handling the sync octave directory button in the toolbar.
Definition at line 486 of file files-dock-widget.cc.
References displayed_directory_changed(), m_file_system_model, and m_file_tree_view.
Referenced by files_dock_widget().
|
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.
|
signal |
Emitted, whenever the user removes or renames a file.
Referenced by main_window::adopt_editor_widget(), contextmenu_delete(), and file_system_model::setData().
|
signal |
Emitted, when a file or directory is renamed.
Referenced by main_window::adopt_editor_widget(), contextmenu_delete(), and file_system_model::setData().
|
signal |
Emitted, whenever wants to search for a file .
Referenced by main_window::adopt_file_browser_widget(), and process_find_files().
|
protectedinherited |
Definition at line 445 of file octave-dock-widget.cc.
References Faddeeva::w().
Referenced by file_editor::editor_tab_has_focus().
|
private |
Get currently selected QFileInfo object.
Definition at line 902 of file files-dock-widget.cc.
References m, m_file_system_model, and m_file_tree_view.
Referenced by contextmenu_add_to_path(), and contextmenu_setcurrentdir().
|
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().
|
privateslot |
Definition at line 591 of file files-dock-widget.cc.
References base_qobject::get_resource_manager(), resource_manager::get_settings(), m_columns_shown, m_columns_shown_defs, m_columns_shown_keys, m_file_tree_view, label_dock_widget::m_octave_qobj, m_sig_mapper, and toggle_header().
Referenced by files_dock_widget().
|
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().
|
slot |
Slot for handling a change in directory via double click.
Definition at line 460 of file files-dock-widget.cc.
References m_file_system_model, and set_current_directory().
Referenced by files_dock_widget().
|
signal |
Emitted, whenever the user requested to load a file in the text editor.
Referenced by main_window::adopt_file_browser_widget(), and contextmenu_load().
|
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(), octave_dock_widget::octave_dock_widget(), variable_editor::variable_editor(), and octave_dock_widget::make_widget().
|
signal |
Emitted, when the path has to be modified.
Referenced by main_window::adopt_file_browser_widget(), and contextmenu_add_to_path().
|
slotinherited |
Definition at line 644 of file octave-dock-widget.cc.
References octave_dock_widget::event(), and octave_dock_widget::store_geometry().
|
slot |
Tells the widget to react on changed settings.
Definition at line 1009 of file files-dock-widget.cc.
References do_sync_browser_directory(), fb_sync_octdir(), global_icon_size(), global_icon_sizes, m_columns_shown_keys, m_file_system_model, m_file_tree_view, m_navigation_tool_bar, m_sync_browser_directory_action, m_sync_octave_dir, and m_sync_octave_directory_action.
Referenced by toggle_header().
|
signal |
Emitted, whenever the user requested to open an unknown type file.
Referenced by main_window::adopt_file_browser_widget(), and display_directory().
|
signal |
Emitted, whenever the user requested to open a file.
Referenced by main_window::adopt_file_browser_widget(), contextmenu_open_in_editor(), and display_directory().
|
private |
Definition at line 555 of file files-dock-widget.cc.
References m_file_system_model.
Referenced by contextmenu_open_in_app().
|
privateslot |
Inherited from octave_doc_widget.
Definition at line 1153 of file files-dock-widget.cc.
References m_current_directory.
|
privateslot |
Popdown menu options.
Definition at line 1078 of file files-dock-widget.cc.
References m_file_system_model, and process_find_files().
Referenced by files_dock_widget().
|
privateslot |
Popdown menu options.
Definition at line 1052 of file files-dock-widget.cc.
References Utils::fromStdString(), and set_current_directory().
Referenced by files_dock_widget().
|
privateslot |
Popdown menu options.
Definition at line 1083 of file files-dock-widget.cc.
References m_file_system_model, and process_new_dir().
Referenced by files_dock_widget().
|
privateslot |
Popdown menu options.
Definition at line 1088 of file files-dock-widget.cc.
References m_file_system_model, and process_new_file().
Referenced by files_dock_widget().
|
privateslot |
Popdown menu options.
Definition at line 1062 of file files-dock-widget.cc.
References base_qobject::get_resource_manager(), resource_manager::get_settings(), global_use_native_dialogs(), m_file_system_model, label_dock_widget::m_octave_qobj, and set_current_directory().
Referenced by files_dock_widget().
|
private |
Definition at line 1132 of file files-dock-widget.cc.
References find_files_signal().
Referenced by contextmenu_findfiles(), and popdownmenu_findfiles().
|
private |
Definition at line 1111 of file files-dock-widget.cc.
References m_file_system_model.
Referenced by contextmenu_newdir(), and popdownmenu_newdir().
|
private |
Process new file/directory actions.
Definition at line 1093 of file files-dock-widget.cc.
References m_file_system_model.
Referenced by contextmenu_newfile(), and popdownmenu_newfile().
|
private |
Process setting current dir or find in files.
Definition at line 1127 of file files-dock-widget.cc.
References displayed_directory_changed().
Referenced by contextmenu_setcurrentdir(), and display_directory().
|
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().
|
slotinherited |
Definition at line 652 of file octave-dock-widget.cc.
References octave_dock_widget::event(), and octave_dock_widget::store_geometry().
|
signal |
Emitted, whenever the user requested to run a file.
Referenced by main_window::adopt_file_browser_widget(), and contextmenu_run().
|
slot |
Definition at line 430 of file files-dock-widget.cc.
References fb_column_state(), fb_mru_list(), fb_sort_column(), fb_sort_order(), base_qobject::get_resource_manager(), resource_manager::get_settings(), gui_pref::key, m_current_directory, m_file_tree_view, label_dock_widget::m_octave_qobj, m_sig_mapper, and octave_dock_widget::save_settings().
|
privateslot |
Inherited from octave_doc_widget.
Definition at line 1165 of file files-dock-widget.cc.
References m_current_directory, and m_file_tree_view.
|
inlineinherited |
Definition at line 101 of file octave-dock-widget.h.
References octave_dock_widget::adopted(), and octave_dock_widget::m_adopted.
|
slot |
Sets the current directory being displayed.
Definition at line 467 of file files-dock-widget.cc.
References display_directory().
Referenced by files_dock_widget(), main_window::find_files(), item_double_clicked(), popdownmenu_home(), and popdownmenu_search_dir().
|
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(), variable_editor::variable_editor(), history_dock_widget::construct(), file_editor::construct(), and variable_editor::edit_variable().
|
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().
|
privateslot |
Definition at line 565 of file files-dock-widget.cc.
References base_qobject::get_resource_manager(), resource_manager::get_settings(), m_columns_shown_keys, m_file_tree_view, label_dock_widget::m_octave_qobj, and notice_settings().
Referenced by headercontextmenu_requested().
|
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 |
Set the internal variable that holds the actual octave variable.
Definition at line 499 of file files-dock-widget.cc.
References display_directory(), m_octave_dir, and m_sync_octave_dir.
Referenced by base_qobject::file_browser_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().
|
private |
Definition at line 232 of file files-dock-widget.h.
Referenced by files_dock_widget(), and headercontextmenu_requested().
|
private |
Definition at line 234 of file files-dock-widget.h.
Referenced by files_dock_widget(), and headercontextmenu_requested().
|
private |
Definition at line 233 of file files-dock-widget.h.
Referenced by files_dock_widget(), headercontextmenu_requested(), notice_settings(), and toggle_header().
|
private |
The file system view.
Definition at line 219 of file files-dock-widget.h.
Referenced by files_dock_widget(), accept_directory_line_edit(), copyClipboard(), display_directory(), pasteClipboard(), save_settings(), and selectAll().
|
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().
|
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().
|
private |
The file system model.
Definition at line 214 of file files-dock-widget.h.
Referenced by files_dock_widget(), change_directory_up(), contextmenu_copy_selection(), contextmenu_delete(), contextmenu_findfiles(), contextmenu_load(), contextmenu_newdir(), contextmenu_newfile(), contextmenu_open(), contextmenu_open_in_editor(), contextmenu_requested(), contextmenu_run(), display_directory(), do_sync_octave_directory(), get_selected_items_info(), item_double_clicked(), notice_settings(), open_item_in_app(), popdownmenu_findfiles(), popdownmenu_newdir(), popdownmenu_newfile(), popdownmenu_search_dir(), process_new_dir(), and process_new_file().
|
private |
The file system view.
Definition at line 218 of file files-dock-widget.h.
Referenced by files_dock_widget(), change_directory_up(), contextmenu_copy_selection(), contextmenu_delete(), contextmenu_findfiles(), contextmenu_load(), contextmenu_newdir(), contextmenu_newfile(), contextmenu_open(), contextmenu_open_in_app(), contextmenu_open_in_editor(), contextmenu_rename(), contextmenu_requested(), contextmenu_run(), copyClipboard(), display_directory(), do_sync_octave_directory(), get_selected_items_info(), headercontextmenu_requested(), notice_settings(), save_settings(), selectAll(), and toggle_header().
|
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().
|
private |
Variables for the actions.
Definition at line 207 of file files-dock-widget.h.
Referenced by files_dock_widget(), and notice_settings().
|
private |
The actual Octave directory.
Definition at line 228 of file files-dock-widget.h.
Referenced by files_dock_widget(), do_sync_browser_directory(), and update_octave_directory().
|
protectedinherited |
Definition at line 73 of file octave-dock-widget.h.
Referenced by 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(), contextmenu_requested(), history_dock_widget::ctxMenu(), 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(), 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(), popdownmenu_search_dir(), file_editor::request_open_file(), file_editor::save_session(), 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(), 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().
|
private |
Definition at line 210 of file files-dock-widget.h.
Referenced by files_dock_widget(), and contextmenu_requested().
|
private |
Definition at line 235 of file files-dock-widget.h.
Referenced by files_dock_widget(), headercontextmenu_requested(), and save_settings().
|
private |
Definition at line 209 of file files-dock-widget.h.
Referenced by files_dock_widget(), and notice_settings().
|
private |
Flag if syncing with Octave.
Definition at line 224 of file files-dock-widget.h.
Referenced by files_dock_widget(), display_directory(), notice_settings(), and update_octave_directory().
|
private |
Definition at line 208 of file files-dock-widget.h.
Referenced by files_dock_widget(), and notice_settings().
|
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().