def set_enabled_all(objects, enable):
 for obj in objects:
  obj.setEnabled(enable)

def set_enabled_all ( objects , enable ) : for obj in objects : obj . setEnabled ( enable )
set enabled properties on all objects .