diff libgui/src/octave-dock-widget.h @ 20221:ac3746f39fab stable

make action shortcuts available in floating widgets (bug #45078) * main-window.cc (construct): emit a list of actions which should also be available in dock widgets * main-window.h: new signal for the list of actions * octave-dock-widget.cc (octave_dock_widget): connect new signal with action list to the related new slot; (add_actions): new slot for adding main windows actions * octave-dock-widget.h: new slot
author Torsten <ttl@justmail.de>
date Wed, 13 May 2015 22:00:56 +0200
parents 643de08e524c
children
line wrap: on
line diff
--- a/libgui/src/octave-dock-widget.h	Wed May 13 20:51:41 2015 +0200
+++ b/libgui/src/octave-dock-widget.h	Wed May 13 22:00:56 2015 +0200
@@ -102,6 +102,8 @@
   // event filter for double clicks into the window decoration elements
   bool eventFilter(QObject *obj, QEvent *e);
 
+  virtual void add_actions (QList<QAction *> action_list);
+
 private slots:
 
   void change_floating (bool);