Exemplo n.º 1
0
 def loadGridSquareSizedImage(self, filename, visible=True):
     """ Load a Grid Square Sized Image from the filename given """
     image = LoadImageLabel(filename, scaledXSize=self.GRID_SQUARE_SIZE, scaledYSize=self.GRID_SQUARE_SIZE, parent=self)
     image.move(0, 0)
     image.setVisible(visible)
     return image
Exemplo n.º 2
0
 def loadArrow(self, filename, xPosition, yPosition):
     """ Load Arrow Image """
     arrowLabel = LoadImageLabel(filename, parent=self)
     arrowLabel.setVisible(False)
     arrowLabel.move(xPosition, yPosition)
     return arrowLabel
Exemplo n.º 3
0
 def loadArrow(self, filename, xPosition, yPosition):
     """ Load Arrow Image """
     arrowLabel = LoadImageLabel(filename, parent=self)
     arrowLabel.setVisible(False)
     arrowLabel.move(xPosition, yPosition)
     return arrowLabel