Mercurial > octave-dspies
comparison libgui/src/m-editor/file-editor-tab.cc @ 18555:2d5d0d86432e gui-release
gui: Add select all menu (Bug #41797)
* libgui//qterminal/libqterminal/QTerminal.h: Add selectAll popup menu and virtual function.
* libgui/qterminal/libqterminal/unix/QUnixTerminalImpl.cpp,h: Add selectAll function.
* libgui/qterminal/libqterminal/unix/TerminalView.cpp,h: add selectAll function.
* libgui/qterminal/libqterminal/win32/QWinTerminalImpl.cpp,h: Add selectAll function.
* libgui/src/documentation-dock-widget.cc,h: Add selectAll function.
* libgui/src/files-dock-widget.cc,h: Add selectAll function.
* libgui/src/history-dock-widget.cc,h: Add selectAll function.
* libgui/src/m-editor/file-editor-tab.cc,h: Add select_all function and signal.
* libgui/src/m-editor/file-editor.cc,h: Add request_selectall and selectAll function, add Edit->select all menu.
* libgui/src/main-window.cc: add selectAll function, selectAll menu.
* libgui/src/octave-dock-widget.cc,h: Add virtual selectAll function and connect to mainwindow selectall signal.
* libgui/src/qtinfo/webinfo.cc,h: Add selectAll function.
* libgui/src/workspace-view.cc,h: Add selectAll function.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 11 Mar 2014 19:27:23 -0400 |
parents | 6eae8ba32e62 |
children | 26d15a57f45b |
comparison
equal
deleted
inserted
replaced
18551:de76baa76aa1 | 18555:2d5d0d86432e |
---|---|
449 | 449 |
450 _edit_area->paste (); | 450 _edit_area->paste (); |
451 } | 451 } |
452 | 452 |
453 void | 453 void |
454 file_editor_tab::select_all (const QWidget *ID) | |
455 { | |
456 if (ID != this) | |
457 return; | |
458 | |
459 _edit_area->selectAll (); | |
460 } | |
461 | |
462 | |
463 void | |
454 file_editor_tab::context_help (const QWidget *ID, bool doc) | 464 file_editor_tab::context_help (const QWidget *ID, bool doc) |
455 { | 465 { |
456 if (ID != this) | 466 if (ID != this) |
457 return; | 467 return; |
458 | 468 |