/**
* Paints the cursor's label to the ruler.
* @param p The painter to draw with.
* @param rect The rectangle of the ruler client area.
*/
void paint_label(QPainter &p, const QRect &rect);
/**
* Paints the cursor's label to the ruler.
* @param p The painter to draw with.
* @param rect The rectangle of the ruler client area.
*/
void paint_label(QPainter &p, const QRect &rect);