docs: def showDetails(self):
          """
          Shows the error details.
          """
          msg = self.currentItem().data(QtCore.Qt.UserRole)
          desc = msg.description
          desc = desc.replace('\r\n', '\n').replace('\r', '\n')
          desc = desc.replace('\n', '<br/>')
          QtWidgets.QMessageBox.information(
              self, _('Message details'),
              _("""<p><b>Description:</b><br/>%s</p>
  <p><b>File:</b><br/>%s</p>
  <p><b>Line:</b><br/>%d</p>
              """) % (desc, msg.path, msg.line + 1, ))