You have to derive from QwtLinearScaleEngine adding your inch/millimeter modes there.
I guess all what needs to be done is to overload divideScale/autoScale, where you convert the values into the current mode. Then you can simply call the method of the base class with the converted values. Of course the result of the base class needs to be reconverted to the incoming mode too.
Uwe
Bookmarks