def METHOD_NAME(self, class_name):
    display_icon = self.display_icons.get(class_name, -1)
    icon_code, color_code = interpret_icon_id(display_icon)
    font = QFont('Font Awesome 5 Free Solid')
    scene = QGraphicsScene()
    x = 0
    for _ in range(2):
        y = 0
        for _ in range(2):
            text_item = scene.addText(chr(icon_code), font)
            text_item.setDefaultTextColor(color_code)
            text_item.setPos(x, y)
            y += 0.875 * text_item.boundingRect().height()
        x += 0.875 * text_item.boundingRect().width()
    scene.addRect(scene.itemsBoundingRect())
    self._group_renderers[class_name] = _SceneSvgRenderer.from_scene(scene)