def refreshAlignmentUi(self):
        """
        Refreshes the alignment UI information.
        """
        align = self.alignment()
        for name, value in (('align_left', Qt.AlignLeft),
                            ('align_right', Qt.AlignRight),
                            ('align_center', Qt.AlignHCenter),
                            ('align_justify', Qt.AlignJustify)):
            
            act = self._actions[name]
            act.blockSignals(True)
            act.setChecked(value == align)
            act.blockSignals(False)
def refreshAlignmentUi ( self ) : align = self . alignment ( ) for name , value in ( ( 'align_left' , Qt . AlignLeft ) , ( 'align_right' , Qt . AlignRight ) , ( 'align_center' , Qt . AlignHCenter ) , ( 'align_justify' , Qt . AlignJustify ) ) : act = self . _actions [ name ] act . blockSignals ( True ) act . setChecked ( value == align ) act . blockSignals ( False )
Refreshes the alignment UI information.