Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 768f7d9f703884aa2562bf0a651086df > files > 1648

qtbase5-doc-5.9.4-1.1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtextoption.cpp -->
  <title>Tab Class | Qt GUI 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtgui-index.html">Qt GUI</a></td><td ><a href="qtgui-module.html">C++ Classes</a></td><td >Tab</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#public-variables">Public Variables</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Tab Class</h1>
<span class="small-subtitle">(<a href="qtextoption-tab.html">QTextOption::Tab</a>)<br/></span>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;Tab&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += gui</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 4.4</td></tr></table></div><ul>
<li><a href="qtextoption-tab-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtextoption-tab.html#Tab">Tab</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtextoption-tab.html#Tab-1">Tab</a></b>(qreal <i>pos</i>, TabType <i>tabType</i>, QChar <i>delim</i> = QChar())</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qtextoption-tab.html#operator-not-eq">operator!=</a></b>(const Tab &amp;<i>other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qtextoption-tab.html#operator-eq-eq">operator==</a></b>(const Tab &amp;<i>other</i>) const</td></tr>
</table></div>
<a name="public-variables"></a>
<h2 id="public-variables">Public Variables</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QChar </td><td class="memItemRight bottomAlign"><b><a href="qtextoption-tab.html#delimiter-var">delimiter</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qtextoption-tab.html#position-var">position</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> TabType </td><td class="memItemRight bottomAlign"><b><a href="qtextoption-tab.html#type-var">type</a></b></td></tr>
</table></div>
<a name="details"></a>
<!-- $$$Tab-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>Each tab definition is represented by this struct.</p>
</div>
<!-- @@@Tab -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$Tab[overload1]$$$Tab -->
<h3 class="fn" id="Tab"><a name="Tab"></a>Tab::<span class="name">Tab</span>()</h3>
<p>Creates a default left tab with position 80.</p>
<!-- @@@Tab -->
<!-- $$$Tab$$$TabqrealTabTypeQChar -->
<h3 class="fn" id="Tab-1"><a name="Tab-1"></a>Tab::<span class="name">Tab</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>pos</i>, <span class="type"><a href="qtextoption.html#TabType-enum">TabType</a></span> <i>tabType</i>, <span class="type"><a href="../qtcore/qchar.html">QChar</a></span> <i>delim</i> = 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>
<!-- @@@Tab -->
<!-- $$$operator!=[overload1]$$$operator!=constTab& -->
<h3 class="fn" id="operator-not-eq"><a name="operator-not-eq"></a><span class="type">bool</span> Tab::<span class="name">operator!=</span>(const <span class="type"><a href="qtextoption-tab.html#Tab">Tab</a></span> &amp;<i>other</i>) const</h3>
<p>Returns <code>true</code> if tab <i>other</i> is not equal to this tab; otherwise returns <code>false</code>.</p>
<!-- @@@operator!= -->
<!-- $$$operator==[overload1]$$$operator==constTab& -->
<h3 class="fn" id="operator-eq-eq"><a name="operator-eq-eq"></a><span class="type">bool</span> Tab::<span class="name">operator==</span>(const <span class="type"><a href="qtextoption-tab.html#Tab">Tab</a></span> &amp;<i>other</i>) const</h3>
<p>Returns <code>true</code> if tab <i>other</i> is equal to this tab; otherwise returns <code>false</code>.</p>
<!-- @@@operator== -->
</div>
<div class="vars">
<h2>Member Variable Documentation</h2>
<!-- $$$delimiter -->
<h3 class="fn" id="delimiter-var"><a name="delimiter-var"></a><span class="type"><a href="../qtcore/qchar.html">QChar</a></span> Tab::<span class="name">delimiter</span></h3>
<p>If type is DelimitorTab; tab until this char is found in the text.</p>
<!-- @@@delimiter -->
<!-- $$$position -->
<h3 class="fn" id="position-var"><a name="position-var"></a><span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> Tab::<span class="name">position</span></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>
<!-- @@@position -->
<!-- $$$type -->
<h3 class="fn" id="type-var"><a name="type-var"></a><span class="type"><a href="qtextoption.html#TabType-enum">TabType</a></span> Tab::<span class="name">type</span></h3>
<p>Determine which type is used. In a paragraph that has layoutDirection() RightToLeft the type <a href="qtextoption.html#TabType-enum">LeftTab</a> will be interpreted to be a <a href="qtextoption.html#TabType-enum">RightTab</a> and vice versa.</p>
<!-- @@@type -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>