def METHOD_NAME(self):
    """Returns a dictionary with QTextCharFormats for the different types of messages.
    Besides the STDOUT, STDERR, NEUTRAL, FAILURE and SUCCESS formats there is also
    a "link" format, that looks basically the same as the output formats, but blueish
    and underlined, to make parts of the output (e.g. filenames) look clickable.
    """
    textColor = QApplication.palette().color(QPalette.WindowText)
    successColor = qutil.addcolor(textColor, 0, 128, 0) # more green
    failureColor = qutil.addcolor(textColor, 128, 0, 0) # more red
    linkColor    = qutil.addcolor(textColor, 0, 0, 128) # more blue
    stdoutColor  = qutil.addcolor(textColor, 64, 64, 0) # more purple
    s = QSettings()
    s.beginGroup("log")
    outputFont = QFont(s.value("fontfamily", "monospace", str))
    outputFont.setPointSizeF(s.value("fontsize", 9.0, float))
    output = QTextCharFormat()
    output.setFont(outputFont)
    stdout = QTextCharFormat(output)
    stdout.setForeground(stdoutColor)
    stderr = QTextCharFormat(output)
    link   = QTextCharFormat(output)
    link.setForeground(linkColor)
    link.setFontUnderline(True)
    status = QTextCharFormat(output)
    status.setFontWeight(QFont.Bold)
    neutral = QTextCharFormat(status)
    success = QTextCharFormat(status)
    success.setForeground(successColor)
    failure = QTextCharFormat(status)
    failure.setForeground(failureColor)
    return {
        job.STDOUT: stdout,
        job.STDERR: stderr,
        job.NEUTRAL: neutral,
        job.SUCCESS: success,
        job.FAILURE: failure,
        'link': link,
    }