NAME

Qt::Gui::QGraphicsTextItem

PUBLIC METHODS

QGraphicsTextItem(QGraphicsItem * parent, QGraphicsScene * scene)
QGraphicsTextItem(QGraphicsItem * parent, QGraphicsScene * scene = 0)
QGraphicsTextItem(QGraphicsItem * parent = 0, QGraphicsScene * scene = 0)
QGraphicsTextItem(const QString & text, QGraphicsItem * parent, QGraphicsScene * scene)
QGraphicsTextItem(const QString & text, QGraphicsItem * parent, QGraphicsScene * scene = 0)
QGraphicsTextItem(const QString & text, QGraphicsItem * parent = 0, QGraphicsScene * scene = 0)
~QGraphicsTextItem()
void adjustSize()
QRectF boundingRect()
bool contains(const QPointF & point)
QColor defaultTextColor()
QTextDocument * document()
QFont font()
bool isObscuredBy(const QGraphicsItem * item)
QPainterPath opaqueArea()
bool openExternalLinks()
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget)
void setDefaultTextColor(const QColor & c)
void setDocument(QTextDocument * document)
void setFont(const QFont & font)
void setHtml(const QString & html)
void setOpenExternalLinks(bool open)
void setPlainText(const QString & text)
void setTabChangesFocus(bool b)
void setTextCursor(const QTextCursor & cursor)
void setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags)
void setTextWidth(qreal width)
QPainterPath shape()
bool tabChangesFocus()
QTextCursor textCursor()
QFlags<Qt::TextInteractionFlag> textInteractionFlags()
qreal textWidth()
QString toHtml()
QString toPlainText()
int type()

ENUM VALUES

Type

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html