def get_image_label(name, default='not_found.png'):
 label = QLabel()
 label.setPixmap(QPixmap(get_image_path(name, default)))
 return label

def get_image_label ( name , default = 'not_found.png' ) : label = QLabel ( ) label . setPixmap ( QPixmap ( get_image_path ( name , default ) ) ) return label
return image inside a qlabel object .