Tipos públicos |
enum | LineBreakStrategy { AtWordBoundaries,
AtCharBoundaries,
AtWordBoundaries,
AtCharBoundaries
} |
enum | LayoutMode {
NoBidi,
SingleLine,
MultiLine,
NoBidi,
SingleLine,
MultiLine
} |
enum | Result {
Ok,
LineFull,
LineEmpty,
Error,
Ok,
LineFull,
LineEmpty,
Error
} |
enum | CursorMode { SkipCharacters,
SkipWords,
SkipCharacters,
SkipWords
} |
enum | LineBreakStrategy { AtWordBoundaries,
AtCharBoundaries,
AtWordBoundaries,
AtCharBoundaries
} |
enum | LayoutMode {
NoBidi,
SingleLine,
MultiLine,
NoBidi,
SingleLine,
MultiLine
} |
enum | Result {
Ok,
LineFull,
LineEmpty,
Error,
Ok,
LineFull,
LineEmpty,
Error
} |
enum | CursorMode { SkipCharacters,
SkipWords,
SkipCharacters,
SkipWords
} |
Métodos públicos |
| QTextLayout () |
| QTextLayout (const QString &string, QPainter *=0) |
| QTextLayout (const QString &string, const QFont &fnt) |
| ~QTextLayout () |
void | setText (const QString &string, const QFont &fnt) |
void | setBoundary (int strPos) |
int | numItems () const |
QTextItem | itemAt (int i) const |
QTextItem | findItem (int strPos) const |
void | beginLayout (LayoutMode m=MultiLine) |
void | beginLine (int width) |
bool | atEnd () const |
QTextItem | nextItem () |
QTextItem | currentItem () |
void | setLineWidth (int newWidth) |
int | lineWidth () const |
int | widthUsed () const |
int | availableWidth () const |
Result | addCurrentItem () |
Result | endLine (int x=0, int y=0, int alignment=Qt::AlignLeft, int *ascent=0, int *descent=0, int *left=0, int *right=0) |
void | endLayout () |
bool | validCursorPosition (int pos) const |
int | nextCursorPosition (int oldPos, CursorMode mode=SkipCharacters) const |
int | previousCursorPosition (int oldPos, CursorMode mode=SkipCharacters) const |
void | setDirection (QChar::Direction) |
| QTextLayout () |
| QTextLayout (const QString &string, QPainter *=0) |
| QTextLayout (const QString &string, const QFont &fnt) |
| ~QTextLayout () |
void | setText (const QString &string, const QFont &fnt) |
void | setBoundary (int strPos) |
int | numItems () const |
QTextItem | itemAt (int i) const |
QTextItem | findItem (int strPos) const |
void | beginLayout (LayoutMode m=MultiLine) |
void | beginLine (int width) |
bool | atEnd () const |
QTextItem | nextItem () |
QTextItem | currentItem () |
void | setLineWidth (int newWidth) |
int | lineWidth () const |
int | widthUsed () const |
int | availableWidth () const |
Result | addCurrentItem () |
Result | endLine (int x=0, int y=0, int alignment=Qt::AlignLeft, int *ascent=0, int *descent=0, int *left=0, int *right=0) |
void | endLayout () |
bool | validCursorPosition (int pos) const |
int | nextCursorPosition (int oldPos, CursorMode mode=SkipCharacters) const |
int | previousCursorPosition (int oldPos, CursorMode mode=SkipCharacters) const |
void | setDirection (QChar::Direction) |
Amigas |
class | QTextItem |
class | QPainter |
class | QPSPrinter |
La documentación para esta clase fue generada a partir de los siguientes ficheros: