noname | 5 Sep 19:27
Picon
Picon
Favicon

height of QwtPlotScaleItem ?

hi guys,

basically, i only need to know the height of a QwtPlotScaleItem which is 
inside a widget derived from QwtPlot.
i guess it shouldn't be that much of a problem, but it couldn't figure 
out how to get the height for some weeks now.
all i found was QwtScaleDraw::extent which doesn't seem to work, but in 
the docs the description sounds like it's what i'm looking for.

i hope you can help me. if you need me to show some code of what i tried 
or give you more infos, just say it.

thanks in advance!
sincerely,
julian

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Uwe Rathmann | 11 Sep 09:45
Picon

Re: height of QwtPlotScaleItem ?

On Friday 05 September 2008 19:30, noname wrote:

> basically, i only need to know the height of a QwtPlotScaleItem which is
> inside a widget derived from QwtPlot.
> i guess it shouldn't be that much of a problem, but it couldn't figure
> out how to get the height for some weeks now.
> all i found was QwtScaleDraw::extent which doesn't seem to work, but in
> the docs the description sounds like it's what i'm looking for.

For a horizontal scale the extent is indeed the height of your scale.

Uwe

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane