def get_gui_setting(gui_settings, value, default, is_bool=False):
 val = gui_settings.value(value, default)
 if is_bool:
  val = ((val == True) or (val == 'true'))
 return val

def get_gui_setting ( gui_settings , value , default , is_bool = False ) : val = gui_settings . value ( value , default ) if is_bool : val = ( ( val == True ) or ( val == 'true' ) ) return val
utility method to get a specific gui setting .