Review Request for KDecoration
Martin Gräßlin
mgraesslin at kde.org
Fri Nov 28 14:30:23 GMT 2014
On Friday 28 November 2014 15:25:03 Thomas Lübking wrote:
> On Freitag, 28. November 2014 14:55:43 CEST, Martin Gräßlin wrote:
> > Both signals are now removed. Works like a charm with the
> > handling directly in KWin.
>
> I foresee trouble/complicfication on this (at least limitation)
>
> Assume a decoration wants to alter the current tab on wheel, depending on
> the cursor position (over a dedicated tabbar) or a modifier. Or maybe
> scroll the (elided) caption on horizontal wheeling.
The decoration still has full control over it. All it needs to do is implement
the
virtual void Decoration::wheelEvent(QWheelEvent *event)
(which it would need to do so anyway) and set the event to accepted.
Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20141128/0b55faa2/attachment.sig>
More information about the kde-core-devel
mailing list