1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html><head><title>QTextCharFormat Class Reference</title><style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
td.postheader { font-family: sans-serif }
tr.address { font-family: sans-serif }
body { background: #ffffff; color: black; }
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">  </td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QTextCharFormat Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QTextCharFormat class provides formatting information for characters in a <a href="qtextdocument.html">QTextDocument</a>. <a href="#details">More...</a></p>
<p>Inherits <a href="qtextformat.html">QTextFormat</a>.</p><p>Inherited by <a href="qtextimageformat.html">QTextImageFormat</a>.</p><h3>Types</h3><ul><li><div class="fn" />enum <b><a href="qtextcharformat.html#VerticalAlignment-enum">VerticalAlignment</a></b> { AlignNormal, AlignSuperScript, AlignSubScript }</li></ul><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qtextcharformat.html#QTextCharFormat">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#QTextCharFormat-2">__init__</a></b> (<i>self</i>, QTextCharFormat)</li><li><div class="fn" />QString <b><a href="qtextcharformat.html#anchorHref">anchorHref</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qtextcharformat.html#anchorName">anchorName</a></b> (<i>self</i>)</li><li><div class="fn" />QFont <b><a href="qtextcharformat.html#font">font</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qtextcharformat.html#fontFamily">fontFamily</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qtextcharformat.html#fontFixedPitch">fontFixedPitch</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qtextcharformat.html#fontItalic">fontItalic</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qtextcharformat.html#fontOverline">fontOverline</a></b> (<i>self</i>)</li><li><div class="fn" />float <b><a href="qtextcharformat.html#fontPointSize">fontPointSize</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qtextcharformat.html#fontStrikeOut">fontStrikeOut</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qtextcharformat.html#fontUnderline">fontUnderline</a></b> (<i>self</i>)</li><li><div class="fn" />int <b><a href="qtextcharformat.html#fontWeight">fontWeight</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qtextcharformat.html#isAnchor">isAnchor</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qtextcharformat.html#isValid">isValid</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setAnchor">setAnchor</a></b> (<i>self</i>, bool <i>anchor</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setAnchorHref">setAnchorHref</a></b> (<i>self</i>, QString <i>value</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setAnchorName">setAnchorName</a></b> (<i>self</i>, QString <i>name</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setFont">setFont</a></b> (<i>self</i>, QFont <i>font</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setFontFamily">setFontFamily</a></b> (<i>self</i>, QString <i>family</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setFontFixedPitch">setFontFixedPitch</a></b> (<i>self</i>, bool <i>fixedPitch</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setFontItalic">setFontItalic</a></b> (<i>self</i>, bool <i>italic</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setFontOverline">setFontOverline</a></b> (<i>self</i>, bool <i>overline</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setFontPointSize">setFontPointSize</a></b> (<i>self</i>, float <i>size</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setFontStrikeOut">setFontStrikeOut</a></b> (<i>self</i>, bool <i>strikeOut</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setFontUnderline">setFontUnderline</a></b> (<i>self</i>, bool <i>underline</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setFontWeight">setFontWeight</a></b> (<i>self</i>, int <i>weight</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setTableCellColumnSpan">setTableCellColumnSpan</a></b> (<i>self</i>, int <i>atableCellColumnSpan</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setTableCellRowSpan">setTableCellRowSpan</a></b> (<i>self</i>, int <i>atableCellRowSpan</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setTextOutline">setTextOutline</a></b> (<i>self</i>, QPen <i>pen</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setUnderlineColor">setUnderlineColor</a></b> (<i>self</i>, QColor <i>color</i>)</li><li><div class="fn" /><b><a href="qtextcharformat.html#setVerticalAlignment">setVerticalAlignment</a></b> (<i>self</i>, VerticalAlignment <i>alignment</i>)</li><li><div class="fn" />int <b><a href="qtextcharformat.html#tableCellColumnSpan">tableCellColumnSpan</a></b> (<i>self</i>)</li><li><div class="fn" />int <b><a href="qtextcharformat.html#tableCellRowSpan">tableCellRowSpan</a></b> (<i>self</i>)</li><li><div class="fn" />QPen <b><a href="qtextcharformat.html#textOutline">textOutline</a></b> (<i>self</i>)</li><li><div class="fn" />QColor <b><a href="qtextcharformat.html#underlineColor">underlineColor</a></b> (<i>self</i>)</li><li><div class="fn" />VerticalAlignment <b><a href="qtextcharformat.html#verticalAlignment">verticalAlignment</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QTextCharFormat class provides formatting information for characters in a <a href="qtextdocument.html">QTextDocument</a>.</p>
<p>The character format of text in a document specifies the visual properties of the text, as well as information about its role in a hypertext document.</p>
<p>The font used can be set by supplying a font to the <a href="qtextcharformat.html#setFont">setFont</a>() function, and each aspect of its appearance can be adjusted to give the desired effect. <a href="qtextcharformat.html#setFontFamily">setFontFamily</a>() and <a href="qtextcharformat.html#setFontPointSize">setFontPointSize</a>() define the font's family (e.g. Times) and printed size; <a href="qtextcharformat.html#setFontWeight">setFontWeight</a>() and <a href="qtextcharformat.html#setFontItalic">setFontItalic</a>() provide control over the style of the font. <a href="qtextcharformat.html#setFontUnderline">setFontUnderline</a>(), <a href="qtextcharformat.html#setFontOverline">setFontOverline</a>(), <a href="qtextcharformat.html#setFontStrikeOut">setFontStrikeOut</a>(), and <a href="qtextcharformat.html#setFontFixedPitch">setFontFixedPitch</a>() provide additional effects for text.</p>
<p>The color is set with <a href="qtextformat.html#setForeground">setForeground</a>(). If the text is intended to be used as an anchor (for hyperlinks), this can be enabled with <a href="qtextcharformat.html#setAnchor">setAnchor</a>(). The <a href="qtextcharformat.html#setAnchorHref">setAnchorHref</a>() and <a href="qtextcharformat.html#setAnchorName">setAnchorName</a>() functions are used to specify the information about the hyperlink's destination and the anchor's name.</p>
<p>If the text is written within a table, it can be made to span a number of rows and columns with the <a href="qtextcharformat.html#setTableCellRowSpan">setTableCellRowSpan</a>() and <a href="qtextcharformat.html#setTableCellColumnSpan">setTableCellColumnSpan</a>() functions.</p>
<p>See also <a href="qtextformat.html">QTextFormat</a>, <a href="qtextblockformat.html">QTextBlockFormat</a>, <a href="qtexttableformat.html">QTextTableFormat</a>, and <a href="qtextlistformat.html">QTextListFormat</a>.</p>
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="VerticalAlignment-enum" />QTextCharFormat.VerticalAlignment</h3><p>This enum describes the ways that adjacent characters can be vertically aligned.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>QTextCharFormat.AlignNormal</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">Adjacent characters are positioned in the standard way for text in the writing system in use.</td>
</tr>
<tr>
<td valign="top"><tt>QTextCharFormat.AlignSuperScript</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">Characters are placed above the baseline for normal text.</td>
</tr>
<tr>
<td valign="top"><tt>QTextCharFormat.AlignSubScript</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">Characters are placed below the baseline for normal text.</td>
</tr>
</table>
<br />
<br />
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QTextCharFormat" />QTextCharFormat.__init__ (<i>self</i>)</h3><p>Constructs a new character format object.</p>
<h3 class="fn"><a name="QTextCharFormat-2" />QTextCharFormat.__init__ (<i>self</i>, <a href="qtextcharformat.html">QTextCharFormat</a>)</h3><h3 class="fn"><a name="anchorHref" /><a href="qstring.html">QString</a> QTextCharFormat.anchorHref (<i>self</i>)</h3><p>Returns the text format's hypertext link, or an empty string if none has been set.</p>
<p>See also <a href="qtextcharformat.html#setAnchorHref">setAnchorHref</a>().</p>
<h3 class="fn"><a name="anchorName" /><a href="qstring.html">QString</a> QTextCharFormat.anchorName (<i>self</i>)</h3><p>Returns the anchor name associated with this text format, or an empty string if none has been set. If the anchor name is set, text with this format can be the destination of a hypertext link.</p>
<p>See also <a href="qtextcharformat.html#setAnchorName">setAnchorName</a>().</p>
<h3 class="fn"><a name="font" /><a href="qfont.html">QFont</a> QTextCharFormat.font (<i>self</i>)</h3><p>Returns the font for this character format.</p>
<p>See also <a href="qtextcharformat.html#setFont">setFont</a>().</p>
<h3 class="fn"><a name="fontFamily" /><a href="qstring.html">QString</a> QTextCharFormat.fontFamily (<i>self</i>)</h3><p>Returns the text format's font family.</p>
<p>See also <a href="qtextcharformat.html#setFontFamily">setFontFamily</a>() and <a href="qtextcharformat.html#font">font</a>().</p>
<h3 class="fn"><a name="fontFixedPitch" />bool QTextCharFormat.fontFixedPitch (<i>self</i>)</h3><p>Returns true if the text format's font is fixed pitch; otherwise returns false.</p>
<p>See also <a href="qtextcharformat.html#setFontFixedPitch">setFontFixedPitch</a>() and <a href="qtextcharformat.html#font">font</a>().</p>
<h3 class="fn"><a name="fontItalic" />bool QTextCharFormat.fontItalic (<i>self</i>)</h3><p>Returns true if the text format's font is italic; otherwise returns false.</p>
<p>See also <a href="qtextcharformat.html#setFontItalic">setFontItalic</a>() and <a href="qtextcharformat.html#font">font</a>().</p>
<h3 class="fn"><a name="fontOverline" />bool QTextCharFormat.fontOverline (<i>self</i>)</h3><p>Returns true if the text format's font is overlined; otherwise returns false.</p>
<p>See also <a href="qtextcharformat.html#setFontOverline">setFontOverline</a>() and <a href="qtextcharformat.html#font">font</a>().</p>
<h3 class="fn"><a name="fontPointSize" />float QTextCharFormat.fontPointSize (<i>self</i>)</h3><p>Returns the font size used to display text in this format.</p>
<p>See also <a href="qtextcharformat.html#setFontPointSize">setFontPointSize</a>() and <a href="qtextcharformat.html#font">font</a>().</p>
<h3 class="fn"><a name="fontStrikeOut" />bool QTextCharFormat.fontStrikeOut (<i>self</i>)</h3><p>Returns true if the text format's font is struck out (has a horizontal line drawn through it); otherwise returns false.</p>
<p>See also <a href="qtextcharformat.html#setFontStrikeOut">setFontStrikeOut</a>() and <a href="qtextcharformat.html#font">font</a>().</p>
<h3 class="fn"><a name="fontUnderline" />bool QTextCharFormat.fontUnderline (<i>self</i>)</h3><p>Returns true if the text format's font is underlined; otherwise returns false.</p>
<p>See also <a href="qtextcharformat.html#setFontUnderline">setFontUnderline</a>() and <a href="qtextcharformat.html#font">font</a>().</p>
<h3 class="fn"><a name="fontWeight" />int QTextCharFormat.fontWeight (<i>self</i>)</h3><p>Returns the text format's font weight.</p>
<p>See also <a href="qtextcharformat.html#setFontWeight">setFontWeight</a>() and <a href="qtextcharformat.html#font">font</a>().</p>
<h3 class="fn"><a name="isAnchor" />bool QTextCharFormat.isAnchor (<i>self</i>)</h3><p>Returns true if the text is formatted as an anchor; otherwise returns false.</p>
<p>See also <a href="qtextcharformat.html#setAnchor">setAnchor</a>(), <a href="qtextcharformat.html#setAnchorHref">setAnchorHref</a>(), and <a href="qtextcharformat.html#setAnchorName">setAnchorName</a>().</p>
<h3 class="fn"><a name="isValid" />bool QTextCharFormat.isValid (<i>self</i>)</h3><p>Returns true if this character format is valid; otherwise returns false.</p>
<h3 class="fn"><a name="setAnchor" />QTextCharFormat.setAnchor (<i>self</i>, bool <i>anchor</i>)</h3><p>If <i>anchor</i> is true, text with this format represents an anchor, and is formatted in the appropriate way; otherwise the text is formatted normally. (Anchors are hyperlinks which are often shown underlined and in a different color from plain text.)</p>
<p>The way the text is rendered is independent of whether or not the format has a valid anchor defined. Use <a href="qtextcharformat.html#setAnchorHref">setAnchorHref</a>(), and optionally <a href="qtextcharformat.html#setAnchorName">setAnchorName</a>() to create a hypertext link.</p>
<p>See also <a href="qtextcharformat.html#isAnchor">isAnchor</a>().</p>
<h3 class="fn"><a name="setAnchorHref" />QTextCharFormat.setAnchorHref (<i>self</i>, <a href="qstring.html">QString</a> <i>value</i>)</h3><p>Sets the hypertext link for the text format to the given <i>value</i>. This is typically a URL like "http://www.trolltech.com/index.html".</p>
<p>The anchor will be displayed with the <i>value</i> as its display text; if you want to display different text call <a href="qtextcharformat.html#setAnchorName">setAnchorName</a>().</p>
<p>To format the text as a hypertext link use <a href="qtextcharformat.html#setAnchor">setAnchor</a>().</p>
<p>See also <a href="qtextcharformat.html#anchorHref">anchorHref</a>().</p>
<h3 class="fn"><a name="setAnchorName" />QTextCharFormat.setAnchorName (<i>self</i>, <a href="qstring.html">QString</a> <i>name</i>)</h3><p>Sets the text format's anchor <i>name</i>. For the anchor to work as a hyperlink, the destination must be set with <a href="qtextcharformat.html#setAnchorHref">setAnchorHref</a>() and the anchor must be enabled with <a href="qtextcharformat.html#setAnchor">setAnchor</a>().</p>
<p>See also <a href="qtextcharformat.html#anchorName">anchorName</a>().</p>
<h3 class="fn"><a name="setFont" />QTextCharFormat.setFont (<i>self</i>, <a href="qfont.html">QFont</a> <i>font</i>)</h3><p>Sets the text format's <i>font</i>.</p>
<p>See also <a href="qtextcharformat.html#font">font</a>().</p>
<h3 class="fn"><a name="setFontFamily" />QTextCharFormat.setFontFamily (<i>self</i>, <a href="qstring.html">QString</a> <i>family</i>)</h3><p>Sets the text format's font <i>family</i>.</p>
<p>See also <a href="qtextcharformat.html#fontFamily">fontFamily</a>() and <a href="qtextcharformat.html#setFont">setFont</a>().</p>
<h3 class="fn"><a name="setFontFixedPitch" />QTextCharFormat.setFontFixedPitch (<i>self</i>, bool <i>fixedPitch</i>)</h3><p>If <i>fixedPitch</i> is true, sets the text format's font to be fixed pitch; otherwise a non-fixed pitch font is used.</p>
<p>See also <a href="qtextcharformat.html#fontFixedPitch">fontFixedPitch</a>() and <a href="qtextcharformat.html#setFont">setFont</a>().</p>
<h3 class="fn"><a name="setFontItalic" />QTextCharFormat.setFontItalic (<i>self</i>, bool <i>italic</i>)</h3><p>If <i>italic</i> is true, sets the text format's font to be italic; otherwise the font will be non-italic.</p>
<p>See also <a href="qtextcharformat.html#fontItalic">fontItalic</a>() and <a href="qtextcharformat.html#setFont">setFont</a>().</p>
<h3 class="fn"><a name="setFontOverline" />QTextCharFormat.setFontOverline (<i>self</i>, bool <i>overline</i>)</h3><p>If <i>overline</i> is true, sets the text format's font to be overlined; otherwise the font is displayed non-overlined.</p>
<p>See also <a href="qtextcharformat.html#fontOverline">fontOverline</a>() and <a href="qtextcharformat.html#setFont">setFont</a>().</p>
<h3 class="fn"><a name="setFontPointSize" />QTextCharFormat.setFontPointSize (<i>self</i>, float <i>size</i>)</h3><p>Sets the text format's font <i>size</i>.</p>
<p>See also <a href="qtextcharformat.html#fontPointSize">fontPointSize</a>() and <a href="qtextcharformat.html#setFont">setFont</a>().</p>
<h3 class="fn"><a name="setFontStrikeOut" />QTextCharFormat.setFontStrikeOut (<i>self</i>, bool <i>strikeOut</i>)</h3><p>If <i>strikeOut</i> is true, sets the text format's font with strike-out enabled (with a horizontal line through it); otherwise it is displayed without strikeout.</p>
<p>See also <a href="qtextcharformat.html#fontStrikeOut">fontStrikeOut</a>() and <a href="qtextcharformat.html#setFont">setFont</a>().</p>
<h3 class="fn"><a name="setFontUnderline" />QTextCharFormat.setFontUnderline (<i>self</i>, bool <i>underline</i>)</h3><p>If <i>underline</i> is true, sets the text format's font to be underlined; otherwise it is displayed non-underlined.</p>
<p>See also <a href="qtextcharformat.html#fontUnderline">fontUnderline</a>() and <a href="qtextcharformat.html#setFont">setFont</a>().</p>
<h3 class="fn"><a name="setFontWeight" />QTextCharFormat.setFontWeight (<i>self</i>, int <i>weight</i>)</h3><p>Sets the text format's font weight to <i>weight</i>.</p>
<p>See also <a href="qtextcharformat.html#fontWeight">fontWeight</a>() and <a href="qtextcharformat.html#setFont">setFont</a>().</p>
<h3 class="fn"><a name="setTableCellColumnSpan" />QTextCharFormat.setTableCellColumnSpan (<i>self</i>, int <i>atableCellColumnSpan</i>)</h3><p>If this character format is applied to characters in a table cell, the cell will span <i>tableCellColumnSpan</i> columns.</p>
<p>See also <a href="qtextcharformat.html#tableCellColumnSpan">tableCellColumnSpan</a>().</p>
<h3 class="fn"><a name="setTableCellRowSpan" />QTextCharFormat.setTableCellRowSpan (<i>self</i>, int <i>atableCellRowSpan</i>)</h3><p>If this character format is applied to characters in a table cell, the cell will span <i>tableCellRowSpan</i> rows.</p>
<p>See also <a href="qtextcharformat.html#tableCellRowSpan">tableCellRowSpan</a>().</p>
<h3 class="fn"><a name="setTextOutline" />QTextCharFormat.setTextOutline (<i>self</i>, <a href="qpen.html">QPen</a> <i>pen</i>)</h3><p>Sets the pen used to draw the outlines of characters to the given <i>pen</i>.</p>
<p>See also <a href="qtextcharformat.html#textOutline">textOutline</a>().</p>
<h3 class="fn"><a name="setUnderlineColor" />QTextCharFormat.setUnderlineColor (<i>self</i>, <a href="qcolor.html">QColor</a> <i>color</i>)</h3><p>Sets the underline color used for the characters with this format to the <i>color</i> specified.</p>
<p>See also <a href="qtextcharformat.html#underlineColor">underlineColor</a>().</p>
<h3 class="fn"><a name="setVerticalAlignment" />QTextCharFormat.setVerticalAlignment (<i>self</i>, <a href="qtextcharformat.html#VerticalAlignment-enum">VerticalAlignment</a> <i>alignment</i>)</h3><p>Sets the vertical alignment used for the characters with this format to the <i>alignment</i> specified.</p>
<p>See also <a href="qtextcharformat.html#verticalAlignment">verticalAlignment</a>().</p>
<h3 class="fn"><a name="tableCellColumnSpan" />int QTextCharFormat.tableCellColumnSpan (<i>self</i>)</h3><p>If this character format is applied to characters in a table cell, this function returns the number of columns spanned by the text (this may be 1); otherwise it returns 1.</p>
<p>See also <a href="qtextcharformat.html#setTableCellColumnSpan">setTableCellColumnSpan</a>().</p>
<h3 class="fn"><a name="tableCellRowSpan" />int QTextCharFormat.tableCellRowSpan (<i>self</i>)</h3><p>If this character format is applied to characters in a table cell, this function returns the number of rows spanned by the text (this may be 1); otherwise it returns 1.</p>
<p>See also <a href="qtextcharformat.html#setTableCellRowSpan">setTableCellRowSpan</a>().</p>
<h3 class="fn"><a name="textOutline" /><a href="qpen.html">QPen</a> QTextCharFormat.textOutline (<i>self</i>)</h3><p>Returns the pen used to draw the outlines of characters in this format.</p>
<p>See also <a href="qtextcharformat.html#setTextOutline">setTextOutline</a>().</p>
<h3 class="fn"><a name="underlineColor" /><a href="qcolor.html">QColor</a> QTextCharFormat.underlineColor (<i>self</i>)</h3><p>Returns the color used to underline the characters with this format.</p>
<p>See also <a href="qtextcharformat.html#setUnderlineColor">setUnderlineColor</a>().</p>
<h3 class="fn"><a name="verticalAlignment" /><a href="qtextcharformat.html#VerticalAlignment-enum">VerticalAlignment</a> QTextCharFormat.verticalAlignment (<i>self</i>)</h3><p>Returns the vertical alignment used for characters with this format.</p>
<p>See also <a href="qtextcharformat.html#setVerticalAlignment">setVerticalAlignment</a>().</p>
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td width="25%">PyQt 4.0.1 for X11</td><td align="center" width="50%">Copyright © <a href="http://www.riverbankcomputing.com">Riverbank Computing Ltd</a> and <a href="http://www.trolltech.com">Trolltech AS</a> 2006</td><td align="right" width="25%">Qt 4.1.4</td></tr></table></div></address></body></html>
|