| 128 | } |
| 129 | |
| 130 | void ProjectModelItemDelegate::drawStyledBackground(QPainter* painter, const QStyleOptionViewItem& option) const |
| 131 | { |
| 132 | QStyleOptionViewItem opt(option); |
| 133 | QStyle *style = opt.widget->style(); |
| 134 | style->drawPrimitive(QStyle::PE_PanelItemViewItem, &option, painter, opt.widget); |
| 135 | } |
| 136 | |
| 137 | void ProjectModelItemDelegate::drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, |
| 138 | const QRect& rect, const QString& text) const |
nothing calls this directly
no test coverage detected