def __init__(self, gui_handler):
        """  Constructeur. Crée un objet de type Render.

            gui_handler : Gestionnaire graphique.
        """
        QDeclarativeImageProvider.__init__(self,
                                           QDeclarativeImageProvider.Pixmap)
        self.__generator = Render(gui_handler,
                                  SimUtils.get_map_bounds()[0],
                                  SimUtils.get_map_bounds()[1])
Beispiel #2
0
 def __init__(self):
     QDeclarativeImageProvider.__init__(self, self.IMAGE_TYPE)
     self.downloader = coverart.CoverDownloader()
     self._cache = {}
Beispiel #3
0
 def __init__(self):
     QDeclarativeImageProvider.__init__(self, self.IMAGE_TYPE)
     self.downloader = coverart.CoverDownloader()
     self._cache = {}