PythonQt.QtGui.QGraphicsTextItem · declarations 001
Back to PythonQt.QtGui.QGraphicsTextItem
adjustSize
adjustSize() -> None
X.adjustSize()
Supplemental documentation: Qt 5 reference:
void QGraphicsTextItem::adjustSize()
Adjusts the text item to a reasonable size.
Upstream PySide2 reference signatures (binding differences may apply):
adjustSize(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#adjustSize
boundingRect
boundingRect() -> Any
X.boundingRect() -> PythonQt.QtCore.QRectF
Supplemental documentation: Qt 5 reference:
[override virtual] QRectF QGraphicsTextItem::boundingRect() const
Reimplements: QGraphicsItem::boundingRect() const.
Upstream PySide2 reference signatures (binding differences may apply):
boundingRect(self) -> PySide2.QtCore.QRectF
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#boundingRect
childrenChanged
childrenChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QGraphicsTextItem.childrenChanged; argument details are not documented.
contains
contains(point: Any) -> bool
X.contains(point) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual] bool QGraphicsTextItem::contains(const QPointF \&point) const
Reimplements: QGraphicsItem::contains(const QPointF \&point) const.
Upstream PySide2 reference signatures (binding differences may apply):
contains(self, point: PySide2.QtCore.QPointF) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#contains
contextMenuEvent
contextMenuEvent(event: Any) -> None
X.contextMenuEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
Reimplements: QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
contextMenuEvent(self, event: PySide2.QtWidgets.QGraphicsSceneContextMenuEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#contextMenuEvent
defaultTextColor
defaultTextColor() -> Any
X.defaultTextColor() -> PythonQt.QtGui.QColor
Supplemental documentation: Qt 5 reference:
QColor QGraphicsTextItem::defaultTextColor() const
Returns the default text color that is used for unformatted text.
See also setDefaultTextColor().
Upstream PySide2 reference signatures (binding differences may apply):
defaultTextColor(self) -> PySide2.QtGui.QColor
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#defaultTextColor
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QGraphicsTextItem.destroyed; argument details are not documented.
document
document() -> Any
X.document() -> PythonQt.QtGui.QTextDocument
Supplemental documentation: Qt 5 reference:
QTextDocument *QGraphicsTextItem::document() const
Returns the item's text document.
See also setDocument().
Upstream PySide2 reference signatures (binding differences may apply):
document(self) -> PySide2.QtGui.QTextDocument
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#document
dragEnterEvent
dragEnterEvent(event: Any) -> None
X.dragEnterEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
Reimplements: QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
dragEnterEvent(self, event: PySide2.QtWidgets.QGraphicsSceneDragDropEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#dragEnterEvent
dragLeaveEvent
dragLeaveEvent(event: Any) -> None
X.dragLeaveEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent *event)
Reimplements: QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
dragLeaveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneDragDropEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#dragLeaveEvent
dragMoveEvent
dragMoveEvent(event: Any) -> None
X.dragMoveEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent *event)
Reimplements: QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
dragMoveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneDragDropEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#dragMoveEvent
dropEvent
dropEvent(event: Any) -> None
X.dropEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::dropEvent(QGraphicsSceneDragDropEvent *event)
Reimplements: QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
dropEvent(self, event: PySide2.QtWidgets.QGraphicsSceneDragDropEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#dropEvent
enabledChanged
enabledChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QGraphicsTextItem.enabledChanged; argument details are not documented.
event
event(ev: Any) -> bool
X.event(ev) -> bool
extension
extension(variant: Any) -> Any
X.extension(variant) -> object
Upstream PySide2 reference signatures (binding differences may apply):
extension(self, variant: typing.Any) -> typing.Any
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#extension
focusInEvent
focusInEvent(event: Any) -> None
X.focusInEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::focusInEvent(QFocusEvent *event)
Reimplements: QGraphicsItem::focusInEvent(QFocusEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
focusInEvent(self, event: PySide2.QtGui.QFocusEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#focusInEvent
focusOutEvent
focusOutEvent(event: Any) -> None
X.focusOutEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::focusOutEvent(QFocusEvent *event)
Reimplements: QGraphicsItem::focusOutEvent(QFocusEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
focusOutEvent(self, event: PySide2.QtGui.QFocusEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#focusOutEvent
font
font() -> Any
X.font() -> PythonQt.QtGui.QFont
Supplemental documentation: Qt 5 reference:
QFont QGraphicsTextItem::font() const
Returns the item's font, which is used to render the text.
See also setFont().
Upstream PySide2 reference signatures (binding differences may apply):
font(self) -> PySide2.QtGui.QFont
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#font
heightChanged
heightChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QGraphicsTextItem.heightChanged; argument details are not documented.
hoverEnterEvent
hoverEnterEvent(event: Any) -> None
X.hoverEnterEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Reimplements: QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
hoverEnterEvent(self, event: PySide2.QtWidgets.QGraphicsSceneHoverEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#hoverEnterEvent
hoverLeaveEvent
hoverLeaveEvent(event: Any) -> None
X.hoverLeaveEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
Reimplements: QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
hoverLeaveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneHoverEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#hoverLeaveEvent
hoverMoveEvent
hoverMoveEvent(event: Any) -> None
X.hoverMoveEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent *event)
Reimplements: QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
hoverMoveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneHoverEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#hoverMoveEvent
inputMethodEvent
inputMethodEvent(event: Any) -> None
X.inputMethodEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::inputMethodEvent(QInputMethodEvent *event)
Reimplements: QGraphicsItem::inputMethodEvent(QInputMethodEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
inputMethodEvent(self, event: PySide2.QtGui.QInputMethodEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#inputMethodEvent
inputMethodQuery
inputMethodQuery(query: Any) -> Any
X.inputMethodQuery(query) -> object
Supplemental documentation: Qt 5 reference:
[override virtual protected] QVariant QGraphicsTextItem::inputMethodQuery(Qt::InputMethodQuery query) const
Reimplements: QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query) const.
Upstream PySide2 reference signatures (binding differences may apply):
inputMethodQuery(self, query: PySide2.QtCore.Qt.InputMethodQuery) -> typing.Any
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#inputMethodQuery
isObscuredBy
isObscuredBy(item: Any) -> bool
X.isObscuredBy(item) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual] bool QGraphicsTextItem::isObscuredBy(const QGraphicsItem *item) const
Reimplements: QGraphicsItem::isObscuredBy(const QGraphicsItem *item) const.
Upstream PySide2 reference signatures (binding differences may apply):
isObscuredBy(self, item: PySide2.QtWidgets.QGraphicsItem) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#isObscuredBy
keyPressEvent
keyPressEvent(event: Any) -> None
X.keyPressEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::keyPressEvent(QKeyEvent *event)
Reimplements: QGraphicsItem::keyPressEvent(QKeyEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
keyPressEvent(self, event: PySide2.QtGui.QKeyEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#keyPressEvent
keyReleaseEvent
keyReleaseEvent(event: Any) -> None
X.keyReleaseEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::keyReleaseEvent(QKeyEvent *event)
Reimplements: QGraphicsItem::keyReleaseEvent(QKeyEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
keyReleaseEvent(self, event: PySide2.QtGui.QKeyEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#keyReleaseEvent
linkActivated
linkActivated(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QGraphicsTextItem.linkActivated; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QGraphicsTextItem::linkActivated(const QString \&link)
This signal is emitted when the user clicks on a link on a text item that enables Qt::LinksAccessibleByMouse or Qt::LinksAccessibleByKeyboard. link is the link that was clicked.
See also setTextInteractionFlags().
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#linkActivated
linkHovered
linkHovered(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QGraphicsTextItem.linkHovered; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QGraphicsTextItem::linkHovered(const QString \&link)
This signal is emitted when the user hovers over a link on a text item that enables Qt::LinksAccessibleByMouse. link is the link that was hovered over.
See also setTextInteractionFlags().
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#linkHovered
mouseDoubleClickEvent
mouseDoubleClickEvent(event: Any) -> None
X.mouseDoubleClickEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
Reimplements: QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
mouseDoubleClickEvent(self, event: PySide2.QtWidgets.QGraphicsSceneMouseEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#mouseDoubleClickEvent
mouseMoveEvent
mouseMoveEvent(event: Any) -> None
X.mouseMoveEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
Reimplements: QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
mouseMoveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneMouseEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#mouseMoveEvent
mousePressEvent
mousePressEvent(event: Any) -> None
X.mousePressEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
Reimplements: QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
mousePressEvent(self, event: PySide2.QtWidgets.QGraphicsSceneMouseEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#mousePressEvent
mouseReleaseEvent
mouseReleaseEvent(event: Any) -> None
X.mouseReleaseEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QGraphicsTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Reimplements: QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
mouseReleaseEvent(self, event: PySide2.QtWidgets.QGraphicsSceneMouseEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#mouseReleaseEvent
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QGraphicsTextItem.objectNameChanged; argument details are not documented.
opacityChanged
opacityChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QGraphicsTextItem.opacityChanged; argument details are not documented.
opaqueArea
opaqueArea() -> Any
X.opaqueArea() -> PythonQt.QtGui.QPainterPath
Supplemental documentation: Qt 5 reference:
[override virtual] QPainterPath QGraphicsTextItem::opaqueArea() const
Reimplements: QGraphicsItem::opaqueArea() const.
Upstream PySide2 reference signatures (binding differences may apply):
opaqueArea(self) -> PySide2.QtGui.QPainterPath
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#opaqueArea
openExternalLinks
openExternalLinks() -> bool
X.openExternalLinks() -> bool
Supplemental documentation: Qt 5 reference:
openExternalLinks : bool
Specifies whether QGraphicsTextItem should automatically open links using QDesktopServices::openUrl() instead of emitting the linkActivated signal.
The default value is false.
Access functions:
| bool | openExternalLinks() const |
|---|---|
| void | setOpenExternalLinks(bool open) |
Upstream PySide2 reference signatures (binding differences may apply):
openExternalLinks(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#openExternalLinks
paint
paint(painter: Any, option: Any, widget: Any) -> None
X.paint(painter, option, widget)
Supplemental documentation: Qt 5 reference:
[override virtual] void QGraphicsTextItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Reimplements: QGraphicsItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget).
Upstream PySide2 reference signatures (binding differences may apply):
paint(self, painter: PySide2.QtGui.QPainter, option: PySide2.QtWidgets.QStyleOptionGraphicsItem, widget: PySide2.QtWidgets.QWidget) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicstextitem.html#paint
parentChanged
parentChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QGraphicsTextItem.parentChanged; argument details are not documented.
rotationChanged
rotationChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QGraphicsTextItem.rotationChanged; argument details are not documented.