code: def setAlignment(self, align):
          
          self.blockSignals(True)
          self.editor().setAlignment(align)
          self.blockSignals(False)
          self.refreshAlignmentUi()
docs: Sets the current alignment for this editor.
          
          :param      align | <Qt.Align>