Mercurial > hg > octave-jordi
comparison libgui/src/m-editor/file-editor.h @ 21000:1c91ff4cf9ec
add a menu entry for showing/hiding the editor status bar
* file-editor.cc (show_statusbar): new slot;
(notice_settings): check menu entry depending on settings, showing/hiding
status bar is don ein the editor tabs;
(construct): add new action to the view menu;
(set_shortcuts): set the shortcut for the new action
* file-editor.h: new action with new slot
* shortcut-manager.cc (do_init_data) initialize shortcut data for show
toolbar and statusbar action
author | Torsten <ttl@justmail.de> |
---|---|
date | Mon, 28 Dec 2015 19:50:49 +0100 |
parents | aab7a3c7168e |
children | 314245afff3a |
comparison
equal
deleted
inserted
replaced
20999:85dfb551e4cd | 21000:1c91ff4cf9ec |
---|---|
272 void show_white_space (bool); | 272 void show_white_space (bool); |
273 void show_eol_chars (bool); | 273 void show_eol_chars (bool); |
274 void show_indent_guides (bool); | 274 void show_indent_guides (bool); |
275 void show_long_line (bool); | 275 void show_long_line (bool); |
276 void show_toolbar (bool); | 276 void show_toolbar (bool); |
277 void show_statusbar (bool); | |
277 void zoom_in (bool); | 278 void zoom_in (bool); |
278 void zoom_out (bool); | 279 void zoom_out (bool); |
279 void zoom_normal (bool); | 280 void zoom_normal (bool); |
280 | 281 |
281 void switch_left_tab (); | 282 void switch_left_tab (); |
348 QAction *_show_whitespace_action; | 349 QAction *_show_whitespace_action; |
349 QAction *_show_eol_action; | 350 QAction *_show_eol_action; |
350 QAction *_show_indguide_action; | 351 QAction *_show_indguide_action; |
351 QAction *_show_longline_action; | 352 QAction *_show_longline_action; |
352 QAction *_show_toolbar_action; | 353 QAction *_show_toolbar_action; |
354 QAction *_show_statusbar_action; | |
353 QAction *_zoom_in_action; | 355 QAction *_zoom_in_action; |
354 QAction *_zoom_out_action; | 356 QAction *_zoom_out_action; |
355 QAction *_zoom_normal_action; | 357 QAction *_zoom_normal_action; |
356 | 358 |
357 QAction *_delete_start_word_action; | 359 QAction *_delete_start_word_action; |