#NEWLINE# @ staticmethod #NEWLINE# def getIcon( iconName , isSystemIcon = False ) : #NEWLINE# #INDENT# ' Build a new QIcon from the common CIP icons library or from the Slicer system icons\n        :param iconName: name of the file (ex: previous.png)\n        :param isSystemIcon: True if the icon belongs to the Slicer library. The available files can be found in the\n        folder "/Users/Jorge/Projects/BWH/Slicer/Libs/MRML/Widgets/Resources/Icons".\n        isSystemIcon=False for CIP icons (in "SlicerCIP/Scripted/CIP_Common/CIP/ui/Resources/Icons/")\n        :return: QIcon object\n        ' #NEWLINE# if ( not isSystemIcon ) : #NEWLINE# #INDENT# return qt . QIcon ( os . path . join ( SlicerUtil . CIP_ICON_DIR , iconName ) ) #NEWLINE# #UNINDENT# return qt . QIcon ( ( ':/Icons/' + iconName ) )