Represents the main window. More...
#include "main-window.h"
Public Types | |
typedef std::pair< int, int > | int_pair |
typedef std::pair< std::string, std::string > | name_pair |
Public Slots | |
void | accept_directory_line_edit (void) |
void | browse_for_directory (void) |
void | change_directory (const QString &dir) |
void | change_directory_up (void) |
void | confirm_shutdown_octave (void) |
void | connect_uiwidget_links (void) |
void | connect_visibility_changed (void) |
void | copy_image_to_clipboard (const QString &file, bool remove_file) |
void | copyClipboard (void) |
void | debug_continue (void) |
void | debug_quit (void) |
void | debug_step_into (void) |
void | debug_step_out (void) |
void | debug_step_over (void) |
void | display_community_news (const QString &news) |
void | display_release_notes (void) |
void | edit_mfile (const QString &, int) |
void | execute_command_in_terminal (const QString &dir) |
void | focus_changed (QWidget *w_old, QWidget *w_new) |
QList< octave_dock_widget * > | get_dock_widget_list (void) |
Returns a list of dock widgets. More... | |
void | handle_clear_command_window_request (void) |
void | handle_clear_history_request (void) |
void | handle_clear_workspace_request (void) |
void | handle_create_dialog (const QString &message, const QString &title, const QString &icon, const QStringList &button, const QString &defbutton, const QStringList &role) |
void | handle_create_filedialog (const QStringList &filters, const QString &title, const QString &filename, const QString &dirname, const QString &multimode) |
void | handle_create_inputlayout (const QStringList &, const QString &, const QFloatList &, const QFloatList &, const QStringList &) |
void | handle_create_listview (const QStringList &list, const QString &mode, int width, int height, const QIntList &initial, const QString &name, const QStringList &prompt, const QString &ok_string, const QString &cancel_string) |
void | handle_delete_debugger_pointer_request (const QString &file, int line) |
void | handle_edit_mfile_request (const QString &name, const QString &file, const QString &curr_dir, int line) |
void | handle_enter_debugger (void) |
void | handle_exit_debugger (void) |
void | handle_insert_debugger_pointer_request (const QString &file, int line) |
void | handle_load_workspace_request (const QString &file=QString()) |
void | handle_new_figure_request (void) |
void | handle_octave_finished (int) |
void | handle_octave_ready () |
void | handle_register_doc (const QString &file) |
void | handle_rename_variable_request (const QString &old_name, const QString &new_name) |
void | handle_save_workspace_request (void) |
void | handle_show_doc (const QString &file) |
void | handle_undo_request (void) |
void | handle_unregister_doc (const QString &file) |
void | handle_update_breakpoint_marker_request (bool insert, const QString &file, int line, const QString &cond) |
void | init_terminal_size (void) |
void | load_and_display_community_news (int serial=-1) |
void | new_file (const QString &commands=QString()) |
void | notice_settings (const QSettings *settings) |
void | open_bug_tracker_page (void) |
void | open_contribute_page (void) |
void | open_donate_page (void) |
void | open_file (const QString &file_name=QString(), int line=-1) |
void | open_octave_packages_page (void) |
void | open_online_documentation_page (void) |
void | pasteClipboard (void) |
void | prepare_to_exit (void) |
void | process_settings_dialog_request (const QString &desired_tab=QString()) |
void | read_settings (void) |
void | report_status_message (const QString &statusMessage) |
void | request_new_function (bool triggered=true) |
void | request_new_script (const QString &commands=QString()) |
void | request_open_file (void) |
void | request_reload_settings (void) |
void | reset_windows (void) |
void | run_file_in_terminal (const QFileInfo &info) |
void | selectAll (void) |
void | set_current_working_directory (const QString &dir) |
void | set_global_shortcuts (bool enable) |
Setting global shortcuts. More... | |
void | set_screen_size (int ht, int wd) |
void | set_window_layout (QSettings *settings) |
void | show_about_octave (void) |
void | write_settings (void) |
void | find_files (const QString &startdir=QDir::currentPath()) |
Find files dialog. More... | |
void | find_files_finished (int) |
Find files dialog. More... | |
void | clipboard_has_changed (void) |
Handling the clipboard. More... | |
void | clear_clipboard () |
Handling the clipboard. More... | |
Signals | |
void | active_dock_changed (octave_dock_widget *, octave_dock_widget *) |
void | add_actions_signal (QList< QAction *> action_list) |
void | copyClipboard_signal (void) |
void | delete_debugger_pointer_signal (const QString &file, int line) |
void | editor_focus_changed (bool) |
void | init_terminal_size_signal (void) |
void | insert_debugger_pointer_signal (const QString &file, int line) |
void | new_file_signal (const QString &) |
void | open_file_signal (const QString &) |
void | open_file_signal (const QString &file, const QString &enc, int line) |
void | pasteClipboard_signal (void) |
void | register_doc_signal (const QString &) |
void | selectAll_signal (void) |
void | settings_changed (const QSettings *) |
void | show_doc_signal (const QString &) |
void | undo_signal (void) |
void | unregister_doc_signal (const QString &) |
void | update_breakpoint_marker_signal (bool insert, const QString &file, int line, const QString &cond) |
Public Member Functions | |
main_window (QWidget *parent, gui_application *app_context) | |
~main_window (void) | |
bool | command_window_has_focus (void) const |
void | focus_command_window (void) |
Protected Member Functions | |
void | closeEvent (QCloseEvent *closeEvent) |
Private Slots | |
void | disable_menu_shortcuts (bool disable) |
void | edit_variable (const QString &name, const octave_value &) |
Opens the variable editor for name . More... | |
void | handle_variable_editor_update (void) |
void | refresh_variable_editor (void) |
void | request_open_files (const QStringList &open_file_names) |
void | restore_create_file_setting (void) |
void | set_file_encoding (const QString &new_encoding) |
Represents the main window.
Definition at line 96 of file main-window.h.
typedef std::pair<int, int> octave::main_window::int_pair |
Definition at line 103 of file main-window.h.
typedef std::pair<std::string, std::string> octave::main_window::name_pair |
Definition at line 102 of file main-window.h.
octave::main_window::main_window | ( | QWidget * | parent, |
gui_application * | app_context | ||
) |
Definition at line 144 of file main-window.cc.
References construct(), create_default_editor(), octave::resource_manager::get_settings(), handle_octave_finished(), handle_octave_ready(), load_and_display_community_news(), m_active_dock, m_active_editor, m_command_window, m_doc_browser_window, m_editor_window, m_external_editor, m_file_browser_window, m_history_window, m_interpreter, m_main_thread, m_start_gui, m_status_bar, m_variable_editor_window, m_workspace_model, m_workspace_window, and OCTAVE_VERSION.
octave::main_window::~main_window | ( | void | ) |
Definition at line 230 of file main-window.cc.
References m_command_window, m_community_news_window, m_doc_browser_window, m_editor_window, m_external_editor, m_file_browser_window, m_find_files_dlg, m_history_window, m_interpreter, m_release_notes_window, m_settings_dlg, m_status_bar, m_variable_editor_window, m_workspace_model, and m_workspace_window.
|
slot |
Definition at line 869 of file main-window.cc.
References m_current_directory_combo_box, and set_current_working_directory().
Referenced by construct_tool_bar().
|
signal |
Referenced by focus_changed(), and notice_settings().
|
private |
Definition at line 2006 of file main-window.cc.
References a.
Referenced by construct_debug_menu_item(), construct_documentation_menu(), construct_help_menu(), construct_news_menu(), and construct_window_menu().
|
signal |
|
slot |
Definition at line 832 of file main-window.cc.
References focus_command_window(), and set_current_working_directory().
Referenced by construct_tool_bar().
|
slot |
Definition at line 817 of file main-window.cc.
References m_current_directory_combo_box.
Referenced by construct_octave_qt_link().
|
private |
Definition at line 2581 of file main-window.cc.
References directory, Fcd(), and ovl().
Referenced by set_current_working_directory().
|
slot |
Definition at line 860 of file main-window.cc.
References set_current_working_directory().
Referenced by construct_tool_bar().
|
slot |
Handling the clipboard.
Definition at line 1644 of file main-window.cc.
References m_clipboard.
Referenced by construct_edit_menu().
|
private |
Definition at line 2514 of file main-window.cc.
References octave::command_editor::clear_screen(), and octave::command_editor::kill_full_line().
Referenced by handle_clear_command_window_request().
|
private |
Definition at line 2546 of file main-window.cc.
References ovl().
Referenced by handle_clear_history_request().
|
private |
Definition at line 2536 of file main-window.cc.
References octave::__get_interpreter__().
Referenced by handle_clear_workspace_request().
|
slot |
Handling the clipboard.
Definition at line 1630 of file main-window.cc.
References m_clear_clipboard_action, m_clipboard, and m_paste_action.
Referenced by construct_edit_menu().
|
protected |
Definition at line 1710 of file main-window.cc.
References octave::octave_command_queue::add_cmd(), e, and m_cmd_queue.
bool octave::main_window::command_window_has_focus | ( | void | ) | const |
Definition at line 273 of file main-window.cc.
References octave::terminal_dock_widget::has_focus(), and m_command_window.
Referenced by handle_delete_debugger_pointer_request(), handle_insert_debugger_pointer_request(), handle_undo_request(), and handle_update_breakpoint_marker_request().
|
private |
Definition at line 2506 of file main-window.cc.
References octave::command_editor::redisplay(), and octave::command_editor::undo().
Referenced by handle_undo_request().
|
private |
Definition at line 2588 of file main-window.cc.
References m_about_octave_action, m_clear_clipboard_action, m_clear_command_history_action, m_clear_command_window_action, m_clear_workspace_action, m_command_window_action, m_contribute_action, m_copy_action, m_current_news_action, m_debug_continue, m_debug_quit, m_debug_step_into, m_debug_step_out, m_debug_step_over, m_developer_action, m_documentation_action, m_editor_action, m_exit_action, m_file_browser_action, m_find_files_action, m_history_action, m_load_workspace_action, m_new_function_action, m_new_script_action, m_octave_packages_action, m_ondisk_doc_action, m_online_doc_action, m_open_action, m_paste_action, m_preferences_action, m_release_notes_action, m_report_bug_action, m_reset_windows_action, m_save_workspace_action, m_select_all_action, m_show_command_window_action, m_show_documentation_action, m_show_editor_action, m_show_file_browser_action, m_show_history_action, m_show_variable_editor_action, m_show_workspace_action, m_undo_action, m_variable_editor_action, m_workspace_action, and octave::shortcut_manager::set_shortcut().
Referenced by construct(), notice_settings(), and set_global_shortcuts().
|
slot |
Definition at line 760 of file main-window.cc.
References octave::file_editor_interface::check_closing(), octave::resource_manager::get_settings(), octave::octave_qt_link::lock(), m_editor_window, m_octave_qt_link, m_start_gui, octave::octave_qt_link::shutdown_confirmation(), octave::octave_qt_link::unlock(), and octave::octave_qt_link::wake_all().
Referenced by construct_octave_qt_link().
|
slot |
Definition at line 1360 of file main-window.cc.
References handle_create_dialog(), handle_create_filedialog(), handle_create_inputlayout(), handle_create_listview(), and octave::uiwidget_creator.
Referenced by construct().
|
slot |
Definition at line 1300 of file main-window.cc.
References octave::octave_dock_widget::connect_visibility_changed(), dock_widget_list(), octave::file_editor_interface::enable_menu_shortcuts(), and m_editor_window.
|
private |
Definition at line 1719 of file main-window.cc.
References configure_shortcuts(), connect_uiwidget_links(), construct_menu_bar(), construct_octave_qt_link(), construct_tool_bar(), delete_debugger_pointer_signal(), disable_menu_shortcuts(), edit_variable(), editor_focus_changed(), find_files(), focus_changed(), handle_delete_debugger_pointer_request(), handle_insert_debugger_pointer_request(), handle_load_workspace_request(), handle_rename_variable_request(), handle_update_breakpoint_marker_request(), handle_variable_editor_update(), insert_debugger_pointer_signal(), octave::shortcut_manager::instance, octave::resource_manager::instance, m_closing, m_command_window, m_doc_browser_window, m_editor_window, m_external_editor, m_file_browser_window, m_history_window, m_octave_qt_link, m_start_gui, m_status_bar, m_variable_editor_window, m_workspace_model, m_workspace_window, notice_settings(), octave_link::post_event(), prepare_to_exit(), process_settings_dialog_request(), refresh_variable_editor(), resize_command_window_callback(), octave::workspace_view::setModel(), settings_changed(), and update_breakpoint_marker_signal().
Referenced by main_window().
|
private |
Definition at line 2249 of file main-window.cc.
References construct_debug_menu_item(), debug_continue(), octave::file_editor_interface::debug_menu(), debug_quit(), debug_step_into(), debug_step_out(), debug_step_over(), m_add_menu(), m_debug_continue, m_debug_menu, m_debug_quit, m_debug_step_into, m_debug_step_out, m_debug_step_over, m_editor_window, and p.
Referenced by construct_menu_bar().
|
private |
Definition at line 2231 of file main-window.cc.
References add_action(), octave::file_editor_interface::debug_menu(), octave::resource_manager::icon(), m_debug_menu, m_editor_window, and octave::file_editor_interface::toolbar().
Referenced by construct_debug_menu().
|
private |
Definition at line 2391 of file main-window.cc.
References add_action(), m_doc_browser_window, m_ondisk_doc_action, m_online_doc_action, open_online_documentation_page(), and p.
Referenced by construct_help_menu().
|
private |
Definition at line 2151 of file main-window.cc.
References clear_clipboard(), clipboard_has_changed(), copyClipboard(), find_files(), handle_clear_command_window_request(), handle_clear_history_request(), handle_clear_workspace_request(), octave::resource_manager::icon(), m_add_menu(), m_clear_clipboard_action, m_clear_command_history_action, m_clear_command_window_action, m_clear_workspace_action, m_clipboard, m_copy_action, m_find_files_action, m_paste_action, m_preferences_action, m_select_all_action, m_undo_action, p, pasteClipboard(), process_settings_dialog_request(), and selectAll().
Referenced by construct_menu_bar().
|
private |
Definition at line 2072 of file main-window.cc.
References construct_new_menu(), octave::file_editor_interface::get_mru_menu(), handle_load_workspace_request(), handle_save_workspace_request(), octave::resource_manager::icon(), m_add_menu(), m_editor_window, m_exit_action, m_load_workspace_action, m_open_action, m_save_workspace_action, p, and request_open_file().
Referenced by construct_menu_bar().
|
private |
Definition at line 2365 of file main-window.cc.
References add_action(), construct_documentation_menu(), m_about_octave_action, m_add_menu(), m_contribute_action, m_developer_action, m_octave_packages_action, m_report_bug_action, open_bug_tracker_page(), open_contribute_page(), open_donate_page(), open_octave_packages_page(), p, and show_about_octave().
Referenced by construct_menu_bar().
|
private |
Definition at line 2040 of file main-window.cc.
References construct_debug_menu(), construct_edit_menu(), construct_file_menu(), construct_help_menu(), construct_news_menu(), construct_window_menu(), octave::file_editor_interface::insert_global_actions(), m_copy_action, m_editor_window, m_find_files_action, m_new_function_action, m_new_script_action, m_open_action, m_paste_action, m_select_all_action, and m_undo_action.
Referenced by construct().
|
private |
Definition at line 2114 of file main-window.cc.
References handle_new_figure_request(), octave::resource_manager::icon(), m_active_editor, m_new_figure_action, m_new_function_action, m_new_script_action, new_file_signal(), open_file_signal(), p, request_new_function(), request_new_script(), and request_open_file().
Referenced by construct_file_menu().
|
private |
Definition at line 2402 of file main-window.cc.
References add_action(), display_release_notes(), load_and_display_community_news(), m_add_menu(), m_current_news_action, m_release_notes_action, and p.
Referenced by construct_menu_bar().
|
private |
Definition at line 1905 of file main-window.cc.
References change_directory(), confirm_shutdown_octave(), octave_link::connect_link(), copy_image_to_clipboard(), delete_debugger_pointer_signal(), execute_command_in_terminal(), handle_delete_debugger_pointer_request(), handle_enter_debugger(), handle_exit_debugger(), handle_insert_debugger_pointer_request(), handle_register_doc(), handle_show_doc(), handle_unregister_doc(), handle_update_breakpoint_marker_request(), insert_debugger_pointer_signal(), m_active_editor, m_app_context, m_editor_window, m_file_browser_window, m_history_window, m_interpreter, m_octave_qt_link, m_start_gui, m_workspace_model, process_settings_dialog_request(), register_doc_signal(), show_doc_signal(), unregister_doc_signal(), and update_breakpoint_marker_signal().
Referenced by construct().
|
private |
Definition at line 2413 of file main-window.cc.
References accept_directory_line_edit(), browse_for_directory(), change_directory_up(), current_directory_max_count, current_directory_max_visible, handle_undo_request(), octave::resource_manager::icon(), m_copy_action, m_current_directory_combo_box, m_main_tool_bar, m_new_script_action, m_open_action, m_paste_action, m_undo_action, and set_current_working_directory().
Referenced by construct().
|
private |
Definition at line 2311 of file main-window.cc.
References add_action(), construct_window_menu_item(), m_add_menu(), m_command_window, m_command_window_action, m_doc_browser_window, m_documentation_action, m_editor_action, m_editor_window, m_file_browser_action, m_file_browser_window, m_history_action, m_history_window, m_reset_windows_action, m_show_command_window_action, m_show_documentation_action, m_show_editor_action, m_show_file_browser_action, m_show_history_action, m_show_variable_editor_action, m_show_workspace_action, m_variable_editor_action, m_variable_editor_window, m_workspace_action, m_workspace_window, p, and reset_windows().
Referenced by construct_menu_bar().
|
private |
Definition at line 2279 of file main-window.cc.
References p.
Referenced by construct_window_menu().
|
slot |
Definition at line 625 of file main-window.cc.
References file.
Referenced by construct_octave_qt_link().
|
slot |
Definition at line 1310 of file main-window.cc.
References copyClipboard_signal(), and m_current_directory_combo_box.
Referenced by construct_edit_menu().
|
signal |
Referenced by copyClipboard().
|
slot |
Definition at line 938 of file main-window.cc.
References octave::octave_command_queue::add_cmd(), m_cmd_queue, and m_suppress_dbg_location.
Referenced by construct_debug_menu().
|
slot |
Definition at line 964 of file main-window.cc.
References octave::octave_command_queue::add_cmd(), m_cmd_queue, and m_suppress_dbg_location.
Referenced by construct_debug_menu().
|
slot |
Definition at line 945 of file main-window.cc.
References octave::octave_command_queue::add_cmd(), m_cmd_queue, and m_suppress_dbg_location.
Referenced by construct_debug_menu().
|
slot |
Definition at line 958 of file main-window.cc.
References octave::octave_command_queue::add_cmd(), m_cmd_queue, and m_suppress_dbg_location.
Referenced by construct_debug_menu().
|
slot |
Definition at line 951 of file main-window.cc.
References octave::octave_command_queue::add_cmd(), m_cmd_queue, and m_suppress_dbg_location.
Referenced by construct_debug_menu().
|
signal |
Referenced by construct(), construct_octave_qt_link(), and handle_delete_debugger_pointer_request().
|
privateslot |
Definition at line 1649 of file main-window.cc.
References i, and m_hash_menu_text.
Referenced by construct(), and notice_settings().
|
slot |
Definition at line 541 of file main-window.cc.
References m_community_news_window, m_release_notes_icon, and min().
Referenced by load_and_display_community_news().
|
slot |
Definition at line 440 of file main-window.cc.
References arg, file, QtHandles::Utils::fromStdString(), m_release_notes_icon, m_release_notes_window, min(), octave::config::oct_etc_dir(), and string.
Referenced by construct_news_menu().
|
private |
Definition at line 2667 of file main-window.cc.
References list, m_command_window, m_doc_browser_window, m_editor_window, m_file_browser_window, m_history_window, m_variable_editor_window, and m_workspace_window.
Referenced by connect_visibility_changed(), focus_changed(), get_dock_widget_list(), notice_settings(), and set_window_layout().
|
slot |
Definition at line 429 of file main-window.cc.
References handle_edit_mfile_request(), and name.
|
privateslot |
Opens the variable editor for name
.
Definition at line 1683 of file main-window.cc.
References octave::variable_editor::edit_variable(), m_variable_editor_window, and val.
Referenced by construct().
|
signal |
Referenced by construct(), and focus_changed().
|
slot |
Definition at line 883 of file main-window.cc.
References octave::octave_command_queue::add_cmd(), command, focus_command_window(), focus_console_after_command(), and m_cmd_queue.
Referenced by construct_octave_qt_link(), and request_new_function().
|
slot |
Find files dialog.
Definition at line 1539 of file main-window.cc.
References find_files_finished(), m_file_browser_window, m_find_files_dlg, open_file(), and octave::find_files_dialog::set_search_dir().
Referenced by construct(), and construct_edit_menu().
|
inlineslot |
Definition at line 284 of file main-window.cc.
References active_dock_changed(), dock_widget_list(), editor_focus_changed(), m_active_dock, m_editor_window, m_main_tool_bar, octave::octave_dock_widget::set_predecessor_widget(), start, and Faddeeva::w().
Referenced by construct().
void octave::main_window::focus_command_window | ( | void | ) |
Definition at line 278 of file main-window.cc.
References octave::terminal_dock_widget::focus(), and m_command_window.
Referenced by browse_for_directory(), execute_command_in_terminal(), handle_delete_debugger_pointer_request(), handle_insert_debugger_pointer_request(), handle_octave_ready(), handle_update_breakpoint_marker_request(), reset_windows(), and run_file_in_terminal().
|
private |
Definition at line 2564 of file main-window.cc.
References octave::resource_manager::get_settings().
Referenced by execute_command_in_terminal(), and run_file_in_terminal().
|
inlineslot |
Returns a list of dock widgets.
Definition at line 269 of file main-window.h.
References dock_widget_list().
|
slot |
Definition at line 388 of file main-window.cc.
References clear_command_window_callback(), and octave_link::post_event().
Referenced by construct_edit_menu().
|
slot |
Definition at line 393 of file main-window.cc.
References clear_history_callback(), and octave_link::post_event().
Referenced by construct_edit_menu().
|
slot |
Definition at line 383 of file main-window.cc.
References clear_workspace_callback(), and octave_link::post_event().
Referenced by construct_edit_menu().
|
slot |
Definition at line 1409 of file main-window.cc.
References message().
Referenced by connect_uiwidget_links().
|
slot |
Definition at line 1457 of file main-window.cc.
References octave::sys::file_ops::dirname(), and filename.
Referenced by connect_uiwidget_links().
|
slot |
Definition at line 1444 of file main-window.cc.
Referenced by connect_uiwidget_links().
|
slot |
Definition at line 1425 of file main-window.cc.
References list, mode, and name.
Referenced by connect_uiwidget_links().
|
slot |
Definition at line 1181 of file main-window.cc.
References command_window_has_focus(), delete_debugger_pointer_signal(), file, and focus_command_window().
Referenced by construct(), and construct_octave_qt_link().
|
slot |
Definition at line 1081 of file main-window.cc.
References octave::__get_interpreter__(), octave_map::contents(), Array< T >::data(), file, filename, fname, QtHandles::Utils::fromStdString(), m_current_directory_combo_box, map, message(), name, open_file_signal(), ovl(), octave_value::string_value(), and type.
Referenced by edit_mfile().
|
slot |
Definition at line 908 of file main-window.cc.
References octave::file_editor_interface::handle_enter_debug_mode(), m_debug_continue, m_debug_quit, m_debug_step_into, m_debug_step_out, m_debug_step_over, and m_editor_window.
Referenced by construct_octave_qt_link().
|
slot |
Definition at line 923 of file main-window.cc.
References octave::file_editor_interface::handle_exit_debug_mode(), m_debug_continue, m_debug_quit, m_debug_step_into, m_debug_step_out, m_debug_step_over, and m_editor_window.
Referenced by construct_octave_qt_link().
|
slot |
Definition at line 1170 of file main-window.cc.
References command_window_has_focus(), file, focus_command_window(), and insert_debugger_pointer_signal().
Referenced by construct(), and construct_octave_qt_link().
|
slot |
Definition at line 369 of file main-window.cc.
References file, load_workspace_callback(), and octave_link::post_event().
Referenced by construct(), and construct_file_menu().
|
slot |
Definition at line 903 of file main-window.cc.
References new_figure_callback(), and octave_link::post_event().
Referenced by construct_new_menu().
|
slot |
Definition at line 1534 of file main-window.cc.
Referenced by main_window().
|
slot |
Definition at line 1486 of file main-window.cc.
References octave::file_editor_interface::empty_script(), focus_command_window(), octave::resource_manager::get_settings(), m_editor_window, m_start_gui, octave::file_editor_interface::restore_session(), and set_current_working_directory().
Referenced by main_window().
|
slot |
Definition at line 1476 of file main-window.cc.
References file, and register_doc_signal().
Referenced by construct_octave_qt_link().
|
slot |
Definition at line 406 of file main-window.cc.
References octave_link::post_event(), and rename_variable_callback().
Referenced by construct().
|
slot |
Definition at line 357 of file main-window.cc.
References file, octave_link::post_event(), and save_workspace_callback().
Referenced by construct_file_menu().
|
slot |
Definition at line 1470 of file main-window.cc.
References file, m_doc_browser_window, and show_doc_signal().
Referenced by construct_octave_qt_link().
|
slot |
Definition at line 398 of file main-window.cc.
References command_window_has_focus(), command_window_undo_callback(), octave_link::post_event(), and undo_signal().
Referenced by construct_tool_bar().
|
slot |
Definition at line 1481 of file main-window.cc.
References file, and unregister_doc_signal().
Referenced by construct_octave_qt_link().
|
slot |
Definition at line 1192 of file main-window.cc.
References command_window_has_focus(), file, focus_command_window(), and update_breakpoint_marker_signal().
Referenced by construct(), and construct_octave_qt_link().
|
privateslot |
Definition at line 1700 of file main-window.cc.
References octave_link::post_event(), and refresh_workspace_callback().
Referenced by construct().
|
slot |
Definition at line 1227 of file main-window.cc.
References init_terminal_size_signal().
|
signal |
Referenced by init_terminal_size().
|
signal |
Referenced by construct(), construct_octave_qt_link(), and handle_insert_debugger_pointer_request().
|
slot |
Definition at line 506 of file main-window.cc.
References display_community_news(), octave::resource_manager::get_settings(), and page.
Referenced by construct_news_menu(), and main_window().
|
private |
Definition at line 2475 of file main-window.cc.
References octave::__get_current_scope__(), file, Fload(), ovl(), and octave_link::set_workspace().
Referenced by handle_load_workspace_request().
Definition at line 2022 of file main-window.cc.
References m_hash_menu_text, name, and p.
Referenced by construct_debug_menu(), construct_edit_menu(), construct_file_menu(), construct_help_menu(), construct_news_menu(), and construct_window_menu().
|
private |
Definition at line 2570 of file main-window.cc.
References octave::__get_interpreter__(), and ovl().
Referenced by handle_new_figure_request().
|
slot |
Definition at line 416 of file main-window.cc.
References commands, and new_file_signal().
|
signal |
Referenced by construct_new_menu(), new_file(), and request_new_script().
|
slot |
Definition at line 653 of file main-window.cc.
References active_dock_changed(), configure_shortcuts(), disable_menu_shortcuts(), dock_widget_list(), m_active_dock, m_command_window, m_editor_window, m_main_tool_bar, m_prevent_readline_conflicts, m_release_notes_icon, m_status_bar, m_suppress_dbg_location, name, set_global_shortcuts(), and octave::resource_manager::update_network_settings().
Referenced by construct().
|
slot |
Definition at line 585 of file main-window.cc.
Referenced by construct_help_menu().
|
slot |
Definition at line 595 of file main-window.cc.
Referenced by construct_help_menu().
|
slot |
Definition at line 600 of file main-window.cc.
Referenced by construct_help_menu().
|
slot |
Definition at line 421 of file main-window.cc.
References open_file_signal().
Referenced by find_files().
|
signal |
Referenced by construct_new_menu(), handle_edit_mfile_request(), open_file(), and request_open_files().
|
signal |
|
slot |
Definition at line 590 of file main-window.cc.
Referenced by construct_help_menu().
|
slot |
Definition at line 434 of file main-window.cc.
Referenced by construct_documentation_menu().
|
slot |
Definition at line 1325 of file main-window.cc.
References m_current_directory_combo_box, pasteClipboard_signal(), and str.
Referenced by construct_edit_menu().
|
signal |
Referenced by pasteClipboard().
|
slot |
Definition at line 797 of file main-window.cc.
References m_find_files_dlg, octave::find_files_dialog::save_settings(), and write_settings().
Referenced by construct().
|
slot |
Definition at line 605 of file main-window.cc.
References m_settings_dlg, and request_reload_settings().
Referenced by construct(), construct_edit_menu(), and construct_octave_qt_link().
|
slot |
Definition at line 1205 of file main-window.cc.
References octave::resource_manager::get_settings(), i, m_current_directory_combo_box, set_window_layout(), and settings_changed().
|
privateslot |
Definition at line 1695 of file main-window.cc.
References m_variable_editor_window, and octave::variable_editor::refresh().
Referenced by construct().
|
private |
Definition at line 2553 of file main-window.cc.
References octave::__get_current_scope__(), and octave_link::set_workspace().
Referenced by handle_variable_editor_update().
|
signal |
Referenced by construct_octave_qt_link(), and handle_register_doc().
|
private |
Definition at line 2488 of file main-window.cc.
References octave::__get_current_scope__(), octave::symbol_scope::rename(), and octave_link::set_workspace().
Referenced by handle_rename_variable_request().
|
slot |
Definition at line 352 of file main-window.cc.
References m_status_bar.
|
slot |
Definition at line 1050 of file main-window.cc.
References execute_command_in_terminal(), octave::resource_manager::get_settings(), m_editor_window, p, and restore_create_file_setting().
Referenced by construct_new_menu().
|
slot |
Definition at line 1044 of file main-window.cc.
References commands, and new_file_signal().
Referenced by construct_new_menu().
|
slot |
Definition at line 977 of file main-window.cc.
References octave::resource_manager::combo_encoding(), octave::resource_manager::get_settings(), m_current_directory_combo_box, m_editor_window, m_file_encoding, p, request_open_files(), and set_file_encoding().
Referenced by construct_file_menu(), and construct_new_menu().
|
privateslot |
Definition at line 1677 of file main-window.cc.
References i, m_file_encoding, and open_file_signal().
Referenced by request_open_file().
|
slot |
Definition at line 344 of file main-window.cc.
References octave::resource_manager::get_settings(), and settings_changed().
Referenced by process_settings_dialog_request().
|
slot |
Definition at line 808 of file main-window.cc.
References focus_command_window(), octave::resource_manager::get_default_settings(), and set_window_layout().
Referenced by construct_window_menu().
|
private |
Definition at line 2522 of file main-window.cc.
References octave::command_editor::resize_terminal().
Referenced by construct().
|
privateslot |
Definition at line 1660 of file main-window.cc.
References octave::resource_manager::get_settings(), and m_editor_window.
Referenced by request_new_function().
|
slot |
Definition at line 893 of file main-window.cc.
References octave::octave_command_queue::add_cmd(), focus_command_window(), focus_console_after_command(), and m_cmd_queue.
|
private |
Definition at line 2468 of file main-window.cc.
References file, Fsave(), and ovl().
Referenced by handle_save_workspace_request().
|
slot |
Definition at line 1341 of file main-window.cc.
References m_current_directory_combo_box, and selectAll_signal().
Referenced by construct_edit_menu().
|
signal |
Referenced by selectAll().
|
slot |
Definition at line 847 of file main-window.cc.
References change_directory_callback(), and octave_link::post_event().
Referenced by accept_directory_line_edit(), browse_for_directory(), change_directory_up(), construct_tool_bar(), and handle_octave_ready().
|
privateslot |
Definition at line 1669 of file main-window.cc.
References m_file_encoding.
Referenced by request_open_file().
|
slot |
Setting global shortcuts.
Definition at line 1570 of file main-window.cc.
References configure_shortcuts(), m_about_octave_action, m_clear_clipboard_action, m_clear_command_history_action, m_clear_command_window_action, m_clear_workspace_action, m_contribute_action, m_current_news_action, m_developer_action, m_exit_action, m_find_files_action, m_load_workspace_action, m_new_function_action, m_new_script_action, m_octave_packages_action, m_ondisk_doc_action, m_online_doc_action, m_open_action, m_preferences_action, m_prevent_readline_conflicts, m_release_notes_action, m_report_bug_action, m_reset_windows_action, m_save_workspace_action, and m_select_all_action.
Referenced by notice_settings().
|
slot |
Definition at line 1624 of file main-window.cc.
References octave_link::post_event(), and set_screen_size_callback().
|
private |
Definition at line 2529 of file main-window.cc.
References octave::command_editor::set_screen_size(), and sz.
Referenced by set_screen_size().
|
slot |
Definition at line 1232 of file main-window.cc.
References dock_widget_list(), octave::octave_dock_widget::make_widget(), octave::octave_dock_widget::make_window(), and name.
Referenced by read_settings(), and reset_windows().
|
signal |
Referenced by construct(), read_settings(), and request_reload_settings().
|
slot |
Definition at line 644 of file main-window.cc.
References QtHandles::Utils::fromStdString(), message(), octave_name_version_copyright_copying_warranty_and_bugs(), and string.
Referenced by construct_help_menu().
|
signal |
Referenced by construct_octave_qt_link(), and handle_show_doc().
|
signal |
Referenced by handle_undo_request().
|
signal |
Referenced by construct_octave_qt_link(), and handle_unregister_doc().
|
signal |
Referenced by construct(), construct_octave_qt_link(), and handle_update_breakpoint_marker_request().
|
slot |
Definition at line 1277 of file main-window.cc.
References octave::resource_manager::get_settings(), i, and m_current_directory_combo_box.
Referenced by prepare_to_exit().
|
staticprivate |
|
staticprivate |
|
private |
Definition at line 434 of file main-window.h.
Referenced by configure_shortcuts(), construct_help_menu(), and set_global_shortcuts().
|
private |
Definition at line 379 of file main-window.h.
Referenced by focus_changed(), main_window(), and notice_settings().
|
private |
Definition at line 377 of file main-window.h.
Referenced by construct_new_menu(), construct_octave_qt_link(), and main_window().
|
private |
Definition at line 351 of file main-window.h.
Referenced by construct_octave_qt_link().
|
private |
Definition at line 404 of file main-window.h.
Referenced by clipboard_has_changed(), configure_shortcuts(), construct_edit_menu(), and set_global_shortcuts().
|
private |
Definition at line 407 of file main-window.h.
Referenced by configure_shortcuts(), construct_edit_menu(), and set_global_shortcuts().
|
private |
Definition at line 406 of file main-window.h.
Referenced by configure_shortcuts(), construct_edit_menu(), and set_global_shortcuts().
|
private |
Definition at line 408 of file main-window.h.
Referenced by configure_shortcuts(), construct_edit_menu(), and set_global_shortcuts().
|
private |
Definition at line 463 of file main-window.h.
Referenced by clear_clipboard(), clipboard_has_changed(), and construct_edit_menu().
|
private |
Flag for closing the whole application.
Definition at line 478 of file main-window.h.
Referenced by construct().
|
private |
Command queue and semaphore to synchronize execution signals and related callbacks.
Definition at line 468 of file main-window.h.
Referenced by closeEvent(), debug_continue(), debug_quit(), debug_step_into(), debug_step_out(), debug_step_over(), execute_command_in_terminal(), and run_file_in_terminal().
|
private |
Dock widgets.
Definition at line 367 of file main-window.h.
Referenced by command_window_has_focus(), construct(), construct_window_menu(), dock_widget_list(), focus_command_window(), main_window(), notice_settings(), and ~main_window().
|
private |
Definition at line 419 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Definition at line 459 of file main-window.h.
Referenced by display_community_news(), and ~main_window().
|
private |
Definition at line 432 of file main-window.h.
Referenced by configure_shortcuts(), construct_help_menu(), and set_global_shortcuts().
|
private |
Definition at line 402 of file main-window.h.
Referenced by configure_shortcuts(), construct_edit_menu(), construct_menu_bar(), and construct_tool_bar().
|
private |
For Toolbars.
Definition at line 441 of file main-window.h.
Referenced by accept_directory_line_edit(), change_directory(), construct_tool_bar(), copyClipboard(), handle_edit_mfile_request(), pasteClipboard(), read_settings(), request_open_file(), selectAll(), and write_settings().
|
private |
For Toolbars.
Definition at line 444 of file main-window.h.
|
private |
Definition at line 437 of file main-window.h.
Referenced by configure_shortcuts(), construct_news_menu(), and set_global_shortcuts().
|
private |
Definition at line 387 of file main-window.h.
Referenced by configure_shortcuts(), construct_debug_menu(), handle_enter_debugger(), and handle_exit_debugger().
|
private |
Definition at line 385 of file main-window.h.
Referenced by construct_debug_menu(), and construct_debug_menu_item().
|
private |
Definition at line 391 of file main-window.h.
Referenced by configure_shortcuts(), construct_debug_menu(), handle_enter_debugger(), and handle_exit_debugger().
|
private |
Definition at line 388 of file main-window.h.
Referenced by configure_shortcuts(), construct_debug_menu(), handle_enter_debugger(), and handle_exit_debugger().
|
private |
Definition at line 390 of file main-window.h.
Referenced by configure_shortcuts(), construct_debug_menu(), handle_enter_debugger(), and handle_exit_debugger().
|
private |
Definition at line 389 of file main-window.h.
Referenced by configure_shortcuts(), construct_debug_menu(), handle_enter_debugger(), and handle_exit_debugger().
|
private |
Definition at line 433 of file main-window.h.
Referenced by configure_shortcuts(), construct_help_menu(), and set_global_shortcuts().
|
private |
Dock widgets.
Definition at line 370 of file main-window.h.
Referenced by construct(), construct_documentation_menu(), construct_window_menu(), dock_widget_list(), handle_show_doc(), main_window(), and ~main_window().
|
private |
Definition at line 424 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Definition at line 423 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Dock widgets.
Definition at line 371 of file main-window.h.
Referenced by confirm_shutdown_octave(), connect_visibility_changed(), construct(), construct_debug_menu(), construct_debug_menu_item(), construct_file_menu(), construct_menu_bar(), construct_octave_qt_link(), construct_window_menu(), dock_widget_list(), focus_changed(), handle_enter_debugger(), handle_exit_debugger(), handle_octave_ready(), main_window(), notice_settings(), request_new_function(), request_open_file(), restore_create_file_setting(), and ~main_window().
|
private |
Definition at line 400 of file main-window.h.
Referenced by configure_shortcuts(), construct_file_menu(), and set_global_shortcuts().
|
private |
Definition at line 376 of file main-window.h.
Referenced by construct(), main_window(), and ~main_window().
|
private |
Definition at line 422 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Dock widgets.
Definition at line 369 of file main-window.h.
Referenced by construct(), construct_octave_qt_link(), construct_window_menu(), dock_widget_list(), find_files(), main_window(), and ~main_window().
|
private |
Definition at line 481 of file main-window.h.
Referenced by request_open_file(), request_open_files(), and set_file_encoding().
|
private |
Definition at line 409 of file main-window.h.
Referenced by configure_shortcuts(), construct_edit_menu(), construct_menu_bar(), and set_global_shortcuts().
|
private |
Find files dialog.
Definition at line 453 of file main-window.h.
Referenced by find_files(), prepare_to_exit(), and ~main_window().
|
private |
Definition at line 359 of file main-window.h.
Referenced by disable_menu_shortcuts(), and m_add_menu().
|
private |
Definition at line 420 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Dock widgets.
Definition at line 368 of file main-window.h.
Referenced by construct(), construct_octave_qt_link(), construct_window_menu(), dock_widget_list(), main_window(), and ~main_window().
|
private |
Definition at line 353 of file main-window.h.
Referenced by construct_octave_qt_link(), main_window(), and ~main_window().
|
private |
Definition at line 397 of file main-window.h.
Referenced by configure_shortcuts(), construct_file_menu(), and set_global_shortcuts().
|
private |
Definition at line 355 of file main-window.h.
Referenced by main_window().
|
private |
Definition at line 383 of file main-window.h.
Referenced by construct_tool_bar(), focus_changed(), and notice_settings().
|
private |
Definition at line 396 of file main-window.h.
Referenced by construct_new_menu().
|
private |
Definition at line 394 of file main-window.h.
Referenced by configure_shortcuts(), construct_menu_bar(), construct_new_menu(), and set_global_shortcuts().
|
private |
Definition at line 393 of file main-window.h.
Referenced by configure_shortcuts(), construct_menu_bar(), construct_new_menu(), construct_tool_bar(), and set_global_shortcuts().
|
private |
Definition at line 431 of file main-window.h.
Referenced by configure_shortcuts(), construct_help_menu(), and set_global_shortcuts().
|
private |
Definition at line 461 of file main-window.h.
Referenced by confirm_shutdown_octave(), construct(), and construct_octave_qt_link().
|
private |
Definition at line 428 of file main-window.h.
Referenced by configure_shortcuts(), construct_documentation_menu(), and set_global_shortcuts().
|
private |
Definition at line 429 of file main-window.h.
Referenced by configure_shortcuts(), construct_documentation_menu(), and set_global_shortcuts().
|
private |
Definition at line 395 of file main-window.h.
Referenced by configure_shortcuts(), construct_file_menu(), construct_menu_bar(), construct_tool_bar(), and set_global_shortcuts().
|
private |
Definition at line 403 of file main-window.h.
Referenced by clipboard_has_changed(), configure_shortcuts(), construct_edit_menu(), construct_menu_bar(), and construct_tool_bar().
|
private |
Definition at line 399 of file main-window.h.
Referenced by configure_shortcuts(), construct_edit_menu(), and set_global_shortcuts().
|
private |
Some class global flags.
Definition at line 472 of file main-window.h.
Referenced by notice_settings(), and set_global_shortcuts().
|
private |
Definition at line 436 of file main-window.h.
Referenced by configure_shortcuts(), construct_news_menu(), and set_global_shortcuts().
|
private |
Definition at line 381 of file main-window.h.
Referenced by display_community_news(), display_release_notes(), and notice_settings().
|
private |
Release notes window.
Definition at line 457 of file main-window.h.
Referenced by display_release_notes(), and ~main_window().
|
private |
Definition at line 430 of file main-window.h.
Referenced by configure_shortcuts(), construct_help_menu(), and set_global_shortcuts().
|
private |
Definition at line 426 of file main-window.h.
Referenced by configure_shortcuts(), construct_window_menu(), and set_global_shortcuts().
|
private |
Definition at line 398 of file main-window.h.
Referenced by configure_shortcuts(), construct_file_menu(), and set_global_shortcuts().
|
private |
Definition at line 410 of file main-window.h.
Referenced by configure_shortcuts(), construct_edit_menu(), construct_menu_bar(), and set_global_shortcuts().
|
private |
Settings dialog as guarded pointer (set to 0 when deleted).
Definition at line 449 of file main-window.h.
Referenced by process_settings_dialog_request(), and ~main_window().
|
private |
Definition at line 412 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Definition at line 417 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Definition at line 416 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Definition at line 415 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Definition at line 413 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Definition at line 418 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Definition at line 414 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Some class global flags.
Definition at line 474 of file main-window.h.
Referenced by confirm_shutdown_octave(), construct(), construct_octave_qt_link(), handle_octave_ready(), and main_window().
|
private |
Toolbar.
Definition at line 363 of file main-window.h.
Referenced by construct(), main_window(), notice_settings(), report_status_message(), and ~main_window().
|
private |
Some class global flags.
Definition at line 473 of file main-window.h.
Referenced by debug_continue(), debug_quit(), debug_step_into(), debug_step_out(), debug_step_over(), and notice_settings().
|
private |
Definition at line 405 of file main-window.h.
Referenced by configure_shortcuts(), construct_edit_menu(), construct_menu_bar(), and construct_tool_bar().
|
private |
Definition at line 425 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Dock widgets.
Definition at line 373 of file main-window.h.
Referenced by construct(), construct_window_menu(), dock_widget_list(), edit_variable(), main_window(), refresh_variable_editor(), and ~main_window().
|
private |
Definition at line 421 of file main-window.h.
Referenced by configure_shortcuts(), and construct_window_menu().
|
private |
Definition at line 357 of file main-window.h.
Referenced by construct(), construct_octave_qt_link(), main_window(), and ~main_window().
|
private |
Dock widgets.
Definition at line 372 of file main-window.h.
Referenced by construct(), construct_window_menu(), dock_widget_list(), main_window(), and ~main_window().