Clases |
| struct | Focus |
Tipos públicos |
| enum | SelectionIds {
Standard = 0,
IMSelectionText = 31998,
IMCompositionText = 31999,
Temp = 32000,
Standard = 0,
IMSelectionText = 31998,
IMCompositionText = 31999,
Temp = 32000
} |
| enum | SelectionIds {
Standard = 0,
IMSelectionText = 31998,
IMCompositionText = 31999,
Temp = 32000,
Standard = 0,
IMSelectionText = 31998,
IMCompositionText = 31999,
Temp = 32000
} |
Señales |
| void | minimumWidthChanged (int) |
| void | minimumWidthChanged (int) |
Métodos públicos |
| | QTextDocument (QTextDocument *p) |
| virtual | ~QTextDocument () |
| QTextDocument * | parent () const |
| QTextParagraph * | parentParagraph () const |
| void | setText (const QString &text, const QString &context) |
| QMap< QString, QString > | attributes () const |
| void | setAttributes (const QMap< QString, QString > &attr) |
| QString | text () const |
| QString | text (int parag) const |
| QString | originalText () const |
| int | x () const |
| int | y () const |
| int | width () const |
| int | widthUsed () const |
| int | visibleWidth () const |
| int | height () const |
| void | setWidth (int w) |
| int | minimumWidth () const |
| bool | setMinimumWidth (int needed, int used=-1, QTextParagraph *parag=0) |
| void | setY (int y) |
| int | leftMargin () const |
| void | setLeftMargin (int lm) |
| int | rightMargin () const |
| void | setRightMargin (int rm) |
| QTextParagraph * | firstParagraph () const |
| QTextParagraph * | lastParagraph () const |
| void | setFirstParagraph (QTextParagraph *p) |
| void | setLastParagraph (QTextParagraph *p) |
| void | invalidate () |
| void | setPreProcessor (QTextPreProcessor *sh) |
| QTextPreProcessor * | preProcessor () const |
| void | setFormatter (QTextFormatter *f) |
| QTextFormatter * | formatter () const |
| void | setIndent (QTextIndent *i) |
| QTextIndent * | indent () const |
| QColor | selectionColor (int id) const |
| bool | invertSelectionText (int id) const |
| void | setSelectionColor (int id, const QColor &c) |
| void | setInvertSelectionText (int id, bool b) |
| bool | hasSelection (int id, bool visible=FALSE) const |
| void | setSelectionStart (int id, const QTextCursor &cursor) |
| bool | setSelectionEnd (int id, const QTextCursor &cursor) |
| void | selectAll (int id) |
| bool | removeSelection (int id) |
| void | selectionStart (int id, int ¶gId, int &index) |
| QTextCursor | selectionStartCursor (int id) |
| QTextCursor | selectionEndCursor (int id) |
| void | selectionEnd (int id, int ¶gId, int &index) |
| void | setFormat (int id, QTextFormat *f, int flags) |
| int | numSelections () const |
| void | addSelection (int id) |
| QString | selectedText (int id, bool asRichText=FALSE) const |
| void | removeSelectedText (int id, QTextCursor *cursor) |
| void | indentSelection (int id) |
| QTextParagraph * | paragAt (int i) const |
| void | addCommand (QTextCommand *cmd) |
| QTextCursor * | undo (QTextCursor *c=0) |
| QTextCursor * | redo (QTextCursor *c=0) |
| QTextCommandHistory * | commands () const |
| QTextFormatCollection * | formatCollection () const |
| bool | find (QTextCursor &cursor, const QString &expr, bool cs, bool wo, bool forward) |
| void | setTextFormat (Qt::TextFormat f) |
| Qt::TextFormat | textFormat () const |
| bool | inSelection (int selId, const QPoint &pos) const |
| QStyleSheet * | styleSheet () const |
| QMimeSourceFactory * | mimeSourceFactory () const |
| QString | context () const |
| void | setStyleSheet (QStyleSheet *s) |
| void | setDefaultFormat (const QFont &font, const QColor &color) |
| void | setMimeSourceFactory (QMimeSourceFactory *f) |
| void | setContext (const QString &c) |
| void | setUnderlineLinks (bool b) |
| bool | underlineLinks () const |
| void | setPaper (QBrush *brush) |
| QBrush * | paper () const |
| void | doLayout (QPainter *p, int w) |
| void | draw (QPainter *p, const QRect &rect, const QColorGroup &cg, const QBrush *paper=0) |
| bool | useDoubleBuffer (QTextParagraph *parag, QPainter *p) |
| void | drawParagraph (QPainter *p, QTextParagraph *parag, int cx, int cy, int cw, int ch, QPixmap *&doubleBuffer, const QColorGroup &cg, bool drawCursor, QTextCursor *cursor, bool resetChanged=TRUE) |
| QTextParagraph * | draw (QPainter *p, int cx, int cy, int cw, int ch, const QColorGroup &cg, bool onlyChanged=FALSE, bool drawCursor=FALSE, QTextCursor *cursor=0, bool resetChanged=TRUE) |
| void | registerCustomItem (QTextCustomItem *i, QTextParagraph *p) |
| void | unregisterCustomItem (QTextCustomItem *i, QTextParagraph *p) |
| void | setFlow (QTextFlow *f) |
| void | takeFlow () |
| QTextFlow * | flow () const |
| bool | isPageBreakEnabled () const |
| void | setPageBreakEnabled (bool b) |
| void | setUseFormatCollection (bool b) |
| bool | useFormatCollection () const |
| QTextTableCell * | tableCell () const |
| void | setTableCell (QTextTableCell *c) |
| void | setPlainText (const QString &text) |
| void | setRichText (const QString &text, const QString &context, const QTextFormat *initialFormat=0) |
| QString | richText () const |
| QString | plainText () const |
| bool | focusNextPrevChild (bool next) |
| int | alignment () const |
| void | setAlignment (int a) |
| int * | tabArray () const |
| int | tabStopWidth () const |
| void | setTabArray (int *a) |
| void | setTabStops (int tw) |
| void | setUndoDepth (int d) |
| int | undoDepth () const |
| int | length () const |
| void | clear (bool createEmptyParag=FALSE) |
| virtual QTextParagraph * | createParagraph (QTextDocument *d, QTextParagraph *pr=0, QTextParagraph *nx=0, bool updateIds=TRUE) |
| void | insertChild (QObject *o) |
| void | removeChild (QObject *o) |
| void | insertChild (QTextDocument *d) |
| void | removeChild (QTextDocument *d) |
| QPtrList< QTextDocument > | children () const |
| bool | hasFocusParagraph () const |
| QString | focusHref () const |
| QString | focusName () const |
| void | invalidateOriginalText () |
| | QTextDocument (QTextDocument *p) |
| virtual | ~QTextDocument () |
| QTextDocument * | parent () const |
| QTextParagraph * | parentParagraph () const |
| void | setText (const QString &text, const QString &context) |
| QMap< QString, QString > | attributes () const |
| void | setAttributes (const QMap< QString, QString > &attr) |
| QString | text () const |
| QString | text (int parag) const |
| QString | originalText () const |
| int | x () const |
| int | y () const |
| int | width () const |
| int | widthUsed () const |
| int | visibleWidth () const |
| int | height () const |
| void | setWidth (int w) |
| int | minimumWidth () const |
| bool | setMinimumWidth (int needed, int used=-1, QTextParagraph *parag=0) |
| void | setY (int y) |
| int | leftMargin () const |
| void | setLeftMargin (int lm) |
| int | rightMargin () const |
| void | setRightMargin (int rm) |
| QTextParagraph * | firstParagraph () const |
| QTextParagraph * | lastParagraph () const |
| void | setFirstParagraph (QTextParagraph *p) |
| void | setLastParagraph (QTextParagraph *p) |
| void | invalidate () |
| void | setPreProcessor (QTextPreProcessor *sh) |
| QTextPreProcessor * | preProcessor () const |
| void | setFormatter (QTextFormatter *f) |
| QTextFormatter * | formatter () const |
| void | setIndent (QTextIndent *i) |
| QTextIndent * | indent () const |
| QColor | selectionColor (int id) const |
| bool | invertSelectionText (int id) const |
| void | setSelectionColor (int id, const QColor &c) |
| void | setInvertSelectionText (int id, bool b) |
| bool | hasSelection (int id, bool visible=FALSE) const |
| void | setSelectionStart (int id, const QTextCursor &cursor) |
| bool | setSelectionEnd (int id, const QTextCursor &cursor) |
| void | selectAll (int id) |
| bool | removeSelection (int id) |
| void | selectionStart (int id, int ¶gId, int &index) |
| QTextCursor | selectionStartCursor (int id) |
| QTextCursor | selectionEndCursor (int id) |
| void | selectionEnd (int id, int ¶gId, int &index) |
| void | setFormat (int id, QTextFormat *f, int flags) |
| int | numSelections () const |
| void | addSelection (int id) |
| QString | selectedText (int id, bool asRichText=FALSE) const |
| void | removeSelectedText (int id, QTextCursor *cursor) |
| void | indentSelection (int id) |
| QTextParagraph * | paragAt (int i) const |
| void | addCommand (QTextCommand *cmd) |
| QTextCursor * | undo (QTextCursor *c=0) |
| QTextCursor * | redo (QTextCursor *c=0) |
| QTextCommandHistory * | commands () const |
| QTextFormatCollection * | formatCollection () const |
| bool | find (QTextCursor &cursor, const QString &expr, bool cs, bool wo, bool forward) |
| void | setTextFormat (Qt::TextFormat f) |
| Qt::TextFormat | textFormat () const |
| bool | inSelection (int selId, const QPoint &pos) const |
| QStyleSheet * | styleSheet () const |
| QMimeSourceFactory * | mimeSourceFactory () const |
| QString | context () const |
| void | setStyleSheet (QStyleSheet *s) |
| void | setDefaultFormat (const QFont &font, const QColor &color) |
| void | setMimeSourceFactory (QMimeSourceFactory *f) |
| void | setContext (const QString &c) |
| void | setUnderlineLinks (bool b) |
| bool | underlineLinks () const |
| void | setPaper (QBrush *brush) |
| QBrush * | paper () const |
| void | doLayout (QPainter *p, int w) |
| void | draw (QPainter *p, const QRect &rect, const QColorGroup &cg, const QBrush *paper=0) |
| bool | useDoubleBuffer (QTextParagraph *parag, QPainter *p) |
| void | drawParagraph (QPainter *p, QTextParagraph *parag, int cx, int cy, int cw, int ch, QPixmap *&doubleBuffer, const QColorGroup &cg, bool drawCursor, QTextCursor *cursor, bool resetChanged=TRUE) |
| QTextParagraph * | draw (QPainter *p, int cx, int cy, int cw, int ch, const QColorGroup &cg, bool onlyChanged=FALSE, bool drawCursor=FALSE, QTextCursor *cursor=0, bool resetChanged=TRUE) |
| void | registerCustomItem (QTextCustomItem *i, QTextParagraph *p) |
| void | unregisterCustomItem (QTextCustomItem *i, QTextParagraph *p) |
| void | setFlow (QTextFlow *f) |
| void | takeFlow () |
| QTextFlow * | flow () const |
| bool | isPageBreakEnabled () const |
| void | setPageBreakEnabled (bool b) |
| void | setUseFormatCollection (bool b) |
| bool | useFormatCollection () const |
| QTextTableCell * | tableCell () const |
| void | setTableCell (QTextTableCell *c) |
| void | setPlainText (const QString &text) |
| void | setRichText (const QString &text, const QString &context, const QTextFormat *initialFormat=0) |
| QString | richText () const |
| QString | plainText () const |
| bool | focusNextPrevChild (bool next) |
| int | alignment () const |
| void | setAlignment (int a) |
| int * | tabArray () const |
| int | tabStopWidth () const |
| void | setTabArray (int *a) |
| void | setTabStops (int tw) |
| void | setUndoDepth (int d) |
| int | undoDepth () const |
| int | length () const |
| void | clear (bool createEmptyParag=FALSE) |
| virtual QTextParagraph * | createParagraph (QTextDocument *d, QTextParagraph *pr=0, QTextParagraph *nx=0, bool updateIds=TRUE) |
| void | insertChild (QObject *o) |
| void | removeChild (QObject *o) |
| void | insertChild (QTextDocument *d) |
| void | removeChild (QTextDocument *d) |
| QPtrList< QTextDocument > | children () const |
| bool | hasFocusParagraph () const |
| QString | focusHref () const |
| QString | focusName () const |
| void | invalidateOriginalText () |
Amigas |
| class | QTextTableCell |
| class | QTextCursor |
| class | QTextEdit |
| class | QTextParagraph |
| class | QTextTable |
La documentación para esta clase fue generada a partir de los siguientes ficheros: