![]() |
Qt 6.x
The Qt SDK
|
#include <qstatictext_p.h>
Collaboration diagram for QStaticTextPrivate:Public Member Functions | |
| QStaticTextPrivate () | |
| QStaticTextPrivate (const QStaticTextPrivate &other) | |
| ~QStaticTextPrivate () | |
| void | init () |
| void | paintText (const QPointF &pos, QPainter *p, const QColor &pen) |
| void | invalidate () |
Static Public Member Functions | |
| static QStaticTextPrivate * | get (const QStaticText *q) |
Public Attributes | |
| QAtomicInt | ref |
| QString | text |
| QFont | font |
| qreal | textWidth |
| QSizeF | actualSize |
| QPointF | position |
| QTransform | matrix |
| QStaticTextItem * | items |
| int | itemCount |
| glyph_t * | glyphPool |
| QFixedPoint * | positionPool |
| QTextOption | textOption |
| unsigned char | needsRelayout: 1 |
| unsigned char | useBackendOptimizations: 1 |
| unsigned char | textFormat: 2 |
| unsigned char | untransformedCoordinates: 1 |
Definition at line 89 of file qstatictext_p.h.
| QStaticTextPrivate::QStaticTextPrivate | ( | ) |
Definition at line 371 of file qstatictext.cpp.
| QStaticTextPrivate::QStaticTextPrivate | ( | const QStaticTextPrivate & | other | ) |
Definition at line 378 of file qstatictext.cpp.
| QStaticTextPrivate::~QStaticTextPrivate | ( | ) |
Definition at line 386 of file qstatictext.cpp.
References glyphPool, items, and positionPool.
|
static |
Definition at line 393 of file qstatictext.cpp.
Referenced by QPainter::drawStaticText().
Here is the caller graph for this function:| void QStaticTextPrivate::init | ( | ) |
Definition at line 636 of file qstatictext.cpp.
References QList< T >::at(), QList< T >::constData(), device, font, QStaticTextItem::glyphOffset, glyphPool, QStaticTextItem::glyphPositions, QStaticTextItem::glyphs, i, itemCount, items, needsRelayout, painter, paintText(), position, QStaticTextItem::positionOffset, positionPool, positions, QPainter::setFont(), QPainter::setTransform(), QList< T >::size(), untransformedCoordinates, and useBackendOptimizations.
Referenced by QPainter::drawStaticText().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 99 of file qstatictext_p.h.
Definition at line 569 of file qstatictext.cpp.
References actualSize, QColor::alpha(), QString::arg(), Qt::AutoText, QTextLayout::beginLayout(), QColor::blue(), QTextLayout::boundingRect(), QTextLayout::createLine(), QTextLayout::draw(), QTextLayout::endLayout(), font, QString::fromLatin1(), QColor::green(), line, Qt::mightBeRichText(), QString::number(), qCeil(), QFIXED_MAX, QColor::red(), Qt::RichText, QTextLayout::setCacheEnabled(), QTextLayout::setFont(), QTextLayout::setText(), QTextLayout::setTextOption(), QRectF::size(), QPalette::Text, text, textFormat, textOption, and textWidth.
Referenced by QPainter::drawStaticText(), and init().
Here is the call graph for this function:
Here is the caller graph for this function:| QSizeF QStaticTextPrivate::actualSize |
Definition at line 109 of file qstatictext_p.h.
Referenced by paintText().
| QFont QStaticTextPrivate::font |
Definition at line 107 of file qstatictext_p.h.
Referenced by QPainter::drawStaticText(), init(), and paintText().
| glyph_t* QStaticTextPrivate::glyphPool |
Definition at line 116 of file qstatictext_p.h.
Referenced by ~QStaticTextPrivate(), and init().
| int QStaticTextPrivate::itemCount |
Definition at line 114 of file qstatictext_p.h.
Referenced by QPainter::drawStaticText(), and init().
| QStaticTextItem* QStaticTextPrivate::items |
Definition at line 113 of file qstatictext_p.h.
Referenced by ~QStaticTextPrivate(), QPainter::drawStaticText(), and init().
| QTransform QStaticTextPrivate::matrix |
Definition at line 112 of file qstatictext_p.h.
Referenced by QPainter::drawStaticText().
| unsigned char QStaticTextPrivate::needsRelayout |
Definition at line 121 of file qstatictext_p.h.
Referenced by QPainter::drawStaticText(), and init().
| QPointF QStaticTextPrivate::position |
Definition at line 110 of file qstatictext_p.h.
Referenced by QPainter::drawStaticText(), and init().
| QFixedPoint* QStaticTextPrivate::positionPool |
Definition at line 117 of file qstatictext_p.h.
Referenced by ~QStaticTextPrivate(), and init().
| QAtomicInt QStaticTextPrivate::ref |
Definition at line 104 of file qstatictext_p.h.
| QString QStaticTextPrivate::text |
Definition at line 106 of file qstatictext_p.h.
Referenced by paintText().
| unsigned char QStaticTextPrivate::textFormat |
Definition at line 123 of file qstatictext_p.h.
Referenced by paintText().
| QTextOption QStaticTextPrivate::textOption |
Definition at line 119 of file qstatictext_p.h.
Referenced by paintText().
| qreal QStaticTextPrivate::textWidth |
Definition at line 108 of file qstatictext_p.h.
Referenced by paintText().
| unsigned char QStaticTextPrivate::untransformedCoordinates |
Definition at line 124 of file qstatictext_p.h.
Referenced by QPainter::drawStaticText(), and init().
| unsigned char QStaticTextPrivate::useBackendOptimizations |
Definition at line 122 of file qstatictext_p.h.
Referenced by init().