GauiStori / PyQt-Qwt

Python PyQt wrapper for Qwt6
Other
53 stars 18 forks source link

QwtLog10ScaleEngine wraper needed #9

Closed twillis449 closed 5 years ago

twillis449 commented 5 years ago

Hi

I have a huge code base that makes use of the last PyQwt wrapper that Gerard Vermeulen made for the old Python 4 / Qwt 4 stuff. I'm now faced with the task of porting the code base to Python 3 / qt 5 / Qwt 6 etc. One of the axis scale functions i need is QwtLog10ScaleEngine. It looks like you have not yet included that in your distribution and I'd be grateful if you could add it.

Thanks

Tony

GauiStori commented 5 years ago

Hi Tony

I have a huge code base that makes use of the last PyQwt wrapper that Gerard Vermeulen made for the old Python 4 / Qwt 4 stuff. I'm now faced with the task of porting the code base to Python 3 / qt 5 / Qwt 6 etc. One of the axis scale functions i need is QwtLog10ScaleEngine. Great. Please let me know how it works.

It looks like you have not yet included that in your distribution and I'd be grateful if you could add it. I'm pretty sure the function has been renamed to QwtLogScaleEngine. Please take a look at the examples bode.py and controls.py. https://qwt.sourceforge.io/class_qwt_log_scale_engine.html

Regards Gudjon

twillis449 commented 5 years ago

Thank-you for the reply. Yes, you are correct. Looks like QwtLog10ScaleEngine has disappeared from Qwt. I will use QwtLogScaleEngine.