QPixmap(400, 300) self.canvas.fill(Qt.white) self.label. ... e): if self.last_x is None: # First event. self.last_x = e.x() self.last_y = e.y() return ...
確定! 回上一頁