420 self.__zoom * i, self.__zoom * self.__image.height()) |
420 self.__zoom * i, self.__zoom * self.__image.height()) |
421 i += 1 |
421 i += 1 |
422 j = 0 |
422 j = 0 |
423 while j <= self.__image.height(): |
423 while j <= self.__image.height(): |
424 painter.drawLine( |
424 painter.drawLine( |
425 0, self.__zoom * j, |
425 0, self.__zoom * j, |
426 self.__zoom * self.__image.width(), self.__zoom * j) |
426 self.__zoom * self.__image.width(), self.__zoom * j) |
427 j += 1 |
427 j += 1 |
428 |
428 |
429 col = QColor("#aaa") |
429 col = QColor("#aaa") |
430 painter.setPen(Qt.DashLine) |
430 painter.setPen(Qt.DashLine) |