[PATCH] KTabWidget / KTabBar changes for Qt 4.5
Andreas Pakulat
apaku at gmx.de
Wed Feb 25 17:32:38 GMT 2009
On 21.02.09 12:58:19, Urs Wolfer wrote:
> Please review the following patch.
>
> Changes related to Qt 4.5 QTabWidget / QTabBar improvements:
> * Deprecate:
> * KTabBar/KTabWidget#isTabReorderingEnabled; use QTabBar#setMovable
> * KTabBar/KTabWidget#setCloseButtonEnabled; use QTabBar#setTabsClosable
> * KTabBar/KTabWidget#setTabCloseActivatePrevious; use
> QTabBar#setSelectionBehaviorOnRemove
> * signal KTabBar#moveTab; port to QTabBar#setMovable and connect to
> QTabBar#tabMoved
> * signal KTabBar#closeRequest; connect to QTabBar#tabCloseRequested
This introduces a behavioural change apparently, because Qt uses
mouse-button1 to initiate tab-movements while KDE always used
middle-button.
I'm concerned about those that are accustomed to being able to drag around
tabs via middle-click. Should we re-add that for KTabWidget as backward
compatibility?
Andreas
--
You will contract a rare disease.
More information about the kde-core-devel
mailing list