// Draw a nice gradient for longer items
// Qt's text drawing with a gradient brush sucks, so we use an alpha-channeled pixmap instead
QPixmap pixmap(QSize(layout()->boundingRect().width(), layout()->boundingRect().height()));
// Draw a nice gradient for longer items
// Qt's text drawing with a gradient brush sucks, so we use an alpha-channeled pixmap instead
QPixmap pixmap(QSize(layout()->boundingRect().width(), layout()->boundingRect().height()));