rem: painter->fillRect(box, bgColour); painter->drawText(box, AlignVCenter, data->messageText); break;
add: painter->drawPixmap(QPoint(iconRect.left() + frameWidth, iconRect.top()), *pixmap, pixmapRect); painter->drawText(textRect, AlignVCenter, text(column));
context: void AlarmListViewItem::paintCell(QPainter* painter, const QColorGroup& cg, int column, int width, int /*align*/){	const AlarmListView* listView = alarmListView();	const AlarmItemData* data   = listView->getData(this);	int                  margin = listView->itemMargin();	QRect box (margin, margin, width - margin*2, height() - margin*2);	bool   selected = isSelected();	QColor bgColour = selected ? cg.highlight() : cg.base();	painter->setPen(selected ? cg.highlightedText() : cg.text());	switch (column)	{	case AlarmListView::TIME_COLUMN:		painter->fillRect(box, bgColour);		painter->drawText(box, AlignVCenter, data->dateTimeText);		break;	case AlarmListView::REPEAT_COLUMN:		painter->fillRect(box, bgColour);		painter->drawText(box, AlignVCenter | AlignHCenter, data->repeatCountText);		break;	case AlarmListView::COLOUR_COLUMN:		// Paint the cell the colour of the alarm message		painter->fillRect(box, data->event.colour());		break;	case AlarmListView::MESSAGE_COLUMN:		if (!selected  &&  listView->drawMessageInColour())		{			QColor colour = data->event.colour();			painter->fillRect(box, colour);			painter->setBackgroundColor(colour);//			painter->setPen(data->event->fgColour());			painter->drawText(box, AlignVCenter, data->messageText);			break;		}//		QListViewItem::paintCell(painter, cg, column, width, align);		painter->fillRect(box, bgColour);		painter->drawText(box, AlignVCenter, data->messageText);		break;	}}