Métodos públicos |
| QTextParagraph (QTextDocument *d, QTextParagraph *pr=0, QTextParagraph *nx=0, bool updateIds=TRUE) |
| ~QTextParagraph () |
QTextString * | string () const |
QTextStringChar * | at (int i) const |
int | leftGap () const |
int | length () const |
void | setListStyle (QStyleSheetItem::ListStyle ls) |
QStyleSheetItem::ListStyle | listStyle () const |
void | setListItem (bool li) |
bool | isListItem () const |
void | setListValue (int v) |
int | listValue () const |
void | setListDepth (int depth) |
int | listDepth () const |
QTextDocument * | document () const |
QTextParagraphPseudoDocument * | pseudoDocument () const |
QRect | rect () const |
void | setHeight (int h) |
void | show () |
void | hide () |
bool | isVisible () const |
QTextParagraph * | prev () const |
QTextParagraph * | next () const |
void | setPrev (QTextParagraph *s) |
void | setNext (QTextParagraph *s) |
void | insert (int index, const QString &s) |
void | insert (int index, const QChar *unicode, int len) |
void | append (const QString &s, bool reallyAtEnd=FALSE) |
void | truncate (int index) |
void | remove (int index, int len) |
void | join (QTextParagraph *s) |
void | invalidate (int chr) |
void | move (int &dy) |
void | format (int start=-1, bool doMove=TRUE) |
bool | isValid () const |
bool | hasChanged () const |
void | setChanged (bool b, bool recursive=FALSE) |
int | lineHeightOfChar (int i, int *bl=0, int *y=0) const |
QTextStringChar * | lineStartOfChar (int i, int *index=0, int *line=0) const |
int | lines () const |
QTextStringChar * | lineStartOfLine (int line, int *index=0) const |
int | lineY (int l) const |
int | lineBaseLine (int l) const |
int | lineHeight (int l) const |
void | lineInfo (int l, int &y, int &h, int &bl) const |
void | setSelection (int id, int start, int end) |
void | removeSelection (int id) |
int | selectionStart (int id) const |
int | selectionEnd (int id) const |
bool | hasSelection (int id) const |
bool | hasAnySelection () const |
bool | fullSelected (int id) const |
void | setEndState (int s) |
int | endState () const |
void | setParagId (int i) |
int | paragId () const |
bool | firstPreProcess () const |
void | setFirstPreProcess (bool b) |
void | indent (int *oldIndent=0, int *newIndent=0) |
void | setExtraData (QTextParagraphData *data) |
QTextParagraphData * | extraData () const |
QMap< int, QTextLineStart * > & | lineStartList () |
void | setFormat (int index, int len, QTextFormat *f, bool useCollection=TRUE, int flags=-1) |
void | setAlignment (int a) |
int | alignment () const |
void | paint (QPainter &painter, const QColorGroup &cg, QTextCursor *cursor=0, bool drawSelections=FALSE, int clipx=-1, int clipy=-1, int clipw=-1, int cliph=-1) |
int | topMargin () const |
int | bottomMargin () const |
int | leftMargin () const |
int | firstLineMargin () const |
int | rightMargin () const |
int | lineSpacing () const |
void | registerFloatingItem (QTextCustomItem *i) |
void | unregisterFloatingItem (QTextCustomItem *i) |
void | setFullWidth (bool b) |
bool | isFullWidth () const |
QTextTableCell * | tableCell () const |
QBrush * | background () const |
int | documentWidth () const |
int | documentVisibleWidth () const |
int | documentX () const |
int | documentY () const |
QTextFormatCollection * | formatCollection () const |
QTextFormatter * | formatter () const |
int | nextTab (int i, int x) |
int * | tabArray () const |
void | setTabArray (int *a) |
void | setTabStops (int tw) |
void | adjustToPainter (QPainter *p) |
void | setNewLinesAllowed (bool b) |
bool | isNewLinesAllowed () const |
QString | richText () const |
void | addCommand (QTextCommand *cmd) |
QTextCursor * | undo (QTextCursor *c=0) |
QTextCursor * | redo (QTextCursor *c=0) |
QTextCommandHistory * | commands () const |
void | copyParagData (QTextParagraph *parag) |
void | setBreakable (bool b) |
bool | isBreakable () const |
void | setBackgroundColor (const QColor &c) |
QColor * | backgroundColor () const |
void | clearBackgroundColor () |
void | setMovedDown (bool b) |
bool | wasMovedDown () const |
void | setDirection (QChar::Direction d) |
QChar::Direction | direction () const |
void | setPaintDevice (QPaintDevice *pd) |
void | readStyleInformation (QDataStream &stream) |
void | writeStyleInformation (QDataStream &stream) const |
| QTextParagraph (QTextDocument *d, QTextParagraph *pr=0, QTextParagraph *nx=0, bool updateIds=TRUE) |
| ~QTextParagraph () |
QTextString * | string () const |
QTextStringChar * | at (int i) const |
int | leftGap () const |
int | length () const |
void | setListStyle (QStyleSheetItem::ListStyle ls) |
QStyleSheetItem::ListStyle | listStyle () const |
void | setListItem (bool li) |
bool | isListItem () const |
void | setListValue (int v) |
int | listValue () const |
void | setListDepth (int depth) |
int | listDepth () const |
QTextDocument * | document () const |
QTextParagraphPseudoDocument * | pseudoDocument () const |
QRect | rect () const |
void | setHeight (int h) |
void | show () |
void | hide () |
bool | isVisible () const |
QTextParagraph * | prev () const |
QTextParagraph * | next () const |
void | setPrev (QTextParagraph *s) |
void | setNext (QTextParagraph *s) |
void | insert (int index, const QString &s) |
void | insert (int index, const QChar *unicode, int len) |
void | append (const QString &s, bool reallyAtEnd=FALSE) |
void | truncate (int index) |
void | remove (int index, int len) |
void | join (QTextParagraph *s) |
void | invalidate (int chr) |
void | move (int &dy) |
void | format (int start=-1, bool doMove=TRUE) |
bool | isValid () const |
bool | hasChanged () const |
void | setChanged (bool b, bool recursive=FALSE) |
int | lineHeightOfChar (int i, int *bl=0, int *y=0) const |
QTextStringChar * | lineStartOfChar (int i, int *index=0, int *line=0) const |
int | lines () const |
QTextStringChar * | lineStartOfLine (int line, int *index=0) const |
int | lineY (int l) const |
int | lineBaseLine (int l) const |
int | lineHeight (int l) const |
void | lineInfo (int l, int &y, int &h, int &bl) const |
void | setSelection (int id, int start, int end) |
void | removeSelection (int id) |
int | selectionStart (int id) const |
int | selectionEnd (int id) const |
bool | hasSelection (int id) const |
bool | hasAnySelection () const |
bool | fullSelected (int id) const |
void | setEndState (int s) |
int | endState () const |
void | setParagId (int i) |
int | paragId () const |
bool | firstPreProcess () const |
void | setFirstPreProcess (bool b) |
void | indent (int *oldIndent=0, int *newIndent=0) |
void | setExtraData (QTextParagraphData *data) |
QTextParagraphData * | extraData () const |
QMap< int, QTextLineStart * > & | lineStartList () |
void | setFormat (int index, int len, QTextFormat *f, bool useCollection=TRUE, int flags=-1) |
void | setAlignment (int a) |
int | alignment () const |
void | paint (QPainter &painter, const QColorGroup &cg, QTextCursor *cursor=0, bool drawSelections=FALSE, int clipx=-1, int clipy=-1, int clipw=-1, int cliph=-1) |
int | topMargin () const |
int | bottomMargin () const |
int | leftMargin () const |
int | firstLineMargin () const |
int | rightMargin () const |
int | lineSpacing () const |
void | registerFloatingItem (QTextCustomItem *i) |
void | unregisterFloatingItem (QTextCustomItem *i) |
void | setFullWidth (bool b) |
bool | isFullWidth () const |
QTextTableCell * | tableCell () const |
QBrush * | background () const |
int | documentWidth () const |
int | documentVisibleWidth () const |
int | documentX () const |
int | documentY () const |
QTextFormatCollection * | formatCollection () const |
QTextFormatter * | formatter () const |
int | nextTab (int i, int x) |
int * | tabArray () const |
void | setTabArray (int *a) |
void | setTabStops (int tw) |
void | adjustToPainter (QPainter *p) |
void | setNewLinesAllowed (bool b) |
bool | isNewLinesAllowed () const |
QString | richText () const |
void | addCommand (QTextCommand *cmd) |
QTextCursor * | undo (QTextCursor *c=0) |
QTextCursor * | redo (QTextCursor *c=0) |
QTextCommandHistory * | commands () const |
void | copyParagData (QTextParagraph *parag) |
void | setBreakable (bool b) |
bool | isBreakable () const |
void | setBackgroundColor (const QColor &c) |
QColor * | backgroundColor () const |
void | clearBackgroundColor () |
void | setMovedDown (bool b) |
bool | wasMovedDown () const |
void | setDirection (QChar::Direction d) |
QChar::Direction | direction () const |
void | setPaintDevice (QPaintDevice *pd) |
void | readStyleInformation (QDataStream &stream) |
void | writeStyleInformation (QDataStream &stream) const |
Métodos protegidos |
void | setColorForSelection (QColor &c, QPainter &p, const QColorGroup &cg, int selection) |
void | drawLabel (QPainter *p, int x, int y, int w, int h, int base, const QColorGroup &cg) |
void | drawString (QPainter &painter, const QString &str, int start, int len, int xstart, int y, int baseLine, int w, int h, bool drawSelections, int fullSelectionWidth, QTextStringChar *formatChar, const QColorGroup &cg, bool rightToLeft) |
void | setColorForSelection (QColor &c, QPainter &p, const QColorGroup &cg, int selection) |
void | drawLabel (QPainter *p, int x, int y, int w, int h, int base, const QColorGroup &cg) |
void | drawString (QPainter &painter, const QString &str, int start, int len, int xstart, int y, int baseLine, int w, int h, bool drawSelections, int fullSelectionWidth, QTextStringChar *formatChar, const QColorGroup &cg, bool rightToLeft) |
Amigas |
class | QTextDocument |
class | QTextCursor |
class | QSyntaxHighlighter |
La documentación para esta clase fue generada a partir de los siguientes ficheros: