#NEWLINE# @ classmethod #NEWLINE# def update_links( cls , collection ) : #NEWLINE# #INDENT# widget = cls ( collection ) #NEWLINE# isok = widget . _ui . exec_ ( ) #NEWLINE# if links : #NEWLINE# #INDENT# links = widget . links ( ) #NEWLINE# collection . set_links ( links )