GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::gui_qobject Class Reference

This object provides a full GUI interface to Octave that is implemented Qt. More...

#include "octave-qobject.h"

Inheritance diagram for octave::gui_qobject:
Collaboration diagram for octave::gui_qobject:

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_applicationapp_context (void)
 
void config_translators (void)
 
bool confirm_shutdown (void)
 
int exec (void)
 
std::shared_ptr< qt_interpreter_eventsget_qt_interpreter_events (void)
 
resource_managerget_resource_manager (void)
 
shortcut_managerget_shortcut_manager (void)
 
interpreter_qobjectinterpreter_qobj (void)
 
QThreadmain_thread (void)
 
QApplicationqapplication (void)
 
qt_interpreter_eventsqt_link (void)
 
void start_main_thread (void)
 

Protected Attributes

qt_applicationm_app_context
 
int m_argc
 
char ** m_argv
 
QTranslator * m_gui_tr
 
interpreter_qobjectm_interpreter_qobj
 
QThreadm_main_thread
 
octave_qapplicationm_qapplication
 
QTranslator * m_qsci_tr
 
std::shared_ptr< qt_interpreter_eventsm_qt_interpreter_events
 
QTranslator * m_qt_tr
 
resource_manager m_resource_manager
 
shortcut_manager m_shortcut_manager
 
bool m_translators_installed
 

Private Attributes

main_windowm_main_window
 

Detailed Description

This object provides a full GUI interface to Octave that is implemented Qt.

Definition at line 192 of file octave-qobject.h.

Constructor & Destructor Documentation

◆ gui_qobject()

◆ ~gui_qobject()

octave::gui_qobject::~gui_qobject ( void  )

Definition at line 382 of file octave-qobject.cc.

References m_main_window.

Member Function Documentation

◆ app_context()

qt_application& octave::base_qobject::app_context ( void  )
inlineinherited

◆ config_translators()

◆ confirm_shutdown()

bool octave::gui_qobject::confirm_shutdown ( void  )
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.

◆ copy_image_to_clipboard

void octave::base_qobject::copy_image_to_clipboard ( const QString &  file,
bool  remove_file 
)
slotinherited

Definition at line 334 of file octave-qobject.cc.

Referenced by octave::base_qobject::base_qobject().

◆ exec()

int octave::base_qobject::exec ( void  )
inherited

Definition at line 282 of file octave-qobject.cc.

References octave::base_qobject::m_qapplication.

Referenced by octave::qt_application::execute().

◆ get_qt_interpreter_events()

std::shared_ptr<qt_interpreter_events> octave::base_qobject::get_qt_interpreter_events ( void  )
inlineinherited

◆ get_resource_manager()

resource_manager& octave::base_qobject::get_resource_manager ( void  )
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().

◆ get_shortcut_manager()

◆ handle_interpreter_execution_finished

void octave::base_qobject::handle_interpreter_execution_finished ( int  exit_status)
slotinherited

◆ handle_interpreter_shutdown_finished

void octave::base_qobject::handle_interpreter_shutdown_finished ( int  exit_status)
slotinherited

◆ interpreter_event [1/2]

void octave::base_qobject::interpreter_event ( const fcn_callback fcn)
slotinherited

◆ interpreter_event [2/2]

void octave::base_qobject::interpreter_event ( const meth_callback meth)
slotinherited

◆ interpreter_qobj()

◆ main_thread()

QThread* octave::base_qobject::main_thread ( void  )
inlineinherited

Definition at line 126 of file octave-qobject.h.

References octave::base_qobject::m_main_thread.

◆ qapplication()

QApplication* octave::base_qobject::qapplication ( void  )
inlineinherited

◆ qt_link()

qt_interpreter_events* octave::base_qobject::qt_link ( void  )
inlineinherited

◆ request_interpreter_shutdown

void octave::base_qobject::request_interpreter_shutdown ( int  )
signalinherited

◆ start_main_thread()

void octave::base_qobject::start_main_thread ( void  )
inherited

Member Data Documentation

◆ m_app_context

qt_application& octave::base_qobject::m_app_context
protectedinherited

Definition at line 148 of file octave-qobject.h.

Referenced by gui_qobject(), and octave::base_qobject::app_context().

◆ m_argc

int octave::base_qobject::m_argc
protectedinherited

Definition at line 153 of file octave-qobject.h.

◆ m_argv

char** octave::base_qobject::m_argv
protectedinherited

Definition at line 154 of file octave-qobject.h.

Referenced by octave::base_qobject::~base_qobject().

◆ m_gui_tr

QTranslator* octave::base_qobject::m_gui_tr
protectedinherited

◆ m_interpreter_qobj

◆ m_main_thread

◆ m_main_window

main_window* octave::gui_qobject::m_main_window
private

Definition at line 206 of file octave-qobject.h.

Referenced by gui_qobject(), ~gui_qobject(), and confirm_shutdown().

◆ m_qapplication

◆ m_qsci_tr

QTranslator* octave::base_qobject::m_qsci_tr
protectedinherited

◆ m_qt_interpreter_events

std::shared_ptr<qt_interpreter_events> octave::base_qobject::m_qt_interpreter_events
protectedinherited

◆ m_qt_tr

QTranslator* octave::base_qobject::m_qt_tr
protectedinherited

◆ m_resource_manager

resource_manager octave::base_qobject::m_resource_manager
protectedinherited

◆ m_shortcut_manager

shortcut_manager octave::base_qobject::m_shortcut_manager
protectedinherited

Definition at line 160 of file octave-qobject.h.

Referenced by octave::base_qobject::get_shortcut_manager().

◆ m_translators_installed

bool octave::base_qobject::m_translators_installed
protectedinherited

Definition at line 166 of file octave-qobject.h.

Referenced by octave::base_qobject::config_translators().


The documentation for this class was generated from the following files: