comparison libgui/src/m-editor/file-editor.h @ 18721:99e26cb0f87f gui-release

use the actions from the editor for the context menu * octave-qscintilla.cc (contextMenuEvent): emit new signal for adding the actions from the editor to the edit areas context menu * octave-qscintilla.h: new signal * file-editor-tab.cc (create_context_menu): new slot for the new signal from the edit area, (constructor): connect the edit areas signal for creating the context menu to this new slot * file-edit-tab.h: new slot and new signal for the editor dock widget * file-editor.cc (create_context_menu): new slot for the new signal from the edit tab adding the actions from the editor menu to the context menu, (add_new_edit_tab): connect the edit tabs signal for creating the context menu to this new slot * file-editor.h: new slot
author Torsten <ttl@justmail.de>
date Sun, 27 Apr 2014 18:35:19 +0200
parents 74ef7fed8b9a
children fac35875f6eb
comparison
equal deleted inserted replaced
18720:74ef7fed8b9a 18721:99e26cb0f87f
211 211
212 void zoom_in (bool); 212 void zoom_in (bool);
213 void zoom_out (bool); 213 void zoom_out (bool);
214 void zoom_normal (bool); 214 void zoom_normal (bool);
215 215
216 void create_context_menu (QMenu *);
217
216 protected: 218 protected:
217 219
218 void dragEnterEvent(QDragEnterEvent *event); 220 void dragEnterEvent(QDragEnterEvent *event);
219 void dropEvent(QDropEvent *event); 221 void dropEvent(QDropEvent *event);
220 222