def __init__(self, file_name): QtGui.QIcon.__init__(self, settings.icons_path().absoluteFilePath(file_name))
def get_pixmap(self, ico, wh): pixmap = QtGui.QPixmap( settings.icons_path().absoluteFilePath(ico) ) return pixmap.scaled(wh, wh, QtCore.Qt.IgnoreAspectRatio)
def get_pixmap(self, ico, wh): pixmap = QtGui.QPixmap(settings.icons_path().absoluteFilePath(ico)) return pixmap.scaled(wh, wh, QtCore.Qt.IgnoreAspectRatio)