Qt-interest Archive, September 2007
overriding the behaviour of the tabbar's scrollbuttons
Message 1 in thread
hi,
i was wondering if there is a way to override the behaviour of the tabbar's
scrollbuttons, meaning that i can somehow control how the whole tabbar thing
behaves/scrolls when i press the scrollbutton.
im asking cause im trying to implement tab drag & drop and the only thing
that i have left is the case when the tabbar is too wide to fit the window
and so the scrollbuttons appear and id like to be able to scroll the tabbar
contents somehow so that i can drag the tab conveniently across the tabbar.
the problem is that apparently there is no such thing that would allow me to
implement this kind of functionality. i was looking thru the Qt sources
(src/gui/widgets/qtabbar.cpp) and i found out that the scrollbuttons'
behaviour and actually the whole tabbar scrolling thing is handled thru some
QTabBarPrivate object which is, obviously, private.
is there any way to workaround this or am i doomed for good?
thanks in advance for any replies.
SHY