Mercurial > octave
diff libgui/src/workspace-model.h @ 31699:ca3e6e324d54
use signal/slot connection for debugging tooltips in editor
* octave-qscintilla.h, octave-qscintilla.cc
(octave_qscintalla::show_symbol_tooltip_signal): New signal.
(octave_qscintalla::event): Emit show_symbol_tooltip_signal instead of
accessing workspace model through octave_qobject.
* file-editor.h, file-editor.cc
(file_editor::show_symbol_tooltip_signal): New signal.
(file_editor::make_file_editor_tab):
Forward show_symbol_tooltip_signal from octave_qscintalla to file_editor.
* workspace-model.h, workspace-model.cc
(workspace_model::show_symbol_tooltip): New function.
* main-window.cc (main_window::adopt_editor_widget):
Connect file_editor::show_symbol_tooltip_signal to
workspace_model::show_symbol_tooltip slot.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 02 Jan 2023 12:25:42 -0500 |
parents | deb553ac2c54 |
children | 5f11de0e7440 |
line wrap: on
line diff