[Kst] [Bug 120332] Local Y-zoom uses only one curve

George Staikos staikos at kde.org
Wed Jan 18 22:49:14 CET 2006


On Wednesday 18 January 2006 16:05, Barth Netterfield wrote:
> How should this particular case be handled....

  There are lots of options.  A couple of them might be:

// My preferred, perhaps with a typedef for the QPair to make it clear
QPair<double, double> calculateAutoBorderBoundaries(bool isLog);
// Also works and is clear that it is outputting information
void calculateAutoBorderBoundaries(bool isLog, double *minBorder, double 
*maxBorder);

In Qt4 there are classes like QPointF and QRectF which will be quite useful.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/


More information about the Kst mailing list