[PATCH] fix egoistic KTabWidget/Bar DnD behaviour

Marc Mutz marc at kdab.net
Mon Feb 25 14:22:30 GMT 2008


Hi,

[Please CC me on replies]

KTabWidget as weel as KTabBar accept every since dragEnterEvent, but reject 
most dragMoveEvent()s. This effectively blocks event propagation up the 
parentWidget() chain (use case: reimplement dragEnterEvent() in a main window 
with a ktabwidget as central widget).

The attached patch fixes this. I've checked that mmb-moving tabs stil works 
after this patch. I'd like to commit to 4.0-branch, too.

Thanks,
Marc

-- 
Marc Mutz - marc at kdab.com, mutz at kde.org - Klarälvdalens Datakonsult AB
Platform-independent software solutions - www.kdab.com info at kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-egoistic-ktabwidget-dnd.diff
Type: text/x-diff
Size: 1669 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080225/99020032/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080225/99020032/attachment.sig>


More information about the kde-core-devel mailing list