QGraphicsTextItem¶
- PyQt5.QtWidgets.QGraphicsTextItem
Inherits from QGraphicsObject.
Description¶
TODO
Methods¶
- __init__(parent: QGraphicsItem = None)
TODO
- __init__(str, parent: QGraphicsItem = None)
TODO
- adjustSize()
TODO
- boundingRect() → QRectF
TODO
- contextMenuEvent(QGraphicsSceneContextMenuEvent)
TODO
- defaultTextColor() → QColor
TODO
- document() → QTextDocument
TODO
- dragEnterEvent(QGraphicsSceneDragDropEvent)
TODO
- dragLeaveEvent(QGraphicsSceneDragDropEvent)
TODO
- dragMoveEvent(QGraphicsSceneDragDropEvent)
TODO
- dropEvent(QGraphicsSceneDragDropEvent)
TODO
- focusInEvent(QFocusEvent)
TODO
- focusOutEvent(QFocusEvent)
TODO
- font() → QFont
TODO
- hoverEnterEvent(QGraphicsSceneHoverEvent)
TODO
- hoverLeaveEvent(QGraphicsSceneHoverEvent)
TODO
- hoverMoveEvent(QGraphicsSceneHoverEvent)
TODO
- inputMethodEvent(QInputMethodEvent)
TODO
- inputMethodQuery(InputMethodQuery) → Any
TODO
- isObscuredBy(QGraphicsItem) → bool
TODO
- keyPressEvent(QKeyEvent)
TODO
- keyReleaseEvent(QKeyEvent)
TODO
- mouseDoubleClickEvent(QGraphicsSceneMouseEvent)
TODO
- mouseMoveEvent(QGraphicsSceneMouseEvent)
TODO
- mousePressEvent(QGraphicsSceneMouseEvent)
TODO
- mouseReleaseEvent(QGraphicsSceneMouseEvent)
TODO
- opaqueArea() → QPainterPath
TODO
- openExternalLinks() → bool
TODO
- paint(QPainter, QStyleOptionGraphicsItem, QWidget)
TODO
- sceneEvent(QEvent) → bool
TODO
- setDefaultTextColor(Union[QColor, GlobalColor, QGradient])
TODO
- setDocument(QTextDocument)
TODO
- setFont(QFont)
TODO
- setHtml(str)
TODO
- setOpenExternalLinks(bool)
TODO
- setPlainText(str)
TODO
- setTabChangesFocus(bool)
TODO
- setTextCursor(QTextCursor)
TODO
- setTextInteractionFlags(Union[TextInteractionFlags, TextInteractionFlag])
TODO
- setTextWidth(float)
TODO
- shape() → QPainterPath
TODO
- tabChangesFocus() → bool
TODO
- textCursor() → QTextCursor
TODO
- textInteractionFlags() → TextInteractionFlags
TODO
- textWidth() → float
TODO
- toHtml() → str
TODO
- toPlainText() → str
TODO
- type() → int
TODO