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

List:       kde-core-devel
Subject:    Re: PATCH: KProgress (#44279)
From:       Karol Szwed <kszwed () kde ! org>
Date:       2002-12-15 6:38:06
[Download RAW message or body]

On Saturday 14 December 2002 12:03 pm, Maks Orlovich wrote:
>Hi..
>
>In short: The attached patch tries to address  #44279 by having KProgress
> turn on centering of the indicator when a custom format string is set.
>Comments, suggestions?

Fine by me. Its better than the current broken behaviour.

For those still wanting progress text aside the progressbar, use a QHBoxLayout 
with a QProgressBar that has "PercentageVisible = false" (using 
KProgressBar::setTextEnabled(false) ), and a QLabel showing any progress text 
with an arbitrary format.

TrollTech should really make QProgressBar a bit smarter - GTK has allowed an 
arbitrary progress format since 1.2 or thereabouts.

--
Karol
[prev in list] [next in list] [prev in thread] [next in thread] 

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