Python Bindings for Qwt | ||
---|---|---|
Prev |
The following sections should be used in conjunction with the normal class documentation - only the differences specific to the Python bindings are documented here. Personally, I tend to use "man 3 qwtplot" and friends.
In these sections, is not yet implemented implies that the feature can be easily implemented if needed. is not implemented implies that the feature will not be implemented, either because it cannot be or because it is not appropriate.
If a class is described as being fully implemented then all non-private member functions and all public class variables have been implemented.
Classes that are not mentioned have not yet been implemented. Sometimes, a sip interface file exists for classes, that are not documented in the man pages of the Qwt library. In this case, inclusion of the relevant interface file has been commented out in sip/qwt.sip. Let me know, if you have a real use for such a class.
The classes in the Qwt library have quite a few protected attributes. They are not available in Python (sip wraps protected member function, but does not wrap protected attributes).
QwtArrowButton is fully implemented.
C++ declaration:
void adjust(double minVal, double maxVal, int reset = 0); void adjust(double* x, int size, int reset = 0); |
autoScale.adjust(minVal, maxVal, reset = 0) autoScale.adjust(x, reset = 0) |
QwtColorFilter, QwtFltrDim, QwtFltrGray and QwtFilterInv are fully implemented.
QwtCounter is fully implemented.
C++ declaration:
void setData(double* x, double* y, int size) void setData(double* x, double* y, double* e, int size); |
curve.setData(x, y) curve.setData(x, y, e) |
C++ declaration:
void setRawData(double* x, double* y, int size) void setRawData(double* x, double* y, double* e, int size); |
C++ declaration:
int verifyRange(int& i1, int& i2); |
length, first, last = curve.verifyRange(i1, i2) |
QwtDiMap is fully implemented.
QwtDblRange is fully implemented.
Qwt is fully implemented.
QwtGrid is fully implemented.
QwtKnob is fully implemented.
QwtLegend is fully implemented.
QwtLegendItem is fully implemented.
QwtMarker is fully implemented.
QwtPixFrame is fully implemented.
C++ declaration:
void print(QPrinter &, const QwtColorFilter &); |
C++ declaration:
bool setCurveData(long key, double *x, double *y, int size); bool setCurveData(long key, double *x, double *y, double *e, int size); |
plot.setCurveData(key, x, y) plot.setCurveData(key, x, y, e) |
C++ declaration:
bool setCurveRawData(long key, double* x, double* y, int size); bool setCurveRawData(long key, double* x, double* y, double* e, int size); |
C++ declaration:
long closestCurve(int xPos, int yPos, int& distance) const; long closestCurve(int xPos, int yPos, int& distance, double& xVal, double& yVal, int& index) const; |
key, distance, xVal, yVal, index = plot.closestCurve(xPos, yPos) |
C++ declaration:
QArray<long> curveKeys() const; |
C++ declaration:
bool axisMargins(int axis, double& lowMargin, double& highMargin) const; |
valid, lowMargin, highMargin = plot.axisMargins(axis) |
C++ declaration:
void axisLabelFormat(int axis, char& format, int& precision) const; |
format, precision = plot.axisLabelFormat(axis) |
C++ declaration:
long closestMarker(int xPos, int yPos, int& distance) const; |
key, distance = plot.closestMarker(xPos, yPos) |
C++ declaration:
QArray<long> markerKeys() const; |
C++ declaration:
void enableLegend(bool flag); |
plot.enableLegend(flag, key = -1) |
C++ declaration:
void enableTitle(bool flag); |
void labelFormat(char& format, int& precision) |
format, precision = scale.labelFormat() |
QwtScaleDiv is fully implemented.
QwtScaleIf is fully implemented.
QwtBaseSlider is fully implemented.
C++ declaration:
virtual void getScrollMode(const QPoint& point, int& scrollMode, int& scrollDirection) = 0; |
QwtSlider is fully implemented.
C++ declaration:
int recalc(double* x, double* y, int n, bool periodic = 0); |
errorCode = spline.recalc(x, y, periodic) |
C++ declaration:
void copyValues(int enable = 1); |
QwtThermo is fully implemented.
QwtSymbol is fully implemented.
QwtWheel is fully implemented.