#NEWLINE# @ staticmethod #NEWLINE# def setSetting( moduleName , settingName , settingValue ) : #NEWLINE# #INDENT# 'Set the value of a setting in Slicer' #NEWLINE# settingPath = ( '%s/%s' % ( settingPath , settingName ) ) #NEWLINE# slicer . app . settings ( ) . setValue ( settingPath , settingValue )