QCustomPlot Discussion and Comments

Override QCPAxisRect::mouseMoveEventReturn to overview

Hello,
I want to override QCPAxisRect::mouseMoveEvent method and add some functionality. When i do that I get errors that QCPAxis::mScaleType is protected adding friend class QCPAxis does not help.
What would be the solution?

QCPAxisRect is already a friend class of QCPAxis. 'friend class' is not inherited. your best option would be to call the public getter method scaleType().