#include <qstatictext.h>
Definition at line 60 of file qstatictext.h.
Public Types | |
enum | PerformanceHint { ModerateCaching, AggressiveCaching } |
Public Member Functions | |
QStaticText () | |
QStaticText (const QString &text) | |
QStaticText (const QStaticText &other) | |
~QStaticText () | |
void | setText (const QString &text) |
QString | text () const |
void | setTextFormat (Qt::TextFormat textFormat) |
Qt::TextFormat | textFormat () const |
void | setTextWidth (qreal textWidth) |
qreal | textWidth () const |
void | setTextOption (const QTextOption &textOption) |
QTextOption | textOption () const |
QSizeF | size () const |
void | prepare (const QTransform &matrix=QTransform(), const QFont &font=QFont()) |
void | setPerformanceHint (PerformanceHint performanceHint) |
PerformanceHint | performanceHint () const |
QStaticText & | operator= (const QStaticText &) |
bool | operator== (const QStaticText &) const |
bool | operator!= (const QStaticText &) const |
Friends | |
class | QStaticTextPrivate |
enum PerformanceHint |
Enumerator | |
---|---|
ModerateCaching | |
AggressiveCaching |
Definition at line 63 of file qstatictext.h.
QStaticText | ( | ) |
QStaticText | ( | const QString & | text | ) |
QStaticText | ( | const QStaticText & | other | ) |
~QStaticText | ( | ) |
QString text | ( | ) | const |
void setTextFormat | ( | Qt::TextFormat | textFormat | ) |
Qt::TextFormat textFormat | ( | ) | const |
void setTextWidth | ( | qreal | textWidth | ) |
qreal textWidth | ( | ) | const |
void setTextOption | ( | const QTextOption & | textOption | ) |
QTextOption textOption | ( | ) | const |
void prepare | ( | const QTransform & | matrix = QTransform() , |
const QFont & | font = QFont() |
||
) |
void setPerformanceHint | ( | PerformanceHint | performanceHint | ) |
PerformanceHint performanceHint | ( | ) | const |
QStaticText& operator= | ( | const QStaticText & | ) |
bool operator== | ( | const QStaticText & | ) | const |
bool operator!= | ( | const QStaticText & | ) | const |
|
friend |
Definition at line 100 of file qstatictext.h.