By overloading QwtScaleDraw::label() you have complete control over all tick labels.

Uwe