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 | item_double_clicked (const QModelIndex &index) |
Slot for handling a change in directory via double click. More... | |
QMainWindow * | main_win (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) |
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 | interpreter_event (const fcn_callback &fcn) |
void | interpreter_event (const meth_callback &meth) |
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 octave_value_list &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 | |
virtual void | connect_visibility_changed (void) |
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 | handle_visibility_changed (bool visible) |
Slot to steer changing visibility from outside. 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) |
Private Attributes | |
QColor | m_bg_color |
QColor | m_bg_color_active |
QStringList | m_columns_shown |
QList< QVariant > | m_columns_shown_defs |
QStringList | m_columns_shown_keys |
bool | m_custom_style |
QColor | m_fg_color |
QColor | m_fg_color_active |
QFileSystemModel * | m_file_system_model |
The file system model. More... | |
QString | m_icon_color |
QString | m_icon_color_active |
QToolBar * | m_navigation_tool_bar |
Variables for the actions. More... | |
QString | m_octave_dir |
The actual Octave directory. More... | |
QMainWindow * | m_parent |
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 |
QSignalMapper * | m_sig_mapper |
QAction * | m_sync_browser_directory_action |
bool | m_sync_octave_dir |
Flag if syncing with Octave. More... | |
QAction * | m_sync_octave_directory_action |
int | m_title_3d |
bool | m_waiting_for_mouse_button_release |
QTreeView * | m_file_tree_view |
The file system view. More... | |
QComboBox * | m_current_directory |
The file system view. More... | |
Dock widget to display files in the current directory.
Definition at line 55 of file files-dock-widget.h.
|
private |
Enumerator | |
---|---|
MaxMRUDirs |
Definition at line 231 of file files-dock-widget.h.
octave::files_dock_widget::files_dock_widget | ( | QWidget * | parent, |
base_qobject & | oct_qobj | ||
) |
Definition at line 74 of file files-dock-widget.cc.
References accept_directory_line_edit(), change_directory_up(), contextmenu_requested(), gui_pref::def, displayed_directory_changed(), 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(), octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), headercontextmenu_requested(), octave::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, octave::label_dock_widget::m_octave_qobj, m_sig_mapper, m_sync_browser_directory_action, m_sync_octave_dir, m_sync_octave_directory_action, octave::octave_dock_widget::main_win(), MaxMRUDirs, modify_path_signal(), open_file(), popdownmenu_findfiles(), popdownmenu_home(), popdownmenu_newdir(), popdownmenu_newfile(), popdownmenu_search_dir(), run_file_signal(), set_current_directory(), and octave::label_dock_widget::set_title().
|
default |
|
slot |
Accepts user input a the line edit for the current directory.
Definition at line 353 of file files-dock-widget.cc.
References display_directory(), and m_current_directory.
Referenced by files_dock_widget().
|
virtualslotinherited |
Definition at line 627 of file octave-dock-widget.cc.
Referenced by octave::file_editor::activate(), octave::main_window::focus_command_window(), octave::main_window::focus_window(), and octave::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::octave_dock_widget::change_visibility(), octave::octave_dock_widget::closeEvent(), octave::octave_dock_widget::connect_visibility_changed(), and octave::octave_dock_widget::handle_visibility_changed().
|
slot |
Slot for handling the up-directory button in the toolbar.
Definition at line 358 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 621 of file octave-dock-widget.cc.
References octave::octave_dock_widget::active_changed().
Referenced by octave::octave_dock_widget::octave_dock_widget().
|
protectedvirtualinherited |
Reimplemented in octave::file_editor.
Definition at line 407 of file octave-dock-widget.cc.
References octave::octave_dock_widget::active_changed(), octave::octave_dock_widget::save_settings(), and octave::octave_dock_widget::set_focus_predecessor().
Referenced by octave::variable_editor::closeEvent(), and octave::file_editor::closeEvent().
|
virtualinherited |
Definition at line 267 of file octave-dock-widget.cc.
References octave::octave_dock_widget::active_changed(), and octave::octave_dock_widget::handle_visibility().
|
privateslot |
Context menu actions.
Definition at line 832 of file files-dock-widget.cc.
References octave_value_list::append(), get_selected_items_info(), modify_path_signal(), and ovl().
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 845 of file files-dock-widget.cc.
References contextmenu_add_to_path().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 637 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 721 of file files-dock-widget.cc.
References file_remove_signal(), file_renamed_signal(), m, m_file_system_model, m_file_tree_view, path, and warning().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 860 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 656 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 808 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 792 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 600 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 628 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 614 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 685 of file files-dock-widget.cc.
References octave::f(), file_remove_signal(), file_renamed_signal(), m, m_file_system_model, m_file_tree_view, and path.
Referenced by contextmenu_requested().
|
privateslot |
Context menu wanted.
Definition at line 500 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_rename(), contextmenu_rm_from_path(), contextmenu_rm_from_path_subdirs(), contextmenu_run(), contextmenu_setcurrentdir(), octave::base_qobject::get_resource_manager(), octave::resource_manager::icon(), m, m_file_system_model, m_file_tree_view, and octave::label_dock_widget::m_octave_qobj.
Referenced by files_dock_widget().
|
privateslot |
Context menu actions.
Definition at line 850 of file files-dock-widget.cc.
References contextmenu_add_to_path().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 855 of file files-dock-widget.cc.
References contextmenu_add_to_path().
Referenced by contextmenu_requested().
|
privateslot |
Context menu actions.
Definition at line 671 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 824 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 1006 of file files-dock-widget.cc.
References contextmenu_copy_selection(), m_current_directory, and m_file_tree_view.
|
slotinherited |
Definition at line 393 of file octave-dock-widget.cc.
Referenced by octave::octave_dock_widget::toplevel_change().
|
private |
set a new directory or open a file
Definition at line 387 of file files-dock-widget.cc.
References fb_txt_file_ext(), octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), m_current_directory, m_file_system_model, m_file_tree_view, octave::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 files_dock_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 375 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 367 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 67 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget().
|
protectedinherited |
Definition at line 426 of file octave-dock-widget.cc.
References octave::octave_dock_widget::m_waiting_for_mouse_button_release, octave::octave_dock_widget::queue_make_window(), and retval.
Referenced by octave::variable_editor::edit_variable(), octave::octave_dock_widget::moveEvent(), and octave::octave_dock_widget::resizeEvent().
|
protectedslotinherited |
Event filter for double clicks into the window decoration elements.
Definition at line 578 of file octave-dock-widget.cc.
|
signal |
Emitted, whenever the user removes or renames a file.
Referenced by contextmenu_delete(), and contextmenu_rename().
|
signal |
Emitted, when a file or directory is renamed.
Referenced by contextmenu_delete(), and contextmenu_rename().
|
signal |
Emitted, whenever wants to search for a file .
Referenced by process_find_files().
|
protectedinherited |
Definition at line 418 of file octave-dock-widget.cc.
References Faddeeva::w().
Referenced by octave::file_editor::editor_tab_has_focus().
|
private |
Get currently selected QFileInfo object.
Definition at line 771 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 536 of file octave-dock-widget.cc.
References octave::octave_dock_widget::m_custom_style, and octave::octave_dock_widget::set_style().
Referenced by octave::octave_dock_widget::octave_dock_widget().
|
slotinherited |
Definition at line 447 of file octave-dock-widget.cc.
References gui_pref::def, dw_dock_geometry(), dw_float_geometry(), 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::octave_dock_widget::m_bg_color, octave::octave_dock_widget::m_bg_color_active, octave::octave_dock_widget::m_custom_style, octave::octave_dock_widget::m_fg_color, octave::octave_dock_widget::m_fg_color_active, octave::octave_dock_widget::m_icon_color, octave::octave_dock_widget::m_icon_color_active, octave::octave_dock_widget::m_parent, octave::octave_dock_widget::m_recent_dock_geom, octave::octave_dock_widget::m_recent_float_geom, octave::octave_dock_widget::m_title_3d, octave::label_dock_widget::m_title_widget, octave::octave_dock_widget::notice_settings(), r, octave::octave_dock_widget::set_style(), Faddeeva::w(), and x.
Referenced by octave::octave_dock_widget::octave_dock_widget().
|
virtualslotinherited |
Definition at line 637 of file octave-dock-widget.cc.
Referenced by octave::octave_dock_widget::connect_visibility_changed(), and octave::history_dock_widget::handle_visibility().
|
inlineprotectedvirtualslotinherited |
Slot to steer changing visibility from outside.
Definition at line 153 of file octave-dock-widget.h.
References octave::octave_dock_widget::active_changed().
Referenced by octave::octave_dock_widget::octave_dock_widget(), and octave::terminal_dock_widget::terminal_dock_widget().
|
privateslot |
Definition at line 472 of file files-dock-widget.cc.
References octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), m_columns_shown, m_columns_shown_defs, m_columns_shown_keys, m_file_tree_view, octave::label_dock_widget::m_octave_qobj, m_sig_mapper, and toggle_header().
Referenced by files_dock_widget().
|
signalinherited |
|
signalinherited |
|
slot |
Slot for handling a change in directory via double click.
Definition at line 341 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 contextmenu_load().
|
inlineslotinherited |
Definition at line 133 of file octave-dock-widget.h.
References octave::octave_dock_widget::m_parent.
Referenced by files_dock_widget(), octave::file_editor::construct(), octave::file_editor::empty_script(), octave::file_editor::find_create(), octave::file_editor::is_editor_console_tabbed(), octave::file_editor::make_file_editor_tab(), and octave::variable_editor::tab_to_front().
|
slotinherited |
Definition at line 343 of file octave-dock-widget.cc.
References octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), gui_pref::key, octave::label_dock_widget::m_default_float_button, octave::label_dock_widget::m_dock_action, octave::octave_dock_widget::m_icon_color, octave::label_dock_widget::m_octave_qobj, octave::octave_dock_widget::m_parent, octave::octave_dock_widget::m_recent_dock_geom, octave::octave_dock_widget::make_window(), mw_state(), and octave::octave_dock_widget::set_style().
Referenced by octave::octave_dock_widget::octave_dock_widget(), and octave::octave_dock_widget::make_window().
|
slotinherited |
Definition at line 276 of file octave-dock-widget.cc.
References octave::label_dock_widget::m_default_float_button, octave::label_dock_widget::m_dock_action, octave::octave_dock_widget::m_icon_color, octave::octave_dock_widget::m_parent, octave::octave_dock_widget::m_recent_float_geom, octave::octave_dock_widget::m_waiting_for_mouse_button_release, octave::octave_dock_widget::make_widget(), octave::octave_dock_widget::set_focus_predecessor(), and octave::octave_dock_widget::set_style().
Referenced by octave::octave_dock_widget::octave_dock_widget(), and octave::octave_dock_widget::make_widget().
|
signal |
Emitted, when the path has to be modified.
Referenced by files_dock_widget(), and contextmenu_add_to_path().
|
slotinherited |
Definition at line 604 of file octave-dock-widget.cc.
References octave::octave_dock_widget::event(), and octave::octave_dock_widget::store_geometry().
|
slot |
Tells the widget to react on changed settings.
Definition at line 878 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 display_directory().
|
signal |
Emitted, whenever the user requested to open a file.
Referenced by files_dock_widget(), contextmenu_open_in_editor(), and display_directory().
|
private |
Definition at line 436 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 1022 of file files-dock-widget.cc.
References m_current_directory.
|
privateslot |
Popdown menu options.
Definition at line 947 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 921 of file files-dock-widget.cc.
References QtHandles::Utils::fromStdString(), octave::sys::env::get_home_directory(), and set_current_directory().
Referenced by files_dock_widget().
|
privateslot |
Popdown menu options.
Definition at line 952 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 957 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 931 of file files-dock-widget.cc.
References octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), global_use_native_dialogs(), m_file_system_model, octave::label_dock_widget::m_octave_qobj, and set_current_directory().
Referenced by files_dock_widget().
|
private |
Definition at line 1001 of file files-dock-widget.cc.
References find_files_signal().
Referenced by contextmenu_findfiles(), and popdownmenu_findfiles().
|
private |
Definition at line 980 of file files-dock-widget.cc.
References m_file_system_model, and name.
Referenced by contextmenu_newdir(), and popdownmenu_newdir().
|
private |
Process new file/directory actions.
Definition at line 962 of file files-dock-widget.cc.
References m_file_system_model, and name.
Referenced by contextmenu_newfile(), and popdownmenu_newfile().
|
private |
Process setting current dir or find in files.
Definition at line 996 of file files-dock-widget.cc.
References displayed_directory_changed().
Referenced by contextmenu_setcurrentdir(), and display_directory().
|
signalinherited |
|
signalinherited |
Referenced by octave::octave_dock_widget::octave_dock_widget(), and octave::octave_dock_widget::event().
|
slotinherited |
Definition at line 612 of file octave-dock-widget.cc.
References octave::octave_dock_widget::event(), and octave::octave_dock_widget::store_geometry().
|
signal |
Emitted, whenever the user requested to run a file.
Referenced by files_dock_widget(), and contextmenu_run().
|
slot |
Definition at line 311 of file files-dock-widget.cc.
References fb_column_state(), fb_mru_list(), fb_sort_column(), fb_sort_order(), octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), gui_pref::key, m_current_directory, m_file_tree_view, octave::label_dock_widget::m_octave_qobj, m_sig_mapper, and octave::octave_dock_widget::save_settings().
|
privateslot |
Inherited from octave_doc_widget.
Definition at line 1034 of file files-dock-widget.cc.
References m_current_directory, and m_file_tree_view.
|
slot |
Sets the current directory being displayed.
Definition at line 348 of file files-dock-widget.cc.
References display_directory().
Referenced by files_dock_widget(), item_double_clicked(), popdownmenu_home(), and popdownmenu_search_dir().
|
privateinherited |
Definition at line 783 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(), octave::base_qobject::get_resource_manager(), gui_pref::key, octave::label_dock_widget::m_octave_qobj, octave::octave_dock_widget::m_predecessor_widget, and octave::resource_manager::update_settings_key().
Referenced by octave::octave_dock_widget::closeEvent(), and octave::octave_dock_widget::make_window().
|
inherited |
Definition at line 400 of file octave-dock-widget.cc.
References octave::octave_dock_widget::m_predecessor_widget.
Referenced by octave::main_window::focus_changed().
|
privateinherited |
Definition at line 685 of file octave-dock-widget.cc.
References octave::octave_dock_widget::m_bg_color, octave::octave_dock_widget::m_bg_color_active, octave::label_dock_widget::m_close_action, octave::label_dock_widget::m_close_button, octave::octave_dock_widget::m_custom_style, octave::label_dock_widget::m_dock_action, octave::label_dock_widget::m_dock_button, octave::octave_dock_widget::m_fg_color, octave::octave_dock_widget::m_fg_color_active, octave::octave_dock_widget::m_icon_color, octave::octave_dock_widget::m_icon_color_active, octave::label_dock_widget::m_icon_size, octave::octave_dock_widget::m_title_3d, and octave::qdockwidget_css().
Referenced by octave::octave_dock_widget::handle_active_dock_changed(), octave::octave_dock_widget::handle_settings(), octave::octave_dock_widget::make_widget(), and octave::octave_dock_widget::make_window().
|
inherited |
Definition at line 119 of file octave-dock-widget.cc.
References octave::label_dock_widget::m_title_widget.
Referenced by octave::documentation_dock_widget::documentation_dock_widget(), files_dock_widget(), octave::terminal_dock_widget::terminal_dock_widget(), octave::variable_editor::variable_editor(), octave::workspace_view::workspace_view(), octave::history_dock_widget::construct(), octave::file_editor::construct(), and octave::variable_editor::edit_variable().
|
privateinherited |
Definition at line 590 of file octave-dock-widget.cc.
References octave::octave_dock_widget::m_recent_dock_geom, and octave::octave_dock_widget::m_recent_float_geom.
Referenced by octave::octave_dock_widget::moveEvent(), octave::octave_dock_widget::resizeEvent(), and octave::octave_dock_widget::save_settings().
|
privateslot |
Definition at line 446 of file files-dock-widget.cc.
References octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), m_columns_shown_keys, m_file_tree_view, octave::label_dock_widget::m_octave_qobj, and notice_settings().
Referenced by headercontextmenu_requested().
|
protectedvirtualslotinherited |
Definition at line 644 of file octave-dock-widget.cc.
References octave::octave_dock_widget::default_dock(), octave::label_dock_widget::m_default_float_button, octave::label_dock_widget::m_dock_action, octave::octave_dock_widget::m_waiting_for_mouse_button_release, and octave::octave_dock_widget::queue_make_widget().
Referenced by octave::octave_dock_widget::octave_dock_widget().
|
slot |
Set the internal variable that holds the actual octave variable.
Definition at line 380 of file files-dock-widget.cc.
References display_directory(), m_octave_dir, and m_sync_octave_dir.
|
privateinherited |
Definition at line 179 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
privateinherited |
Definition at line 180 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 78 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), octave::octave_dock_widget::octave_dock_widget(), octave::variable_dock_widget::variable_dock_widget(), and octave::octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 76 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), and octave::octave_dock_widget::set_style().
|
private |
Definition at line 233 of file files-dock-widget.h.
Referenced by files_dock_widget(), and headercontextmenu_requested().
|
private |
Definition at line 235 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(), headercontextmenu_requested(), notice_settings(), and toggle_header().
|
private |
The file system view.
Definition at line 220 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 177 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_active_dock_changed(), octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 81 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget().
|
protectedinherited |
Definition at line 80 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), octave::octave_dock_widget::octave_dock_widget(), octave::octave_dock_widget::make_widget(), octave::octave_dock_widget::make_window(), and octave::octave_dock_widget::toplevel_change().
|
protectedinherited |
Definition at line 77 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), octave::octave_dock_widget::octave_dock_widget(), octave::variable_dock_widget::variable_dock_widget(), octave::octave_dock_widget::make_widget(), octave::octave_dock_widget::make_window(), octave::octave_dock_widget::set_style(), octave::octave_dock_widget::toplevel_change(), and octave::variable_dock_widget::toplevel_change().
|
protectedinherited |
Definition at line 75 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), and octave::octave_dock_widget::set_style().
|
privateinherited |
Definition at line 181 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
privateinherited |
Definition at line 182 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
private |
The file system model.
Definition at line 215 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_rename(), 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 219 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 |
|
privateinherited |
Definition at line 184 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 73 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), octave::octave_dock_widget::octave_dock_widget(), octave::variable_dock_widget::variable_dock_widget(), and octave::octave_dock_widget::set_style().
|
private |
Variables for the actions.
Definition at line 209 of file files-dock-widget.h.
Referenced by files_dock_widget(), and notice_settings().
|
private |
The actual Octave directory.
Definition at line 229 of file files-dock-widget.h.
Referenced by files_dock_widget(), do_sync_browser_directory(), and update_octave_directory().
|
protectedinherited |
Definition at line 71 of file octave-dock-widget.h.
Referenced by files_dock_widget(), octave::octave_dock_widget::octave_dock_widget(), octave::terminal_dock_widget::terminal_dock_widget(), octave::variable_dock_widget::variable_dock_widget(), octave::workspace_view::workspace_view(), octave::file_editor::call_custom_editor(), octave::variable_dock_widget::change_floating(), octave::variable_dock_widget::change_fullscreen(), octave::file_editor::closeEvent(), octave::history_dock_widget::construct(), octave::file_editor::construct(), octave::variable_editor::construct_tool_bar(), contextmenu_requested(), octave::history_dock_widget::ctxMenu(), display_directory(), octave::variable_editor::edit_variable(), octave::file_editor::empty_script(), octave::file_editor::find_create(), octave::file_editor::handle_enter_debug_mode(), octave::file_editor::handle_exit_debug_mode(), octave::file_editor::handle_file_name_changed(), octave::file_editor::handle_visibility(), octave::workspace_view::header_contextmenu_requested(), headercontextmenu_requested(), octave::file_editor::make_file_editor_tab(), octave::octave_dock_widget::make_widget(), octave::file_editor::mru_menu_update(), popdownmenu_search_dir(), octave::file_editor::request_open_file(), octave::file_editor::save_session(), save_settings(), octave::history_dock_widget::save_settings(), octave::octave_dock_widget::save_settings(), octave::workspace_view::save_settings(), octave::octave_dock_widget::set_focus_predecessor(), octave::file_editor::set_shortcuts(), octave::workspace_view::setModel(), toggle_header(), octave::workspace_view::toggle_header(), and octave::file_editor::toggle_preference().
|
privateinherited |
Stores the parent, since we are reparenting to 0.
Definition at line 175 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::octave_dock_widget(), octave::octave_dock_widget::handle_settings(), octave::octave_dock_widget::main_win(), octave::octave_dock_widget::make_widget(), and octave::octave_dock_widget::make_window().
|
privateinherited |
Definition at line 185 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::octave_dock_widget(), octave::octave_dock_widget::set_focus_predecessor(), and octave::octave_dock_widget::set_predecessor_widget().
|
privateinherited |
Definition at line 187 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), octave::octave_dock_widget::make_widget(), octave::octave_dock_widget::save_settings(), and octave::octave_dock_widget::store_geometry().
|
privateinherited |
Definition at line 186 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), octave::octave_dock_widget::make_window(), octave::octave_dock_widget::save_settings(), and octave::octave_dock_widget::store_geometry().
|
private |
Definition at line 236 of file files-dock-widget.h.
Referenced by files_dock_widget(), headercontextmenu_requested(), and save_settings().
|
private |
Definition at line 211 of file files-dock-widget.h.
Referenced by files_dock_widget(), and notice_settings().
|
private |
Flag if syncing with Octave.
Definition at line 225 of file files-dock-widget.h.
Referenced by files_dock_widget(), display_directory(), notice_settings(), and update_octave_directory().
|
private |
Definition at line 210 of file files-dock-widget.h.
Referenced by files_dock_widget(), and notice_settings().
|
privateinherited |
Definition at line 178 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::octave_dock_widget(), octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 74 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), octave::variable_dock_widget::variable_dock_widget(), octave::octave_dock_widget::handle_settings(), and octave::label_dock_widget::set_title().
|
privateinherited |
Definition at line 188 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::event(), octave::octave_dock_widget::make_window(), and octave::octave_dock_widget::toplevel_change().