Mercurial > octave
diff libgui/src/main-window.h @ 19631:4e85ca0b4887 gui-release
add apply button to the settings dialog (bug #44081)
* main-window.cc (process_settings_dialog_request) connect signal for
applying the changes, settings dialog is non modal now;
(request_reload_settings): new slot for siganl from settings dialog when
when apply button was clicked
* main-window .h: new slot request_reload_settings
* settings-dialog.cc (constructor): connect signal when button box is clicked
to the new slot button_clicked;
(button_clicked): new slot
* settings-dialog.h: new signal and related slot
* settings-dialog.ui: new applay button
author | Torsten <ttl@justmail.de> |
---|---|
date | Sun, 25 Jan 2015 12:22:48 +0100 |
parents | f9a944b9e1cb |
children | 101ce4eaa56c |
line wrap: on
line diff
--- a/libgui/src/main-window.h Sat Jan 24 22:46:20 2015 +0100 +++ b/libgui/src/main-window.h Sun Jan 25 12:22:48 2015 +0100 @@ -103,6 +103,7 @@ public slots: void focus_changed (QWidget *w_old, QWidget *w_new); + void request_reload_settings (); void report_status_message (const QString& statusMessage);