Sets focus to first field. Note: reason is ignored.

def setFocus(self, reason=None):
        """Sets focus to first field. Note: reason is ignored."""
        self.formLayout.itemAt(0, QFormLayout.FieldRole).widget().setFocus()