QTextCharFormat Class Reference
[QtGui module]
Inherits QTextFormat.
Inherited by QTextImageFormat and QTextTableCellFormat.
Types
- enum UnderlineStyle { NoUnderline, SingleUnderline, DashUnderline, DotLine, ..., SpellCheckUnderline }
- enum VerticalAlignment { AlignNormal, AlignSuperScript, AlignSubScript, AlignMiddle, AlignTop, AlignBottom }
Methods
- __init__ (self)
- __init__ (self, QTextCharFormat)
- QString anchorHref (self)
- QString anchorName (self)
- QStringList anchorNames (self)
- QFont font (self)
- QFont.Capitalization fontCapitalization (self)
- QString fontFamily (self)
- bool fontFixedPitch (self)
- bool fontItalic (self)
- bool fontKerning (self)
- float fontLetterSpacing (self)
- bool fontOverline (self)
- float fontPointSize (self)
- bool fontStrikeOut (self)
- QFont.StyleHint fontStyleHint (self)
- QFont.StyleStrategy fontStyleStrategy (self)
- bool fontUnderline (self)
- int fontWeight (self)
- float fontWordSpacing (self)
- bool isAnchor (self)
- bool isValid (self)
- setAnchor (self, bool)
- setAnchorHref (self, QString)
- setAnchorName (self, QString)
- setAnchorNames (self, QStringList)
- setFont (self, QFont)
- setFontCapitalization (self, QFont.Capitalization)
- setFontFamily (self, QString)
- setFontFixedPitch (self, bool)
- setFontItalic (self, bool)
- setFontKerning (self, bool)
- setFontLetterSpacing (self, float)
- setFontOverline (self, bool)
- setFontPointSize (self, float)
- setFontStrikeOut (self, bool)
- setFontStyleHint (self, QFont.StyleHint, QFont.StyleStrategy strategy = QFont.PreferDefault)
- setFontStyleStrategy (self, QFont.StyleStrategy)
- setFontUnderline (self, bool)
- setFontWeight (self, int)
- setFontWordSpacing (self, float)
- setTableCellColumnSpan (self, int)
- setTableCellRowSpan (self, int)
- setTextOutline (self, QPen)
- setToolTip (self, QString)
- setUnderlineColor (self, QColor)
- setUnderlineStyle (self, UnderlineStyle)
- setVerticalAlignment (self, VerticalAlignment)
- int tableCellColumnSpan (self)
- int tableCellRowSpan (self)
- QPen textOutline (self)
- QString toolTip (self)
- QColor underlineColor (self)
- UnderlineStyle underlineStyle (self)
- VerticalAlignment verticalAlignment (self)
Detailed Description
Type Documentation
QTextCharFormat.UnderlineStyle
QTextCharFormat.VerticalAlignment
Method Documentation
QTextCharFormat.__init__ (self)
QTextCharFormat.__init__ (self, QTextCharFormat)
QString QTextCharFormat.anchorHref (self)
QString QTextCharFormat.anchorName (self)
QStringList QTextCharFormat.anchorNames (self)
QFont QTextCharFormat.font (self)
QFont.Capitalization QTextCharFormat.fontCapitalization (self)
QString QTextCharFormat.fontFamily (self)
bool QTextCharFormat.fontFixedPitch (self)
bool QTextCharFormat.fontItalic (self)
bool QTextCharFormat.fontKerning (self)
float QTextCharFormat.fontLetterSpacing (self)
bool QTextCharFormat.fontOverline (self)
float QTextCharFormat.fontPointSize (self)
bool QTextCharFormat.fontStrikeOut (self)
QFont.StyleHint QTextCharFormat.fontStyleHint (self)
QFont.StyleStrategy QTextCharFormat.fontStyleStrategy (self)
bool QTextCharFormat.fontUnderline (self)
int QTextCharFormat.fontWeight (self)
float QTextCharFormat.fontWordSpacing (self)
bool QTextCharFormat.isAnchor (self)
bool QTextCharFormat.isValid (self)
QTextCharFormat.setAnchor (self, bool)
QTextCharFormat.setAnchorHref (self, QString)
QTextCharFormat.setAnchorName (self, QString)
QTextCharFormat.setAnchorNames (self, QStringList)
QTextCharFormat.setFont (self, QFont)
QTextCharFormat.setFontCapitalization (self, QFont.Capitalization)
QTextCharFormat.setFontFamily (self, QString)
QTextCharFormat.setFontFixedPitch (self, bool)
QTextCharFormat.setFontItalic (self, bool)
QTextCharFormat.setFontKerning (self, bool)
QTextCharFormat.setFontLetterSpacing (self, float)
QTextCharFormat.setFontOverline (self, bool)
QTextCharFormat.setFontPointSize (self, float)
QTextCharFormat.setFontStrikeOut (self, bool)
QTextCharFormat.setFontStyleHint (self, QFont.StyleHint, QFont.StyleStrategy strategy = QFont.PreferDefault)
QTextCharFormat.setFontStyleStrategy (self, QFont.StyleStrategy)
QTextCharFormat.setFontUnderline (self, bool)
QTextCharFormat.setFontWeight (self, int)
QTextCharFormat.setFontWordSpacing (self, float)
QTextCharFormat.setTableCellColumnSpan (self, int)
QTextCharFormat.setTableCellRowSpan (self, int)
QTextCharFormat.setTextOutline (self, QPen)
QTextCharFormat.setToolTip (self, QString)
QTextCharFormat.setUnderlineColor (self, QColor)
QTextCharFormat.setUnderlineStyle (self, UnderlineStyle)
QTextCharFormat.setVerticalAlignment (self, VerticalAlignment)
int QTextCharFormat.tableCellColumnSpan (self)
int QTextCharFormat.tableCellRowSpan (self)
QPen QTextCharFormat.textOutline (self)
QString QTextCharFormat.toolTip (self)
QColor QTextCharFormat.underlineColor (self)
UnderlineStyle QTextCharFormat.underlineStyle (self)
VerticalAlignment QTextCharFormat.verticalAlignment (self)