This object provides a full GUI interface to Octave that is implemented Qt. More...
#include "octave-qobject.h"
Public Slots | |
void | copy_image_to_clipboard (const QString &file, bool remove_file) |
void | handle_interpreter_execution_finished (int) |
void | handle_interpreter_shutdown_finished (int) |
void | interpreter_event (const fcn_callback &fcn) |
void | interpreter_event (const meth_callback &meth) |
Signals | |
void | request_interpreter_shutdown (int) |
Public Member Functions | |
gui_qobject (qt_application &app_context) | |
~gui_qobject (void) | |
qt_application & | app_context (void) |
void | config_translators (void) |
bool | confirm_shutdown (void) |
int | exec (void) |
std::shared_ptr< qt_interpreter_events > | get_qt_interpreter_events (void) |
resource_manager & | get_resource_manager (void) |
shortcut_manager & | get_shortcut_manager (void) |
interpreter_qobject * | interpreter_qobj (void) |
QThread * | main_thread (void) |
QApplication * | qapplication (void) |
qt_interpreter_events * | qt_link (void) |
void | start_main_thread (void) |
Protected Attributes | |
qt_application & | m_app_context |
int | m_argc |
char ** | m_argv |
QTranslator * | m_gui_tr |
interpreter_qobject * | m_interpreter_qobj |
QThread * | m_main_thread |
octave_qapplication * | m_qapplication |
QTranslator * | m_qsci_tr |
std::shared_ptr< qt_interpreter_events > | m_qt_interpreter_events |
QTranslator * | m_qt_tr |
resource_manager | m_resource_manager |
shortcut_manager | m_shortcut_manager |
bool | m_translators_installed |
Private Attributes | |
main_window * | m_main_window |
This object provides a full GUI interface to Octave that is implemented Qt.
Definition at line 192 of file octave-qobject.h.
octave::gui_qobject::gui_qobject | ( | qt_application & | app_context | ) |
Definition at line 367 of file octave-qobject.cc.
References octave::qt_application::gui_running(), octave::base_qobject::m_app_context, octave::base_qobject::m_interpreter_qobj, m_main_window, octave::base_qobject::qt_link(), and octave::base_qobject::start_main_thread().
octave::gui_qobject::~gui_qobject | ( | void | ) |
Definition at line 382 of file octave-qobject.cc.
References m_main_window.
|
inlineinherited |
Definition at line 96 of file octave-qobject.h.
References octave::base_qobject::m_app_context.
Referenced by octave::interpreter_qobject::execute().
|
inherited |
Definition at line 257 of file octave-qobject.cc.
References octave::resource_manager::config_translators(), octave::base_qobject::m_gui_tr, octave::base_qobject::m_qapplication, octave::base_qobject::m_qsci_tr, octave::base_qobject::m_qt_tr, octave::base_qobject::m_resource_manager, and octave::base_qobject::m_translators_installed.
Referenced by octave::cli_qobject::cli_qobject(), and octave::main_window::main_window().
|
virtual |
Reimplemented from octave::base_qobject.
Definition at line 387 of file octave-qobject.cc.
References octave::main_window::confirm_shutdown(), and m_main_window.
|
slotinherited |
Definition at line 334 of file octave-qobject.cc.
Referenced by octave::base_qobject::base_qobject().
|
inherited |
Definition at line 282 of file octave-qobject.cc.
References octave::base_qobject::m_qapplication.
Referenced by octave::qt_application::execute().
|
inlineinherited |
Definition at line 111 of file octave-qobject.h.
References octave::base_qobject::m_qt_interpreter_events.
Referenced by octave::interpreter_qobject::execute().
|
inlineinherited |
Definition at line 101 of file octave-qobject.h.
References octave::base_qobject::m_resource_manager.
Referenced by octave::documentation::documentation(), octave::dw_main_window::dw_main_window(), octave::file_editor_tab::file_editor_tab(), octave::FileDialog::FileDialog(), octave::files_dock_widget::files_dock_widget(), octave::find_files_dialog::find_files_dialog(), octave::initial_page::initial_page(), octave::main_window::main_window(), octave::octave_dock_widget::octave_dock_widget(), octave::set_path_dialog::set_path_dialog(), octave::settings_dialog::settings_dialog(), octave::terminal_dock_widget::terminal_dock_widget(), octave::variable_dock_widget::variable_dock_widget(), octave::workspace_view::workspace_view(), octave::welcome_wizard::accept(), octave::variable_editor_view::add_edit_actions(), octave::find_files_dialog::browse_folders(), octave::main_window::browse_for_directory(), annotation_dialog::button_clicked(), octave::file_editor::call_custom_editor(), octave::variable_dock_widget::change_floating(), octave::variable_dock_widget::change_fullscreen(), octave::file_editor::closeEvent(), octave::octave_qscintilla::comment_string(), octave::main_window::confirm_shutdown(), QTerminal::construct(), octave::history_dock_widget::construct(), octave::file_editor::construct(), octave::main_window::construct_debug_menu_item(), octave::main_window::construct_edit_menu(), octave::main_window::construct_file_menu(), octave::main_window::construct_new_menu(), octave::documentation::construct_tool_bar(), octave::main_window::construct_tool_bar(), octave::variable_editor::construct_tool_bar(), octave::files_dock_widget::contextmenu_requested(), octave::octave_qscintilla::contextmenu_run(), octave::octave_qscintilla::ctx_menu_run_finished(), octave::history_dock_widget::ctxMenu(), octave::file_editor_tab::detect_eol_mode(), octave::files_dock_widget::display_directory(), octave::file_editor_tab::do_comment_selected_text(), octave::main_window::do_reset_windows(), octave::variable_editor::edit_variable(), octave::file_editor::empty_script(), octave::external_editor_interface::external_editor(), octave::main_window::focus_console_after_command(), octave::settings_dialog::get_dir(), octave::file_editor_tab::handle_decode_warning_answer(), octave::file_editor::handle_enter_debug_mode(), octave::file_editor::handle_file_name_changed(), octave::main_window::handle_load_workspace_request(), octave::main_window::handle_octave_ready(), octave::main_window::handle_save_workspace_request(), octave::file_editor::handle_visibility(), octave::workspace_view::header_contextmenu_requested(), octave::files_dock_widget::headercontextmenu_requested(), octave::shortcut_manager::import_export(), annotation_dialog::init(), octave::shortcut_manager::init(), octave::shortcut_manager::init_data(), octave::main_window::load_and_display_community_news(), QtHandles::Canvas::make_cursor(), octave::octave_dock_widget::make_widget(), octave::file_editor::mru_menu_update(), octave::file_editor_tab::new_file(), octave::main_window::notice_settings(), octave::files_dock_widget::popdownmenu_search_dir(), octave::news_reader::process(), octave::main_window::read_settings(), octave::main_window::request_new_function(), octave::file_editor::request_open_file(), octave::main_window::request_open_file(), octave::main_window::request_reload_settings(), octave::main_window::restore_create_file_setting(), octave::find_dialog::restore_settings(), octave::variable_editor_stack::save(), octave::file_editor_tab::save_file_as(), octave::file_editor::save_session(), octave::find_dialog::save_settings(), octave::files_dock_widget::save_settings(), octave::find_files_dialog::save_settings(), octave::history_dock_widget::save_settings(), octave::octave_dock_widget::save_settings(), octave::set_path_dialog::save_settings(), octave::workspace_view::save_settings(), octave::octave_dock_widget::set_focus_predecessor(), octave::shortcut_manager::set_shortcut(), octave::workspace_view::setModel(), octave::shortcut_manager::shortcut(), octave::settings_dialog::show_tab(), octave::files_dock_widget::toggle_header(), octave::workspace_view::toggle_header(), octave::file_editor::toggle_preference(), octave::file_editor_tab::update_lexer_settings(), octave::settings_dialog::write_changed_settings(), and octave::main_window::write_settings().
|
inlineinherited |
Definition at line 106 of file octave-qobject.h.
References octave::base_qobject::m_shortcut_manager.
Referenced by octave::main_window::main_window(), octave::octave_dock_widget::octave_dock_widget(), octave::settings_dialog::settings_dialog(), octave::main_window::configure_shortcuts(), octave::settings_dialog::default_shortcut_set(), octave::settings_dialog::export_shortcut_set(), octave::file_editor::handle_exit_debug_mode(), octave::settings_dialog::import_shortcut_set(), octave::dw_main_window::notice_settings(), octave::documentation::notice_settings(), octave::file_editor::set_shortcuts(), and octave::settings_dialog::write_changed_settings().
|
slotinherited |
Definition at line 292 of file octave-qobject.cc.
References octave::base_qobject::request_interpreter_shutdown().
Referenced by octave::base_qobject::base_qobject().
|
slotinherited |
Definition at line 297 of file octave-qobject.cc.
References octave::base_qobject::m_main_thread.
Referenced by octave::base_qobject::base_qobject().
|
slotinherited |
Definition at line 310 of file octave-qobject.cc.
References octave::interpreter_qobject::interpreter_event(), and octave::base_qobject::m_interpreter_qobj.
Referenced by octave::base_qobject::base_qobject().
|
slotinherited |
Definition at line 322 of file octave-qobject.cc.
References octave::interpreter_qobject::interpreter_event(), and octave::base_qobject::m_interpreter_qobj.
|
inlineinherited |
Definition at line 121 of file octave-qobject.h.
References octave::base_qobject::m_interpreter_qobj.
Referenced by octave::main_window::construct(), octave::main_window::construct_octave_qt_link(), octave::main_window::file_remove_proxy(), and octave::main_window::handle_set_path_dialog_request().
|
inlineinherited |
Definition at line 126 of file octave-qobject.h.
References octave::base_qobject::m_main_thread.
|
inlineinherited |
Definition at line 99 of file octave-qobject.h.
References octave::base_qobject::m_qapplication.
Referenced by octave::main_window::main_window(), and octave::main_window::notice_settings().
|
inlineinherited |
Definition at line 116 of file octave-qobject.h.
References octave::base_qobject::m_qt_interpreter_events.
Referenced by octave::base_qobject::base_qobject(), gui_qobject(), and octave::interpreter_qobject::qt_link().
|
signalinherited |
|
inherited |
Definition at line 271 of file octave-qobject.cc.
References octave::base_qobject::m_interpreter_qobj, and octave::base_qobject::m_main_thread.
Referenced by octave::cli_qobject::cli_qobject(), and gui_qobject().
|
protectedinherited |
Definition at line 148 of file octave-qobject.h.
Referenced by gui_qobject(), and octave::base_qobject::app_context().
|
protectedinherited |
Definition at line 153 of file octave-qobject.h.
|
protectedinherited |
Definition at line 154 of file octave-qobject.h.
Referenced by octave::base_qobject::~base_qobject().
|
protectedinherited |
Definition at line 163 of file octave-qobject.h.
Referenced by octave::base_qobject::~base_qobject(), and octave::base_qobject::config_translators().
|
protectedinherited |
Definition at line 170 of file octave-qobject.h.
Referenced by octave::base_qobject::base_qobject(), gui_qobject(), octave::base_qobject::~base_qobject(), octave::base_qobject::interpreter_event(), octave::base_qobject::interpreter_qobj(), and octave::base_qobject::start_main_thread().
|
protectedinherited |
Definition at line 172 of file octave-qobject.h.
Referenced by octave::base_qobject::base_qobject(), octave::base_qobject::handle_interpreter_shutdown_finished(), octave::base_qobject::main_thread(), and octave::base_qobject::start_main_thread().
|
private |
Definition at line 206 of file octave-qobject.h.
Referenced by gui_qobject(), ~gui_qobject(), and confirm_shutdown().
|
protectedinherited |
Definition at line 156 of file octave-qobject.h.
Referenced by octave::base_qobject::base_qobject(), octave::cli_qobject::cli_qobject(), octave::base_qobject::~base_qobject(), octave::base_qobject::config_translators(), octave::base_qobject::exec(), and octave::base_qobject::qapplication().
|
protectedinherited |
Definition at line 164 of file octave-qobject.h.
Referenced by octave::base_qobject::~base_qobject(), and octave::base_qobject::config_translators().
|
protectedinherited |
Definition at line 168 of file octave-qobject.h.
Referenced by octave::base_qobject::get_qt_interpreter_events(), and octave::base_qobject::qt_link().
|
protectedinherited |
Definition at line 162 of file octave-qobject.h.
Referenced by octave::base_qobject::~base_qobject(), and octave::base_qobject::config_translators().
|
protectedinherited |
Definition at line 158 of file octave-qobject.h.
Referenced by octave::cli_qobject::cli_qobject(), octave::base_qobject::config_translators(), and octave::base_qobject::get_resource_manager().
|
protectedinherited |
Definition at line 160 of file octave-qobject.h.
Referenced by octave::base_qobject::get_shortcut_manager().
|
protectedinherited |
Definition at line 166 of file octave-qobject.h.
Referenced by octave::base_qobject::config_translators().