Is it possible to create a subclass of a QML element?
I was trying to create a custom QML slider (as opposed to the one available in QtQuick.Controls). So I wanted to look and feel to remain the same while the range itself to behave logarithmically (not arithmatically).
I know it is possible for me to define a custom slider in c++, register it with QML and then use it in QML. But I wanted to see if i could reuse the existing QML slider by creating a subclass so that I can change only what I want to change and everything else behaves the same as the QML Slider.
So. Is it possible to create a custom subclass of a QML element.
Thank you
property double logValue: Math.log(value)
in the normal slider and then use this one? – koopajah