[PATCH] KDoubleSpinBox and KDoubleValidator

Dirk Mueller mueller at kde.org
Sun Jul 14 20:50:04 BST 2002


On Mit, 10 Jul 2002, Marc Mutz wrote:

> Since I've stumbled now for the n'th time over the fact that there's no 
> spin box for fractional numbers and KDoubleNumInput hasn't got a 
> spinbox, either, I sat down and wrote one. 

Which is a bug. IMHO you should implement it in KDoubleNumInput, the API was 
designed in that respect (handling of rational numbers that can be 
represented in int (for QRangeControl)). 

I don't see the point in adding another class and deprecating the old one 
when it can be done without having to change or extend the API. 

Thanks, this was another longterm TODO item for me. 

-- 
Dirk (909 mails today)




More information about the kde-core-devel mailing list