Home · All Classes · Modules

QGraphicsTextItem Class Reference
[QtGui module]

Inherits QGraphicsObject.

Methods

Qt Signals


Detailed Description


Method Documentation

QGraphicsTextItem.__init__ (self, QGraphicsItem parent = None, QGraphicsScene scene = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

The scene argument, if not None, causes self to be owned by Qt instead of PyQt.

QGraphicsTextItem.__init__ (self, QString, QGraphicsItem parent = None, QGraphicsScene scene = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

The scene argument, if not None, causes self to be owned by Qt instead of PyQt.

QGraphicsTextItem.adjustSize (self)

QRectF QGraphicsTextItem.boundingRect (self)

bool QGraphicsTextItem.contains (self, QPointF)

QGraphicsTextItem.contextMenuEvent (self, QGraphicsSceneContextMenuEvent)

QColor QGraphicsTextItem.defaultTextColor (self)

QTextDocument QGraphicsTextItem.document (self)

QGraphicsTextItem.dragEnterEvent (self, QGraphicsSceneDragDropEvent)

QGraphicsTextItem.dragLeaveEvent (self, QGraphicsSceneDragDropEvent)

QGraphicsTextItem.dragMoveEvent (self, QGraphicsSceneDragDropEvent)

QGraphicsTextItem.dropEvent (self, QGraphicsSceneDragDropEvent)

QGraphicsTextItem.focusInEvent (self, QFocusEvent)

QGraphicsTextItem.focusOutEvent (self, QFocusEvent)

QFont QGraphicsTextItem.font (self)

QGraphicsTextItem.hoverEnterEvent (self, QGraphicsSceneHoverEvent)

QGraphicsTextItem.hoverLeaveEvent (self, QGraphicsSceneHoverEvent)

QGraphicsTextItem.hoverMoveEvent (self, QGraphicsSceneHoverEvent)

QGraphicsTextItem.inputMethodEvent (self, QInputMethodEvent)

QVariant QGraphicsTextItem.inputMethodQuery (self, Qt.InputMethodQuery)

bool QGraphicsTextItem.isObscuredBy (self, QGraphicsItem)

QGraphicsTextItem.keyPressEvent (self, QKeyEvent)

QGraphicsTextItem.keyReleaseEvent (self, QKeyEvent)

QGraphicsTextItem.mouseDoubleClickEvent (self, QGraphicsSceneMouseEvent)

QGraphicsTextItem.mouseMoveEvent (self, QGraphicsSceneMouseEvent)

QGraphicsTextItem.mousePressEvent (self, QGraphicsSceneMouseEvent)

QGraphicsTextItem.mouseReleaseEvent (self, QGraphicsSceneMouseEvent)

QPainterPath QGraphicsTextItem.opaqueArea (self)

bool QGraphicsTextItem.openExternalLinks (self)

QGraphicsTextItem.paint (self, QPainter, QStyleOptionGraphicsItem, QWidget)

bool QGraphicsTextItem.sceneEvent (self, QEvent)

QGraphicsTextItem.setDefaultTextColor (self, QColor)

QGraphicsTextItem.setDocument (self, QTextDocument)

QGraphicsTextItem.setFont (self, QFont)

QGraphicsTextItem.setHtml (self, QString)

QGraphicsTextItem.setOpenExternalLinks (self, bool)

QGraphicsTextItem.setPlainText (self, QString)

QGraphicsTextItem.setTabChangesFocus (self, bool)

QGraphicsTextItem.setTextCursor (self, QTextCursor)

QGraphicsTextItem.setTextInteractionFlags (self, Qt.TextInteractionFlags)

QGraphicsTextItem.setTextWidth (self, float)

QPainterPath QGraphicsTextItem.shape (self)

bool QGraphicsTextItem.tabChangesFocus (self)

QTextCursor QGraphicsTextItem.textCursor (self)

Qt.TextInteractionFlags QGraphicsTextItem.textInteractionFlags (self)

float QGraphicsTextItem.textWidth (self)

QString QGraphicsTextItem.toHtml (self)

QString QGraphicsTextItem.toPlainText (self)

int QGraphicsTextItem.type (self)


Qt Signal Documentation

void linkActivated (const QString&)

This is the default overload of this signal.

void linkHovered (const QString&)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0