| 24 | } |
| 25 | |
| 26 | void PatternRect::setHighlighted(bool val) |
| 27 | { |
| 28 | |
| 29 | QPen pen; |
| 30 | if (val) |
| 31 | { |
| 32 | pen.setWidth(3); |
| 33 | pen.setBrush(highlighted_outline); |
| 34 | } |
| 35 | else |
| 36 | { |
| 37 | // pen.setBrush(normal_outline); |
| 38 | pen.setStyle(Qt::NoPen); |
| 39 | } |
| 40 | setPen(pen); |
| 41 | } |
| 42 | |
| 43 | void PatternRect::addToScene() |
| 44 | { |
no test coverage detected