QRuler

Refactoring of BuilderViewRuler into QRuler, QHorizontalRuler,
QVerticalRuler