Mercurial > hg > octave-nkf
diff libgui/src/m-editor/file-editor-tab.h @ 15984:1eb3c67139f6
Add full-length-name tool tip to editor file tab when name is not full length.
* file-editor-tab.cc (file_editor_tab::update_window_title): Add and construct
tooltip variable then signal file_name_changed() with second input string.
* file-editor-tab.h (file_editor_tab::file_name_changed): Add second input
string to accommodate tool tip.
* file-editor.cc, file-editor.h (file_editor::handle_file_name_changed): Add
second input string and set tool tip via Qt setTabToolTip() member function.
author | Daniel J Sebald <daniel.sebald@ieee.org> |
---|---|
date | Sun, 27 Jan 2013 18:44:53 -0600 |
parents | 6c0fce0632a4 |
children | e0df71fbe39b |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.h +++ b/libgui/src/m-editor/file-editor-tab.h @@ -86,7 +86,7 @@ void file_has_changed (const QString& fileName); signals: - void file_name_changed (const QString& fileName); + void file_name_changed (const QString& fileName, const QString& toolTip); void editor_state_changed (bool copy_available, const QString& fileName); void tab_remove_request (); void add_filename_to_list (const QString& fileName);