| 169 | } |
| 170 | |
| 171 | void KDChart::TextBubbleLayoutItem::paint(QPainter *painter) |
| 172 | { |
| 173 | const QPen oldPen = painter->pen(); |
| 174 | const QBrush oldBrush = painter->brush(); |
| 175 | painter->setPen(Qt::black); |
| 176 | painter->setBrush(QColor(255, 255, 220)); |
| 177 | painter->drawRoundedRect(geometry(), 10, 25, Qt::RelativeSize); |
| 178 | painter->setPen(oldPen); |
| 179 | painter->setBrush(oldBrush); |
| 180 | m_text->paint(painter); |
| 181 | } |
| 182 | |
| 183 | int KDChart::TextBubbleLayoutItem::borderWidth() const |
| 184 | { |
nothing calls this directly
no test coverage detected