[Kalzium] Spectrum-classes: My vision of the future

Carsten Niehaus cniehaus at gmx.de
Thu Jul 14 13:26:57 CEST 2005


On Wednesday, 13. July 2005 11:06, Carsten Niehaus wrote:
A little update

> a) I want it to be able to draw like this:
>
>      http://onsager.bd.psu.edu/~jircitano/Na.gif
>
> This should be optional, in same cases the user sure wants to have a black
> BG with colored lines and sometimes the other way around.

That has been done today.

> b) I want to be able to do something like widget->setMin( 500.6 ) and
> setMax( 510.3 ) which would mean the widget would "zoom" in (and out). This
> is not really difficult. 

Correct, I added that yesterday. Now I want to add a way to zoom in using the 
mouse.

> Ok, right now this method doesn't work... I have no clue how to map 
> a freq to a QColor or a QColor to a freq. I didn't find any algo for this.
<snip>
> A mathmatical calculation of the color would be much better (more precise)
> but I dunno how to do it... Do you have any ideas?

Fixed, I found a pascal-algo and ported it to cpp yesterday.

Carsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kalzium/attachments/20050714/8d817421/attachment.pgp


More information about the Kalzium mailing list