shiboken: wrap class derived from (specialized) template class
-
wrote on 13 Mar 2025, 13:11 last edited by
QwtPlotCurve from the Qwt libraries derives from
QwtPlotSeriesItem and QwtSeriesStore<QPointF>
How to let shiboken generate wrappers for QwtPlotCurve?
I think this should be feasible since QwtSeriesStore is specialized with QPointF...
If not possible, I'll proceed wrapping (in C++) QwtPlotCurve inside another class
Thanks
-
wrote on 13 Mar 2025, 13:59 last edited by
You can try to specify QwtSeriesStore as <custom-type name /> with generate="no" and see what happens. But maybe wrapping is better.
-
wrote 14 days ago last edited by
Hey @giacomos also consider looking at this old Qwt implementation of bindings: https://github.com/qt-ps-americas/pysideqwt it's not up-to-date, but it can help you with some types, for example you can see how QwtPlotCurve was exposed here: https://github.com/qt-ps-americas/pysideqwt/blob/master/bindings.xml#L13