Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > 28b9e36e96ce34b2567ae5b47a27b2c5 > files > 1194

python-qt4-doc-4.10.3-3.mga4.noarch.rpm

<?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>QTextOption.Tab 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">&#160;&#160;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QTextOption.Tab Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>This class was introduced in Qt 4.4.</p>
<h3>Methods</h3><ul><li><div class="fn" /><b><a href="qtextoption-tab.html#Tab">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qtextoption-tab.html#Tab-2">__init__</a></b> (<i>self</i>, float&#160;<i>pos</i>, TabType&#160;<i>tabType</i>, QChar&#160;<i>delim</i>&#160;=&#160;QChar())</li><li><div class="fn" /><b><a href="qtextoption-tab.html#Tab-3">__init__</a></b> (<i>self</i>, Tab)</li></ul><h3>Special Methods</h3><ul><li><div class="fn" />bool <b><a href="qtextoption-tab.html#__eq__">__eq__</a></b> (<i>self</i>, Tab&#160;<i>other</i>)</li><li><div class="fn" />bool <b><a href="qtextoption-tab.html#__ne__">__ne__</a></b> (<i>self</i>, Tab&#160;<i>other</i>)</li></ul><h3>Members</h3><ul><li><div class="fn" />QChar <b><a href="qtextoption-tab.html#delimiter-var">delimiter</a></b></li><li><div class="fn" />float <b><a href="qtextoption-tab.html#position-var">position</a></b></li><li><div class="fn" />TabType <b><a href="qtextoption-tab.html#type-var">type</a></b></li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>Each tab definition is represented by this struct.</p>
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="Tab" />Tab.__init__ (<i>self</i>)</h3><p>Creates a default left tab with position 80.</p>


<h3 class="fn"><a name="Tab-2" />Tab.__init__ (<i>self</i>, float&#160;<i>pos</i>, <a href="qtextoption.html#TabType-enum">TabType</a>&#160;<i>tabType</i>, QChar&#160;<i>delim</i>&#160;=&#160;QChar())</h3><p>Creates a tab with the given position, tab type, and delimiter
(<i>pos</i>, <i>tabType</i>, <i>delim</i>).</p>
<p><b>Note:</b> <i>delim</i> is only used when <i>tabType</i> is
<a href="qtextoption.html#TabType-enum">DelimiterTab</a>.</p>
<p>This function was introduced in Qt 4.7.</p>


<h3 class="fn"><a name="Tab-3" />Tab.__init__ (<i>self</i>, <a href="qtextoption-tab.html">Tab</a>)</h3><h3 class="fn"><a name="__eq__" />bool Tab.__eq__ (<i>self</i>, <a href="qtextoption-tab.html">Tab</a>&#160;<i>other</i>)</h3><h3 class="fn"><a name="__ne__" />bool Tab.__ne__ (<i>self</i>, <a href="qtextoption-tab.html">Tab</a>&#160;<i>other</i>)</h3><hr /><h2>Member Documentation</h2><h3 class="fn"><a name="delimiter-var" />QChar delimiter</h3><p>If type is DelimitorTab; tab until this char is found in the
text.</p>


<h3 class="fn"><a name="position-var" />float position</h3><p>Distance from the start of the paragraph. The position of a tab
is from the start of the paragraph which implies that when the
alignment of the paragraph is set to centered, the tab is
interpreted to be moved the same distance as the left ege of the
paragraph does. In case the paragraph is set to have a
layoutDirection() RightToLeft the position is interpreted to be
from the right side of the paragraph with higher numbers moving the
tab to the left.</p>


<h3 class="fn"><a name="type-var" /><a href="qtextoption.html#TabType-enum">TabType</a> type</h3><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.10.3 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2012</td><td align="right" width="25%">Qt&#160;4.8.5</td></tr></table></div></address></body></html>