3.3 Class reference

Warning: The documentation is for the future PyQwt-5.0 which is only available from CVS. A snapshot, PyQwt5-20061017.tar.gz, is available. Please refer, to the documentation in the snapshot when you use the snapshot.

class QwtAbstractScale
is fully implemented.

class QwtAbstractScaleDraw
is fully implemented.

class QwtAbstractSlider
is fully implemented.

class QwtAlphaColorMap
is fully implemented.

class QwtAnalogClock
is fully implemented.

class QwtArrayData
is fully implemented.

class QwtArrayDouble
is a wrapper for QwtArray<double>, see 3.2.

class QwtArrayInt
is a wrapper for QwtArray<int>, see 3.2.

class QwtArrayQwtDoublePoint
is a wrapper for QwtArray<QwtArrayDoublePoint>, see 3.2.

class QwtArrowButton
is fully implemented.

class QwtColorMap
is fully implemented.

class QwtCompass
is fully implemented.

class QwtCompassMagnetNeedle
is fully implemented.

class QwtCompassRose
is fully implemented.

class QwtCompassWindArrow
is fully implemented.

class QwtCounter
is fully implemented.

class QwtCurveFitter
is fully implemented.

class QwtData
is fully implemented.

class QwtDial
is fully implemented.

class QwtDialNeedle
is fully implemented.

class QwtDialScaleDraw
is fully implemented.

class QwtDialSimpleNeedle
is fully implemented.

class QwtDoubleInterval
is fully implemented.

class QwtDoublePoint
is fully implemented, but only available when PyQwt has been built for Qt-3. When PyQwt has been built for Qt-4, replace this class with QPointF except for in signals. For example, clicking in the canvas of the plot displayed canvas by the following program
#!/usr/bin/env python

import sys
from PyQt4 import Qt
import PyQt4.Qwt5 as Qwt

def aSlot(aQPointF):
    print 'aSlot gets:', aQPointF

# dummy()

def make():
    demo = Qwt.QwtPlot()
    picker = Qwt.QwtPlotPicker(Qwt.QwtPlot.xBottom,
                               Qwt.QwtPlot.yLeft,
                               Qwt.QwtPicker.PointSelection,
                               Qwt.QwtPlotPicker.CrossRubberBand,
                               Qwt.QwtPicker.AlwaysOn,
                               demo.canvas())
    picker.connect(picker, Qt.SIGNAL('selected(const QwtDoublePoint&)'), aSlot)
    return demo

# make()

def main(args):
    app = Qt.QApplication(args)
    demo = make()
    demo.show()
    sys.exit(app.exec_())

# main()

if __name__ == '__main__':
    main(sys.argv)

# Local Variables: ***
# mode: python ***
# End: ***
shows that the signal return on object of type QPointF:
aSlot gets: <PyQt4.QtCore.QPointF object at 0x2aaaaf73be20>

class QwtDoublePointData
is fully implemented.

class QwtDoubleRange
is fully implemented.

class QwtDoubleRect
is fully implemented, but only available when PyQwt has been built for Qt-3. When PyQwt has been built for Qt-4, replace this class with QRectF except for in signals. See QwtDoublePoint.

class QwtDoubleSize
is fully implemented, but only available when PyQwt has been built for Qt-3. When PyQwt has been built for Qt-4, replace this class with QSizeF except for in signals. See QwtDoublePoint.

class QwtDynGridLayout
is fully implemented.

class QwtEventPattern
is fully implemented.

class QwtIntervalData
is fully implemented.

class QwtKnob
is fully implemented.

class QwtLegend
is fully implemented.

class QwtLegendItem
is fully implemented.

class QwtLinearColorMap
is fully implemented.

class QwtLinearScaleEngine
is fully implemented.

class QwtLog10ScaleEngine
is fully implemented.

class QwtMetricsMap
is fully implemented.

class QwtPaintBuffer
is fully implemented. This class does not exist when PyQwt has been built for Qt-4.

class QwtPainter
is fully implemented.

class QwtPicker
is fully implemented.

class QwtPickerClickPointMachine
is fully implemented.

class QwtPickerClickRectMachine
is fully implemented.

class QwtPickerDragPointMachine
is fully implemented.

class QwtPickerDragRectMachine
is fully implemented.

class QwtPickerMachine
is fully implemented.

class QwtPickerPolygonMachine
is fully implemented.

class QwtPlainTextEngine
is fully implemented.

class QwtPlot

void print( QPrinter &printer, const QwtPlotPrintFilter &filter)
is implemented as
plot.print_(printer, filter)

void print( QPainter *painter, const QRect &rect, const QwtPlotPrintFilter &filter)
is implemented as
plot.print_(painter, rect, filter)

class QwtPlotCanvas
is fully implemented.

class QwtPlotCurve

void setData(double *x, double *y, int size)
is implemented as
curve.setData(x, y)
where x and y can be any combination of lists, tuples and Numerical Python arrays. The data is copied to C++ data types.

void setRawData(double *x, double *y, int size)
is not Pythonic.

class QwtPlotDict
is fully implemented. FIXME: is the auto delete feature dangerous?

class QwtPlotGrid
is fully implemented.

class QwtPlotItem
is fully implemented.

class QwtPlotLayout
is fully implemented.

class QwtPlotMagnifier
is fully implemented.

class QwtPlotMarker
is fully implemented.

class QwtPlotPanner
is fully implemented.

class QwtPlotPicker
is fully implemented.

class QwtPlotPrintFilter
is fully implemented.

class QwtPlotRasterItem
is fully implemented.

class QwtPlotSpectrogram
FIXME: protected methods.

class QwtPlotSvgItem
is fully implemented.

class QwtPlotZoomer
is fully implemented.

class QwtPolygon
When PyQwt has been built for Qt-3, replace this class with QPointArray except for in signals. See QwtDoublePoint.

When PyQwt has been built for Qt-4, replace this class with QPolygon except for in signals. See QwtDoublePoint.

class QwtRect
is fully implemented.

class QwtRichTextEngine
is fully implemented.

class QwtRoundScaleDraw
is fully implemented.

class QwtScaleArithmic
is fully implemented.

class QwtScaleDiv

 QwtScaleDiv( const QwtDoubleInterval&, QwtValueList[NTickList])
is implemented as
scaleDiv = QwtScaleDiv(qwtDoubleInterval, majorTicks, mediumTicks, minorTicks)

 QwtScaleDiv( double, double, QwtTickList[NTickList])
is implemented as
scaleDiv = QwtScaleDiv(lower, upper, majorTicks, mediumTicks, minorTicks)

class QwtScaleDraw
is fully implemented.

class QwtScaleEngine
is fully implemented.

class QwtScaleMap
is fully implemented.

 QwtScaleMap( int, int, double, double)
does not exist in C++, but is provided by PyQwt.

class QwtScaleTransformation
is fully implemented.

class QwtScaleWidget
is fully implemented.

class QwtSimpleCompassRose
is fully implemented.

class QwtSlider
is fully implemented.

class QwtSplineCurveFitter
is fully implemented.

class QwtSymbol
is fully implemented.

class QwtText
is fully implemented.

class QwtTextEngine
is fully implemented.

class QwtTextLabel
is fully implemented.

class QwtThermo
is fully implemented.

class QwtWheel
is fully implemented.