Skip to content

PythonQt.Qt.QGraphicsTextItem

QGraphicsTextItem

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

If you only need to show plain text in an item, consider using QGraphicsSimpleTextItem instead.

To set the item's text, pass a QString to QGraphicsTextItem's constructor, or call setHtml()/setPlainText().

QGraphicsTextItem uses the text's formatted size and the associated font to provide a reasonable implementation of boundingRect(), shape(), and contains(). You can set the font by calling setFont().

It is possible to make the item editable by setting the Qt::TextEditorInteraction flag using setTextInteractionFlags().

The item's preferred text width can be set using setTextWidth() and obtained using textWidth().

Note: In order to align HTML text in the center, the item's text width must be set. Otherwise, you can call adjustSize() after setting the item's text.

Note: QGraphicsTextItem accepts hover events by default. You can change this with setAcceptHoverEvents().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
CacheMode attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
DeviceCoordinateCache attribute Any (shared captured text)
Extension attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
GraphicsItemChange attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
GraphicsItemFlag attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
GraphicsItemFlags attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
ItemAcceptsInputMethod attribute Any (shared captured text)
ItemChildAddedChange attribute Any (shared captured text)
ItemChildRemovedChange attribute Any (shared captured text)
ItemClipsChildrenToShape attribute Any (shared captured text)
ItemClipsToShape attribute Any (shared captured text)
ItemContainsChildrenInShape attribute Any (shared captured text)
ItemCoordinateCache attribute Any (shared captured text)
ItemCursorChange attribute Any (shared captured text)
ItemCursorHasChanged attribute Any (shared captured text)
ItemDoesntPropagateOpacityToChildren attribute Any (shared captured text)
ItemEnabledChange attribute Any (shared captured text)
ItemEnabledHasChanged attribute Any (shared captured text)
ItemFlagsChange attribute Any (shared captured text)
ItemFlagsHaveChanged attribute Any (shared captured text)
ItemHasNoContents attribute Any (shared captured text)
ItemIgnoresParentOpacity attribute Any (shared captured text)
ItemIgnoresTransformations attribute Any (shared captured text)
ItemIsFocusScope attribute Any (shared captured text)
ItemIsFocusable attribute Any (shared captured text)
ItemIsMovable attribute Any (shared captured text)
ItemIsPanel attribute Any (shared captured text)
ItemIsSelectable attribute Any (shared captured text)
ItemMatrixChange attribute Any (shared captured text)
ItemNegativeZStacksBehindParent attribute Any (shared captured text)
ItemOpacityChange attribute Any (shared captured text)
ItemOpacityHasChanged attribute Any (shared captured text)
ItemParentChange attribute Any (shared captured text)
ItemParentHasChanged attribute Any (shared captured text)
ItemPositionChange attribute Any (shared captured text)
ItemPositionHasChanged attribute Any (shared captured text)
ItemRotationChange attribute Any (shared captured text)
ItemRotationHasChanged attribute Any (shared captured text)
ItemScaleChange attribute Any (shared captured text)
ItemScaleHasChanged attribute Any (shared captured text)
ItemSceneChange attribute Any (shared captured text)
ItemSceneHasChanged attribute Any (shared captured text)
ItemScenePositionHasChanged attribute Any (shared captured text)
ItemSelectedChange attribute Any (shared captured text)
ItemSelectedHasChanged attribute Any (shared captured text)
ItemSendsGeometryChanges attribute Any (shared captured text)
ItemSendsScenePositionChanges attribute Any (shared captured text)
ItemStacksBehindParent attribute Any (shared captured text)
ItemStopsClickFocusPropagation attribute Any (shared captured text)
ItemStopsFocusHandling attribute Any (shared captured text)
ItemToolTipChange attribute Any (shared captured text)
ItemToolTipHasChanged attribute Any (shared captured text)
ItemTransformChange attribute Any (shared captured text)
ItemTransformHasChanged attribute Any (shared captured text)
ItemTransformOriginPointChange attribute Any (shared captured text)
ItemTransformOriginPointHasChanged attribute Any (shared captured text)
ItemUsesExtendedStyleOption attribute Any (shared captured text)
ItemVisibleChange attribute Any (shared captured text)
ItemVisibleHasChanged attribute Any (shared captured text)
ItemZValueChange attribute Any (shared captured text)
ItemZValueHasChanged attribute Any (shared captured text)
NoCache attribute Any (shared captured text)
NonModal attribute Any (shared captured text)
PanelModal attribute Any (shared captured text)
PanelModality attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
SceneModal attribute Any (shared captured text)
Type attribute Any (shared captured text)
UserExtension attribute Any (shared captured text)
UserType attribute Any (shared captured text)
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
acceptDrops function (self) -> bool X.acceptDrops() -> bool (shared captured text)
acceptHoverEvents function (self) -> bool X.acceptHoverEvents() -> bool (shared captured text)
acceptTouchEvents function (self) -> bool X.acceptTouchEvents() -> bool (shared captured text)
acceptedMouseButtons function (self) -> Any (shared captured text)
addToIndex function (self) -> Any (shared captured text)
adjustSize function (self) -> None Adjusts the text item to a reasonable size. (shared captured text)
advance function (self, phase: Any) -> Any (shared captured text)
blockSignals function (self, b: Any) -> bool X.blockSignals(b) -> bool (shared captured text)
boundingRect function (self) -> Any X.boundingRect() -> PythonQt.QtCore.QRectF (shared captured text)
boundingRegion function (self, itemToDeviceTransform: Any) -> Any X.boundingRegion(itemToDeviceTransform) -> PythonQt.QtGui.QRegion (shared captured text)
boundingRegionGranularity function (self) -> float X.boundingRegionGranularity() -> float (shared captured text)
cacheMode function (self) -> Any (shared captured text)
childEvent function (self, event: Any) -> Any (shared captured text)
childItems function (self) -> tuple X.childItems() -> tuple (shared captured text)
children attribute Any (shared captured text)
childrenBoundingRect function (self) -> Any X.childrenBoundingRect() -> PythonQt.QtCore.QRectF (shared captured text)
childrenChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.childrenChanged; argument details are not documented.
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
clearFocus function (self) -> Any (shared captured text)
clipPath function (self) -> Any X.clipPath() -> PythonQt.QtGui.QPainterPath (shared captured text)
collidesWithItem function (self, other: Any, mode: Any) -> bool X.collidesWithItem(other, mode) -> bool (shared captured text)
collidesWithPath function (self, path: Any, mode: Any) -> bool X.collidesWithPath(path, mode) -> bool (shared captured text)
collidingItems function (self, mode: Any) -> tuple X.collidingItems(mode) -> tuple (shared captured text)
commonAncestorItem function (self, other: Any) -> Any X.commonAncestorItem(other) -> PythonQt.QtGui.QGraphicsItem (shared captured text)
connect function (self, signal: Any, receiver: Any, slot: Any, type: Any) -> bool X.connect(signal, receiver, slot, type) -> bool (shared captured text)
contains function (self, point: Any) -> bool X.contains(point) -> bool (shared captured text)
contextMenuEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::contextMenuEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#contextMenuEvent)(QGraphicsSceneContextMenuEvent *event). (shared captured text)
cursor function (self) -> Any X.cursor() -> PythonQt.QtGui.QCursor (shared captured text)
customEvent function (self, event: Any) -> Any (shared captured text)
data function (self, key: Any) -> Any X.data(key) -> object (shared captured text)
defaultTextColor function (self) -> Any X.defaultTextColor() -> PythonQt.QtGui.QColor (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
deleteLater function (self) -> Any (shared captured text)
destroyed function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.destroyed; argument details are not documented.
deviceTransform function (self, viewportTransform: Any) -> Any X.deviceTransform(viewportTransform) -> PythonQt.QtGui.QTransform (shared captured text)
disconnect function (self, signal: Any, receiver: Any, slot: Any) -> bool X.disconnect(signal, receiver, slot) -> bool (shared captured text)
document function (self) -> Any X.document() -> PythonQt.QtGui.QTextDocument (shared captured text)
dragEnterEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::dragEnterEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#dragEnterEvent)(QGraphicsSceneDragDropEvent *event). (shared captured text)
dragLeaveEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::dragLeaveEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#dragLeaveEvent)(QGraphicsSceneDragDropEvent *event). (shared captured text)
dragMoveEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::dragMoveEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#dragMoveEvent)(QGraphicsSceneDragDropEvent *event). (shared captured text)
dropEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::dropEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#dropEvent)(QGraphicsSceneDragDropEvent *event). (shared captured text)
dumpObjectInfo function (self) -> Any (shared captured text)
dumpObjectTree function (self) -> Any (shared captured text)
dynamicPropertyNames function (self) -> Any (shared captured text)
effect attribute QGraphicsEffect (shared captured text)
effectiveOpacity function (self) -> float X.effectiveOpacity() -> float (shared captured text)
enabled attribute Any (shared captured text)
enabledChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.enabledChanged; argument details are not documented.
ensureVisible function (self, x: Any, y: Any, w: Any, h: Any, xmargin: Any, ymargin: Any) -> Any X.ensureVisible(x, y, w, h, xmargin, ymargin) (shared captured text)
enum_1 attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
event function (self, ev: Any) -> bool X.event(ev) -> bool (shared captured text)
eventFilter function (self, watched: Any, event: Any) -> bool X.eventFilter(watched, event) -> bool (shared captured text)
extension function (self, variant: Any) -> Any X.extension(variant) -> object (shared captured text)
filtersChildEvents function (self) -> bool X.filtersChildEvents() -> bool (shared captured text)
findChild function (self, type: Any, name: Any) -> Any X.findChild(type, name) -> PythonQt.private.QObject (shared captured text)
findChildren function (self, type: Any, name: Any) -> tuple X.findChildren(type, name) -> tuple (shared captured text)
flags function (self) -> Any (shared captured text)
focusInEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::focusInEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#focusInEvent)(QFocusEvent *event). (shared captured text)
focusItem function (self) -> Any X.focusItem() -> PythonQt.QtGui.QGraphicsItem (shared captured text)
focusOutEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::focusOutEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#focusOutEvent)(QFocusEvent *event). (shared captured text)
focusProxy function (self) -> Any X.focusProxy() -> PythonQt.QtGui.QGraphicsItem (shared captured text)
focusScopeItem function (self) -> Any X.focusScopeItem() -> PythonQt.QtGui.QGraphicsItem (shared captured text)
font function (self) -> Any X.font() -> PythonQt.QtGui.QFont (shared captured text)
grabGesture function (self, type: Any, arg1: flags) -> Any X.grabGesture(type, flags) (shared captured text)
grabKeyboard function (self) -> Any (shared captured text)
grabMouse function (self) -> Any (shared captured text)
graphicsEffect function (self) -> Any X.graphicsEffect() -> PythonQt.QtGui.QGraphicsEffect (shared captured text)
group function (self) -> Any X.group() -> PythonQt.QtGui.QGraphicsItemGroup (shared captured text)
handlesChildEvents function (self) -> bool X.handlesChildEvents() -> bool (shared captured text)
hasCursor function (self) -> bool X.hasCursor() -> bool (shared captured text)
hasFocus function (self) -> bool X.hasFocus() -> bool (shared captured text)
height attribute Any (shared captured text)
heightChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.heightChanged; argument details are not documented.
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
hide function (self) -> Any (shared captured text)
hoverEnterEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::hoverEnterEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#hoverEnterEvent)(QGraphicsSceneHoverEvent *event). (shared captured text)
hoverLeaveEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::hoverLeaveEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#hoverLeaveEvent)(QGraphicsSceneHoverEvent *event). (shared captured text)
hoverMoveEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::hoverMoveEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#hoverMoveEvent)(QGraphicsSceneHoverEvent *event). (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
inputMethodEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::inputMethodEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#inputMethodEvent)(QInputMethodEvent *event). (shared captured text)
inputMethodHints function (self) -> Any (shared captured text)
inputMethodQuery function (self, query: Any) -> Any X.inputMethodQuery(query) -> object (shared captured text)
installEventFilter function (self, filterObj: Any) -> Any (shared captured text)
installSceneEventFilter function (self, filterItem: Any) -> Any (shared captured text)
isActive function (self) -> bool X.isActive() -> bool (shared captured text)
isAncestorOf function (self, child: Any) -> bool X.isAncestorOf(child) -> bool (shared captured text)
isBlockedByModalPanel function (self, blockingPanel: Any) -> bool X.isBlockedByModalPanel(blockingPanel) -> bool (shared captured text)
isClipped function (self) -> bool X.isClipped() -> bool (shared captured text)
isEnabled function (self) -> bool X.isEnabled() -> bool (shared captured text)
isObscured function (self, x: Any, y: Any, w: Any, h: Any) -> bool X.isObscured(x, y, w, h) -> bool (shared captured text)
isObscuredBy function (self, item: Any) -> bool X.isObscuredBy(item) -> bool (shared captured text)
isPanel function (self) -> bool X.isPanel() -> bool (shared captured text)
isSelected function (self) -> bool X.isSelected() -> bool (shared captured text)
isSignalConnected function (self, signal: Any) -> bool X.isSignalConnected(signal) -> bool (shared captured text)
isUnderMouse function (self) -> bool X.isUnderMouse() -> bool (shared captured text)
isVisible function (self) -> bool X.isVisible() -> bool (shared captured text)
isVisibleTo function (self, parent: Any) -> bool X.isVisibleTo(parent) -> bool (shared captured text)
isWidget function (self) -> bool X.isWidget() -> bool (shared captured text)
isWidgetType function (self) -> bool X.isWidgetType() -> bool (shared captured text)
isWindow function (self) -> bool X.isWindow() -> bool (shared captured text)
isWindowType function (self) -> bool X.isWindowType() -> bool (shared captured text)
itemChange function (self, change: Any, value: Any) -> Any X.itemChange(change, value) -> object (shared captured text)
itemTransform function (self, other: Any, ok: Any) -> Any X.itemTransform(other, ok) -> PythonQt.QtGui.QTransform (shared captured text)
keyPressEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::keyPressEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#keyPressEvent)(QKeyEvent *event). (shared captured text)
keyReleaseEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::keyReleaseEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#keyReleaseEvent)(QKeyEvent *event). (shared captured text)
killTimer function (self, id: Any) -> Any (shared captured text)
linkActivated function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.linkActivated; argument details are not documented.
linkHovered function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.linkHovered; argument details are not documented.
mapFromItem function (self, item: Any, x: Any, y: Any, w: Any, h: Any) -> Any X.mapFromItem(item, x, y, w, h) -> PythonQt.QtGui.QPainterPath (shared captured text)
mapFromParent function (self, x: Any, y: Any, w: Any, h: Any) -> Any X.mapFromParent(x, y, w, h) -> PythonQt.QtGui.QPainterPath (shared captured text)
mapFromScene function (self, x: Any, y: Any, w: Any, h: Any) -> Any X.mapFromScene(x, y, w, h) -> PythonQt.QtGui.QPainterPath (shared captured text)
mapRectFromItem function (self, item: Any, x: Any, y: Any, w: Any, h: Any) -> Any X.mapRectFromItem(item, x, y, w, h) -> PythonQt.QtCore.QRectF (shared captured text)
mapRectFromParent function (self, x: Any, y: Any, w: Any, h: Any) -> Any X.mapRectFromParent(x, y, w, h) -> PythonQt.QtCore.QRectF (shared captured text)
mapRectFromScene function (self, x: Any, y: Any, w: Any, h: Any) -> Any X.mapRectFromScene(x, y, w, h) -> PythonQt.QtCore.QRectF (shared captured text)
mapRectToItem function (self, item: Any, x: Any, y: Any, w: Any, h: Any) -> Any X.mapRectToItem(item, x, y, w, h) -> PythonQt.QtCore.QRectF (shared captured text)
mapRectToParent function (self, x: Any, y: Any, w: Any, h: Any) -> Any X.mapRectToParent(x, y, w, h) -> PythonQt.QtCore.QRectF (shared captured text)
mapRectToScene function (self, x: Any, y: Any, w: Any, h: Any) -> Any X.mapRectToScene(x, y, w, h) -> PythonQt.QtCore.QRectF (shared captured text)
mapToItem function (self, item: Any, x: Any, y: Any, w: Any, h: Any) -> Any X.mapToItem(item, x, y, w, h) -> PythonQt.QtGui.QPainterPath (shared captured text)
mapToParent function (self, x: Any, y: Any, w: Any, h: Any) -> Any X.mapToParent(x, y, w, h) -> PythonQt.QtGui.QPainterPath (shared captured text)
mapToScene function (self, x: Any, y: Any, w: Any, h: Any) -> Any X.mapToScene(x, y, w, h) -> PythonQt.QtGui.QPainterPath (shared captured text)
metaObject function (self) -> Any X.metaObject() -> PythonQt.QtCore.QMetaObject (shared captured text)
mouseDoubleClickEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::mouseDoubleClickEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#mouseDoubleClickEvent)(QGraphicsSceneMouseEvent *event). (shared captured text)
mouseMoveEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::mouseMoveEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#mouseMoveEvent)(QGraphicsSceneMouseEvent *event). (shared captured text)
mousePressEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::mousePressEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#mousePressEvent)(QGraphicsSceneMouseEvent *event). (shared captured text)
mouseReleaseEvent function (self, event: Any) -> None Reimplements: [QGraphicsItem::mouseReleaseEvent](https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#mouseReleaseEvent)(QGraphicsSceneMouseEvent *event). (shared captured text)
moveBy function (self, dx: Any, dy: Any) -> Any X.moveBy(dx, dy) (shared captured text)
moveToThread function (self, thread: Any) -> Any (shared captured text)
objectName attribute Any (shared captured text)
objectNameChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.objectNameChanged; argument details are not documented.
opacity attribute Any (shared captured text)
opacityChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.opacityChanged; argument details are not documented.
opaqueArea function (self) -> Any X.opaqueArea() -> PythonQt.QtGui.QPainterPath (shared captured text)
openExternalLinks function (self) -> bool X.openExternalLinks() -> bool (shared captured text)
paint function (self, painter: Any, option: Any, widget: Any) -> None X.paint(painter, option, widget) (shared captured text)
panel function (self) -> Any X.panel() -> PythonQt.QtGui.QGraphicsItem (shared captured text)
panelModality function (self) -> Any (shared captured text)
parent attribute QGraphicsObject (shared captured text)
parentChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.parentChanged; argument details are not documented.
parentItem function (self) -> Any X.parentItem() -> PythonQt.QtGui.QGraphicsItem (shared captured text)
parentObject function (self) -> Any X.parentObject() -> PythonQt.QtGui.QGraphicsObject (shared captured text)
parentWidget function (self) -> Any X.parentWidget() -> PythonQt.QtGui.QGraphicsWidget (shared captured text)
pos attribute QPointF (shared captured text)
prepareGeometryChange function (self) -> Any (shared captured text)
property function (self, name: Any) -> Any X.property(name) -> object (shared captured text)
removeEventFilter function (self, obj: Any) -> Any (shared captured text)
removeFromIndex function (self) -> Any (shared captured text)
removeSceneEventFilter function (self, filterItem: Any) -> Any (shared captured text)
resetTransform function (self) -> Any (shared captured text)
rotation attribute Any (shared captured text)
rotationChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.rotationChanged; argument details are not documented.
scale attribute Any (shared captured text)
scaleChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.scaleChanged; argument details are not documented.
scene function (self) -> Any X.scene() -> PythonQt.QtGui.QGraphicsScene (shared captured text)
sceneBoundingRect function (self) -> Any X.sceneBoundingRect() -> PythonQt.QtCore.QRectF (shared captured text)
sceneEvent function (self, event: Any) -> bool X.sceneEvent(event) -> bool (shared captured text)
sceneEventFilter function (self, watched: Any, event: Any) -> bool X.sceneEventFilter(watched, event) -> bool (shared captured text)
scenePos function (self) -> Any X.scenePos() -> PythonQt.QtCore.QPointF (shared captured text)
sceneTransform function (self) -> Any X.sceneTransform() -> PythonQt.QtGui.QTransform (shared captured text)
scroll function (self, dx: Any, dy: Any, rect: Any) -> Any X.scroll(dx, dy, rect) (shared captured text)
sender function (self) -> Any X.sender() -> PythonQt.private.QObject (shared captured text)
senderSignalIndex function (self) -> int X.senderSignalIndex() -> int (shared captured text)
setAcceptDrops function (self, on: Any) -> Any (shared captured text)
setAcceptHoverEvents function (self, enabled: Any) -> Any (shared captured text)
setAcceptTouchEvents function (self, enabled: Any) -> Any (shared captured text)
setAcceptedMouseButtons function (self, buttons: Any) -> Any (shared captured text)
setActive function (self, active: Any) -> Any (shared captured text)
setBoundingRegionGranularity function (self, granularity: Any) -> Any (shared captured text)
setCacheMode function (self, mode: Any, cacheSize: Any) -> Any X.setCacheMode(mode, cacheSize) (shared captured text)
setCursor function (self, cursor: Any) -> Any (shared captured text)
setData function (self, key: Any, value: Any) -> Any X.setData(key, value) (shared captured text)
setDefaultTextColor function (self, c: Any) -> None Sets the color for unformatted text to col. (shared captured text)
setDocument function (self, document: Any) -> None Sets the text document document on the item. (shared captured text)
setEnabled function (self, enabled: Any) -> Any (shared captured text)
setExtension function (self, extension: Any, variant: Any) -> None X.setExtension(extension, variant) (shared captured text)
setFiltersChildEvents function (self, enabled: Any) -> Any (shared captured text)
setFlag function (self, arg0: flag, enabled: Any) -> Any X.setFlag(flag, enabled) (shared captured text)
setFlags function (self, arg0: flags) -> Any (shared captured text)
setFocus function (self, focusReason: Any) -> Any (shared captured text)
setFocusProxy function (self, item: Any) -> Any (shared captured text)
setFont function (self, font: Any) -> None Sets the font used to render the text item to font. (shared captured text)
setGraphicsEffect function (self, effect: Any) -> Any (shared captured text)
setGroup function (self, group: Any) -> Any (shared captured text)
setHandlesChildEvents function (self, enabled: Any) -> Any (shared captured text)
setHtml function (self, html: str) -> None Sets the item's text to text, assuming that text is HTML formatted. (shared captured text)
setInputMethodHints function (self, hints: Any) -> Any (shared captured text)
setObjectName function (self, name: Any) -> Any (shared captured text)
setOpacity function (self, opacity: Any) -> Any (shared captured text)
setOpenExternalLinks function (self, open: bool) -> None (shared captured text)
setPanelModality function (self, panelModality: Any) -> Any (shared captured text)
setParent function (self, parent: Any) -> Any (shared captured text)
setParentItem function (self, parent: Any) -> Any (shared captured text)
setPlainText function (self, text: str) -> None Sets the item's text to text. (shared captured text)
setPos function (self, x: Any, y: Any) -> Any X.setPos(x, y) (shared captured text)
setProperty function (self, name: Any, value: Any) -> bool X.setProperty(name, value) -> bool (shared captured text)
setRotation function (self, angle: Any) -> Any (shared captured text)
setScale function (self, scale: Any) -> Any (shared captured text)
setSelected function (self, selected: Any) -> Any (shared captured text)
setTabChangesFocus function (self, b: bool) -> None If b is true, the Tab key will cause the widget to change focus; otherwise, the tab key will insert a tab into the document. (shared captured text)
setTextCursor function (self, cursor: Any) -> None (shared captured text)
setTextInteractionFlags function (self, arg0: flags) -> None Sets the flags flags to specify how the text item should react to user input. (shared captured text)
setTextWidth function (self, width: float) -> None Sets the preferred width for the item's text. (shared captured text)
setToolTip function (self, toolTip: Any) -> Any (shared captured text)
setTransform function (self, matrix: Any, combine: Any) -> Any X.setTransform(matrix, combine) (shared captured text)
setTransformOriginPoint function (self, ax: Any, ay: Any) -> Any X.setTransformOriginPoint(ax, ay) (shared captured text)
setTransformations function (self, transformations: Any) -> Any (shared captured text)
setVisible function (self, visible: Any) -> Any (shared captured text)
setX function (self, x: Any) -> Any (shared captured text)
setY function (self, y: Any) -> Any (shared captured text)
setZValue function (self, z: Any) -> Any (shared captured text)
shape function (self) -> Any X.shape() -> PythonQt.QtGui.QPainterPath (shared captured text)
show function (self) -> Any (shared captured text)
signalsBlocked function (self) -> bool X.signalsBlocked() -> bool (shared captured text)
stackBefore function (self, sibling: Any) -> Any (shared captured text)
startTimer function (self, interval: Any, timerType: Any) -> int X.startTimer(interval, timerType) -> int (shared captured text)
supportsExtension function (self, extension: Any) -> bool X.supportsExtension(extension) -> bool (shared captured text)
tabChangesFocus function (self) -> bool X.tabChangesFocus() -> bool (shared captured text)
textCursor function (self) -> Any X.textCursor() -> PythonQt.QtGui.QTextCursor (shared captured text)
textInteractionFlags function (self) -> Any Returns the current text interaction flags. (shared captured text)
textWidth function (self) -> float X.textWidth() -> float (shared captured text)
thread function (self) -> Any (shared captured text)
timerEvent function (self, event: Any) -> Any (shared captured text)
toGraphicsObject function (self) -> Any X.toGraphicsObject() -> PythonQt.QtGui.QGraphicsObject (shared captured text)
toHtml function (self) -> str X.toHtml() -> str (shared captured text)
toPlainText function (self) -> str X.toPlainText() -> str (shared captured text)
toolTip function (self) -> str X.toolTip() -> str (shared captured text)
topLevelItem function (self) -> Any X.topLevelItem() -> PythonQt.QtGui.QGraphicsItem (shared captured text)
topLevelWidget function (self) -> Any X.topLevelWidget() -> PythonQt.QtGui.QGraphicsWidget (shared captured text)
tr function (self, text: Any, ambig: Any, n: Any) -> str X.tr(text, ambig, n) -> str (shared captured text)
transform function (self) -> Any X.transform() -> PythonQt.QtGui.QTransform (shared captured text)
transformOriginPoint attribute QPointF (shared captured text)
transformations function (self) -> tuple X.transformations() -> tuple (shared captured text)
type function (self) -> int X.type() -> int (shared captured text)
ungrabGesture function (self, type: Any) -> Any (shared captured text)
ungrabKeyboard function (self) -> Any (shared captured text)
ungrabMouse function (self) -> Any (shared captured text)
unsetCursor function (self) -> Any (shared captured text)
update function (self, x: Any, y: Any, width: Any, height: Any) -> Any X.update(x, y, width, height) (shared captured text)
updateMicroFocus function (self) -> Any (shared captured text)
visible attribute Any (shared captured text)
visibleChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.visibleChanged; argument details are not documented.
wheelEvent function (self, event: Any) -> Any (shared captured text)
width attribute Any (shared captured text)
widthChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.widthChanged; argument details are not documented.
window function (self) -> Any X.window() -> PythonQt.QtGui.QGraphicsWidget (shared captured text)
x attribute Any (shared captured text)
xChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.xChanged; argument details are not documented.
y attribute Any (shared captured text)
yChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.yChanged; argument details are not documented.
z attribute Any (shared captured text)
zChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QGraphicsTextItem.zChanged; argument details are not documented.
zValue function (self) -> float X.zValue() -> float (shared captured text)