+ * @param hover true if the label is being hovered over by the mouse.
+ */
+ void paint_label(QPainter &p, const QRect &rect, bool hover) override;
+
+ /**
+ * Paints the foreground layer of the item with a QPainter
+ * @param p the QPainter to paint into.
+ * @param pp the painting parameters object to paint with.