The PrimitiveTextGraphicsItem class is the graphical representation of a text.
More...
#include <primitivetextgraphicsitem.h>
Inherits QGraphicsItem.
The PrimitiveTextGraphicsItem class is the graphical representation of a text.
◆ Font
Enumerator |
---|
SansSerif | |
Monospace | |
◆ PrimitiveTextGraphicsItem() [1/2]
◆ PrimitiveTextGraphicsItem() [2/2]
◆ ~PrimitiveTextGraphicsItem()
◆ setPosition()
void setPosition |
( |
const Point & |
pos | ) |
|
|
noexcept |
◆ setRotation()
void setRotation |
( |
const Angle & |
rot | ) |
|
|
noexcept |
◆ setText()
void setText |
( |
const QString & |
text, |
|
|
bool |
parseOverlines = false |
|
) |
| |
|
noexcept |
◆ setHeight()
◆ setAlignment()
◆ setFont()
void setFont |
( |
Font |
font | ) |
|
|
noexcept |
◆ setLayer()
◆ setShapeEnabled()
void setShapeEnabled |
( |
bool |
enabled | ) |
|
|
inlinenoexcept |
◆ boundingRect()
QRectF boundingRect |
( |
| ) |
const |
|
inlineoverridenoexcept |
◆ shape()
QPainterPath shape |
( |
| ) |
const |
|
overridenoexcept |
◆ paint()
void paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = 0 |
|
) |
| |
|
overridenoexcept |
◆ operator=()
◆ layerEdited()
◆ updateBoundingRectAndShape()
void updateBoundingRectAndShape |
( |
| ) |
|
|
privatenoexcept |
◆ mLayer
◆ mText
◆ mDisplayText
◆ mParseOverlines
◆ mOverlines
QVector<QLineF> mOverlines |
|
private |
◆ mHeight
◆ mAlignment
◆ mRotate180
◆ mFont
◆ mPen
◆ mPenHighlighted
◆ mTextFlags
◆ mBoundingRect
◆ mShape
◆ mShapeEnabled
◆ mOnLayerEditedSlot
The documentation for this class was generated from the following files: