33 if dico_images.has_key(name):
34 return dico_images[name]
36 if dico_xpm.has_key(name):
37 image=QPixmap(dico_xpm[name])
39 fic_image = os.path.join(os.path.dirname(__file__),
"icons",name)
40 if not os.path.isfile(fic_image):
41 file, ext = os.path.splitext(fic_image)
42 fic_image = file +
'.gif'
43 image = QPixmap(fic_image)
44 dico_images[name]=image