Mercurial > octave-nkf
comparison libgui/src/octave-dock-widget.h @ 19394:2f9d9663b6b0 gui-release
fix double clicks into the borders of floating dock widgets (bug #43662)
* octave-dock-widget.cc (eventFilter): new event filter catching double
clicks outside the client area;
(constructor): install new event filter
* octave-dock-widget.h: new eventFilter
author | Torsten <ttl@justmail.de> |
---|---|
date | Tue, 25 Nov 2014 23:14:24 +0100 |
parents | 2d5d0d86432e |
children | d93293218966 |
comparison
equal
deleted
inserted
replaced
19392:998628b7963a | 19394:2f9d9663b6b0 |
---|---|
103 } | 103 } |
104 virtual void selectAll () | 104 virtual void selectAll () |
105 { | 105 { |
106 } | 106 } |
107 | 107 |
108 // event filter for double clicks into the window decoration elements | |
109 bool eventFilter(QObject *obj, QEvent *e); | |
110 | |
108 private slots: | 111 private slots: |
109 | 112 |
110 void change_floating (bool); | 113 void change_floating (bool); |
111 void change_visibility (bool); | 114 void change_visibility (bool); |
112 | 115 |