Mercurial > octave
comparison libgui/src/qt-interpreter-events.h @ 31087:9c0099048264
exp cmd widget: fix missing promt after error
* octave-qobject.cc (base_qobject::terminal_widget): connect signals
of interpreter events to terminal signals instead of slots
* qt-interpreter-events.cc (display_exception): emit signal for
new command line after exception message in eyp. terminal widget
* qt-interpreter-events.h: new signal new_command_line_signal
* terminal-dock-widget.cc (terminal_dock_widget): connect new
interpreter triggered signal to related slot in console;
(interpreter_output): removed, slot was only emitting a signal,
which is now directly connected to the first signal;
(update_prompt): dito
* terminal-dock-widget.h: new signal new_command_line_signal,
removed interpreter_output and update_prompt
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Fri, 10 Jun 2022 18:02:23 +0200 |
parents | 796f54d4ddbf |
children | ad014fc78bd6 c6d54dd31a7e |
comparison
equal
deleted
inserted
replaced
31086:d5696a4efa84 | 31087:9c0099048264 |
---|---|
285 void show_workspace_signal (void); | 285 void show_workspace_signal (void); |
286 | 286 |
287 void show_community_news_signal (int serial); | 287 void show_community_news_signal (int serial); |
288 void show_release_notes_signal (void); | 288 void show_release_notes_signal (void); |
289 | 289 |
290 // Note: this signal currently not used by the old terminal widget. | 290 // Note: the next two signals are currently not used by the old terminal widget. |
291 void interpreter_output_signal (const QString& msg); | 291 void interpreter_output_signal (const QString& msg); |
292 void new_command_line_signal (const QString& msg = QString ()); | |
292 | 293 |
293 void gui_status_update_signal (const QString& feature, const QString& status); | 294 void gui_status_update_signal (const QString& feature, const QString& status); |
294 | 295 |
295 void update_gui_lexer_signal (bool update_apis_only); | 296 void update_gui_lexer_signal (bool update_apis_only); |
296 | 297 |