(self, oldRect, newRect, painter)
| 135 | 0, 0, newRect.width(), newRect.height()) |
| 136 | |
| 137 | def DrawConstPart(self, oldRect, newRect, painter): |
| 138 | # print("DrawConstPart oldRect:{oldRect} newRect:{newRect}".format(oldRect = oldRect, newRect = newRect)) |
| 139 | img = self.Image.copy(oldRect) |
| 140 | painter.drawImage(newRect.x(), newRect.y(), img, 0, |
| 141 | 0, newRect.width(), newRect.height()) |
| 142 | |
| 143 | def IsColorBlack(self, color): |
| 144 | r = qRed(color) |
no test coverage detected