neoscore.interface.qt.q_rich_text_item

class neoscore.interface.qt.q_rich_text_item.QRichTextItem[source]

Bases: QGraphicsTextItem

A lighted specialized version of QGraphicsTextItem

  • Enables painter caching

  • Allows debugging bounding rect drawing

  • Enables anti-aliasing

__init__(transform_origin: QPointF = ORIGIN)[source]
Parameters

transform_origin – The origin point for rotation and scaling transforms

paint(self, painter: Optional[QPainter], option: Optional[QStyleOptionGraphicsItem], widget: Optional[QWidget])[source]