[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Please update Qt CVS if you are using it (and scrollbar notes).
From:       Mosfet <mosfet () jorsm ! com>
Date:       1999-09-29 12:37:38
[Download RAW message or body]

A patch has been commited to the Qt CVS that allows arbitary scrollbar extents
(width for vertical bars, height for horizontal ones), instead of the fixed
value of 16. If you are using Qt CVS please update it or compliation of kdelibs
and kdebase/konsole will fail. If you are not using Qt CVS don't worry about
it, the code is all #if'ed for Qt 2.1.0. The systemtest theme uses this feature
now.

Of course, this means you can no longer assume scrollbars have an extent of 16.
Konsole and khtml both do this and have been changed with the above #if for Qt
2.1.0. Use QApplication::style().scrollBarExtent() instead. You also should
reimplement QWidget::styleChange() and recalculate your fixed layouts if you
have code based on scrollbar size. Almost all code doesn't have to worry about
this since QScrollView and the other Qt widgets already handle it for you. 

-- 
Daniel M. Duley - Unix developer & sys admin.
mosfet@mandrakesoft.com
mosfet@kde.org
mosfet@jorsm.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic