void VisibleDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
{
QStyleOptionViewItem myOption = option;
QColor c=QColor(197, 255, 183);
if (myOption.showDecorationSelected && (myOption.state & QStyle::State_Selected))
{
myOption.palette.setColor(QPalette::Highlight, c);
myOption.palette.setColor(QPalette::HighlightedText, Qt::black);
}
QStyledItemDelegate::paint(painter, myOption, index);
}
и задавай чего хочешь