Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 1dd17e0d683ef79b4bb6872bbf359d7f > files > 6809

qt4-doc-4.8.7-26.2.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtextformat.cpp -->
  <title>Qt 4.8: QTextFrameFormat Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/style.css" />
  <script src="scripts/jquery.js" type="text/javascript"></script>
  <script src="scripts/functions.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/superfish.css" />
  <link rel="stylesheet" type="text/css" href="style/narrow.css" />
  <!--[if IE]>
<meta name="MSSmartTagsPreventParsing" content="true">
<meta http-equiv="imagetoolbar" content="no">
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
<![endif]-->

<script src="scripts/superfish.js" type="text/javascript"></script>
<script src="scripts/narrow.js" type="text/javascript"></script>

</head>
<body class="" onload="CheckEmptyAndLoadList();">
 <div class="header" id="qtdocheader">
    <div class="content"> 
    <div id="nav-logo">
      <a href="index.html">Home</a></div>
    <a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
    <div id="narrowsearch"></div>
    <div id="nav-topright">
      <ul>
        <li class="nav-topright-home"><a href="http://qt.digia.com/">Qt HOME</a></li>
        <li class="nav-topright-dev"><a href="http://qt-project.org/">DEV</a></li>
        <li class="nav-topright-doc nav-topright-doc-active"><a href="http://qt-project.org/doc/">
          DOC</a></li>
        <li class="nav-topright-blog"><a href="http://blog.qt.digia.com/">BLOG</a></li>
      </ul>
    </div>
    <div id="shortCut">
      <ul>
        <li class="shortCut-topleft-inactive"><span><a href="index.html">Qt 4.8</a></span></li>
        <li class="shortCut-topleft-active"><a href="http://qt-project.org/doc/">ALL VERSIONS        </a></li>
      </ul>
     </div>
 <ul class="sf-menu" id="narrowmenu"> 
             <li><a href="#">API Lookup</a> 
                 <ul> 
                     <li><a href="classes.html">Class index</a></li> 
           <li><a href="functions.html">Function index</a></li> 
           <li><a href="modules.html">Modules</a></li> 
           <li><a href="namespaces.html">Namespaces</a></li> 
           <li><a href="qtglobal.html">Global Declarations</a></li> 
           <li><a href="qdeclarativeelements.html">QML elements</a></li> 
             </ul> 
             </li> 
             <li><a href="#">Qt Topics</a> 
                 <ul> 
                        <li><a href="qt-basic-concepts.html">Programming with Qt</a></li>  
                        <li><a href="qtquick.html">Device UIs &amp; Qt Quick</a></li>  
                        <li><a href="qt-gui-concepts.html">UI Design with Qt</a></li>  
                        <li><a href="supported-platforms.html">Supported Platforms</a></li>  
                        <li><a href="technology-apis.html">Qt and Key Technologies</a></li>  
                        <li><a href="best-practices.html">How-To's and Best Practices</a></li>  
              </ul> 
                 </li> 
                 <li><a href="#">Examples</a> 
                     <ul> 
                       <li><a href="all-examples.html">Examples</a></li> 
                       <li><a href="tutorials.html">Tutorials</a></li> 
                       <li><a href="demos.html">Demos</a></li> 
                       <li><a href="qdeclarativeexamples.html">QML Examples</a></li> 
                </ul> 
                     </li> 
                 </ul> 
    </div>
  </div>
  <div class="wrapper">
    <div class="hd">
      <span></span>
    </div>
    <div class="bd group">
      <div class="sidebar">
        <div class="searchlabel">
          Search index:</div>
        <div class="search" id="sidebarsearch">
          <form id="qtdocsearch" action="" onsubmit="return false;">
            <fieldset>
              <input type="text" name="searchstring" id="pageType" value="" />
 <div id="resultdialog"> 
 <a href="#" id="resultclose">Close</a> 
 <p id="resultlinks" class="all"><a href="#" id="showallresults">All</a> | <a href="#" id="showapiresults">API</a> | <a href="#" id="showarticleresults">Articles</a> | <a href="#" id="showexampleresults">Examples</a></p> 
 <p id="searchcount" class="all"><span id="resultcount"></span><span id="apicount"></span><span id="articlecount"></span><span id="examplecount"></span>&nbsp;results:</p> 
 <ul id="resultlist" class="all"> 
 </ul> 
 </div> 
            </fieldset>
          </form>
        </div>
        <div class="box first bottombar" id="lookup">
          <h2 title="API Lookup"><span></span>
            API Lookup</h2>
          <div  id="list001" class="list">
          <ul id="ul001" >
              <li class="defaultLink"><a href="classes.html">Class index</a></li>
              <li class="defaultLink"><a href="functions.html">Function index</a></li>
              <li class="defaultLink"><a href="modules.html">Modules</a></li>
              <li class="defaultLink"><a href="namespaces.html">Namespaces</a></li>
              <li class="defaultLink"><a href="qtglobal.html">Global Declarations</a></li>
              <li class="defaultLink"><a href="qdeclarativeelements.html">QML elements</a></li>
            </ul> 
          </div>
        </div>
        <div class="box bottombar" id="topics">
          <h2 title="Qt Topics"><span></span>
            Qt Topics</h2>
          <div id="list002" class="list">
            <ul id="ul002" >
               <li class="defaultLink"><a href="qt-basic-concepts.html">Programming with Qt</a></li> 
               <li class="defaultLink"><a href="qtquick.html">Device UIs &amp; Qt Quick</a></li> 
               <li class="defaultLink"><a href="qt-gui-concepts.html">UI Design with Qt</a></li> 
               <li class="defaultLink"><a href="supported-platforms.html">Supported Platforms</a></li>  
               <li class="defaultLink"><a href="technology-apis.html">Qt and Key Technologies</a></li> 
               <li class="defaultLink"><a href="best-practices.html">How-To's and Best Practices</a></li> 
            </ul>  
          </div>
        </div>
        <div class="box" id="examples">
          <h2 title="Examples"><span></span>
            Examples</h2>
          <div id="list003" class="list">
        <ul id="ul003">
              <li class="defaultLink"><a href="all-examples.html">Examples</a></li>
              <li class="defaultLink"><a href="tutorials.html">Tutorials</a></li>
              <li class="defaultLink"><a href="demos.html">Demos</a></li>
              <li class="defaultLink"><a href="qdeclarativeexamples.html">QML Examples</a></li>
            </ul> 
          </div>
        </div>
      </div>
      <div class="wrap">
        <div class="toolbar">
          <div class="breadcrumb toolblock">
            <ul>
              <li class="first"><a href="index.html">Home</a></li>
              <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtgui.html">QtGui</a></li>
<li>QTextFrameFormat</li>
            </ul>
          </div>
          <div class="toolbuttons toolblock">
            <ul>
              <li id="smallA" class="t_button">A</li>
              <li id="medA" class="t_button active">A</li>
              <li id="bigA" class="t_button">A</li>
              <li id="print" class="t_button"><a href="javascript:this.print();">
                <span>Print</span></a></li>
            </ul>
        </div>
        </div>
        <div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QTextFrameFormat Class Reference</h1>
<!-- $$$QTextFrameFormat-brief -->
<p>The QTextFrameFormat class provides formatting information for frames in a <a href="qtextdocument.html">QTextDocument</a>. <a href="#details">More...</a></p>
<!-- @@@QTextFrameFormat -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QTextFrameFormat&gt;</span></pre><p><b>Inherits: </b><a href="qtextformat.html">QTextFormat</a>.</p>
<p><b>Inherited by: </b><a href="qtexttableformat.html">QTextTableFormat</a>.</p>
<p><b>Note:</b> All functions in this class are <a href="threads-reentrancy.html#reentrant">reentrant</a>.</p>
<ul>
<li><a href="qtextframeformat-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#BorderStyle-enum">BorderStyle</a></b> { BorderStyle_None, BorderStyle_Dotted, BorderStyle_Dashed, BorderStyle_Solid, ..., BorderStyle_Outset }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#Position-enum">Position</a></b> { InFlow, FloatLeft, FloatRight }</td></tr>
</table>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#QTextFrameFormat">QTextFrameFormat</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#border">border</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBrush </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#borderBrush">borderBrush</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> BorderStyle </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#borderStyle">borderStyle</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#bottomMargin">bottomMargin</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QTextLength </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#height">height</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#isValid">isValid</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#leftMargin">leftMargin</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#margin">margin</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#padding">padding</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> PageBreakFlags </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#pageBreakPolicy">pageBreakPolicy</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Position </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#position">position</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#rightMargin">rightMargin</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setBorder">setBorder</a></b> ( qreal <i>width</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setBorderBrush">setBorderBrush</a></b> ( const QBrush &amp; <i>brush</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setBorderStyle">setBorderStyle</a></b> ( BorderStyle <i>style</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setBottomMargin">setBottomMargin</a></b> ( qreal <i>margin</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setHeight">setHeight</a></b> ( const QTextLength &amp; <i>height</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setHeight-2">setHeight</a></b> ( qreal <i>height</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setLeftMargin">setLeftMargin</a></b> ( qreal <i>margin</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setMargin">setMargin</a></b> ( qreal <i>margin</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setPadding">setPadding</a></b> ( qreal <i>width</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setPageBreakPolicy">setPageBreakPolicy</a></b> ( PageBreakFlags <i>policy</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setPosition">setPosition</a></b> ( Position <i>policy</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setRightMargin">setRightMargin</a></b> ( qreal <i>margin</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setTopMargin">setTopMargin</a></b> ( qreal <i>margin</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setWidth">setWidth</a></b> ( const QTextLength &amp; <i>width</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#setWidth-2">setWidth</a></b> ( qreal <i>width</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#topMargin">topMargin</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QTextLength </td><td class="memItemRight bottomAlign"><b><a href="qtextframeformat.html#width">width</a></b> () const</td></tr>
</table>
<ul>
<li class="fn">49 public functions inherited from <a href="qtextformat.html#public-functions">QTextFormat</a></li>
</ul>
<a name="details"></a>
<!-- $$$QTextFrameFormat-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QTextFrameFormat class provides formatting information for frames in a <a href="qtextdocument.html">QTextDocument</a>.</p>
<p>A text frame groups together one or more blocks of text, providing a layer of structure larger than the paragraph. The format of a frame specifies how it is rendered and positioned on the screen. It does not directly specify the behavior of the text formatting within, but provides constraints on the layout of its children.</p>
<p>The frame format defines the <a href="qtextframeformat.html#width">width</a>() and <a href="qtextframeformat.html#height">height</a>() of the frame on the screen. Each frame can have a <a href="qtextframeformat.html#border">border</a>() that surrounds its contents with a rectangular box. The border is surrounded by a <a href="qtextframeformat.html#margin">margin</a>() around the frame, and the contents of the frame are kept separate from the border by the frame's <a href="qtextframeformat.html#padding">padding</a>(). This scheme is similar to the box model used by Cascading Style Sheets for HTML pages.</p>
<p class="centerAlign"><img src="images/qtextframe-style.png" alt="" /></p><p>The <a href="qtextframeformat.html#position">position</a>() of a frame is set using <a href="qtextframeformat.html#setPosition">setPosition</a>() and determines how it is located relative to the surrounding text.</p>
<p>The validity of a QTextFrameFormat object can be determined with the <a href="qtextframeformat.html#isValid">isValid</a>() function.</p>
</div>
<p><b>See also </b><a href="qtextframe.html">QTextFrame</a> and <a href="qtextblockformat.html">QTextBlockFormat</a>.</p>
<!-- @@@QTextFrameFormat -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$BorderStyle$$$BorderStyle_None$$$BorderStyle_Dotted$$$BorderStyle_Dashed$$$BorderStyle_Solid$$$BorderStyle_Double$$$BorderStyle_DotDash$$$BorderStyle_DotDotDash$$$BorderStyle_Groove$$$BorderStyle_Ridge$$$BorderStyle_Inset$$$BorderStyle_Outset -->
<h3 class="fn"><a name="BorderStyle-enum"></a>enum QTextFrameFormat::<span class="name">BorderStyle</span></h3>
<p>This enum describes different border styles for the text frame.</p>
<table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::BorderStyle_None</tt></td><td class="topAlign"><tt>0</tt></td></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::BorderStyle_Dotted</tt></td><td class="topAlign"><tt>1</tt></td></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::BorderStyle_Dashed</tt></td><td class="topAlign"><tt>2</tt></td></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::BorderStyle_Solid</tt></td><td class="topAlign"><tt>3</tt></td></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::BorderStyle_Double</tt></td><td class="topAlign"><tt>4</tt></td></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::BorderStyle_DotDash</tt></td><td class="topAlign"><tt>5</tt></td></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::BorderStyle_DotDotDash</tt></td><td class="topAlign"><tt>6</tt></td></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::BorderStyle_Groove</tt></td><td class="topAlign"><tt>7</tt></td></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::BorderStyle_Ridge</tt></td><td class="topAlign"><tt>8</tt></td></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::BorderStyle_Inset</tt></td><td class="topAlign"><tt>9</tt></td></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::BorderStyle_Outset</tt></td><td class="topAlign"><tt>10</tt></td></tr>
</table>
<p>This enum was introduced or modified in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#borderStyle">borderStyle</a>() and <a href="qtextformat.html#Property-enum">FrameBorderStyle</a>.</p>
<!-- @@@BorderStyle -->
<!-- $$$Position$$$InFlow$$$FloatLeft$$$FloatRight -->
<h3 class="fn"><a name="Position-enum"></a>enum QTextFrameFormat::<span class="name">Position</span></h3>
<p>This enum describes how a frame is located relative to the surrounding text.</p>
<table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::InFlow</tt></td><td class="topAlign"><tt>0</tt></td></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::FloatLeft</tt></td><td class="topAlign"><tt>1</tt></td></tr>
<tr><td class="topAlign"><tt>QTextFrameFormat::FloatRight</tt></td><td class="topAlign"><tt>2</tt></td></tr>
</table>
<p><b>See also </b><a href="qtextframeformat.html#position">position</a>() and <a href="qtextformat.html#Property-enum">CssFloat</a>.</p>
<!-- @@@Position -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QTextFrameFormat[overload1]$$$QTextFrameFormat -->
<h3 class="fn"><a name="QTextFrameFormat"></a>QTextFrameFormat::<span class="name">QTextFrameFormat</span> ()</h3>
<p>Constructs a text frame format object with the default properties.</p>
<!-- @@@QTextFrameFormat -->
<!-- $$$border[overload1]$$$border -->
<h3 class="fn"><a name="border"></a><span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> QTextFrameFormat::<span class="name">border</span> () const</h3>
<p>Returns the width of the border in pixels.</p>
<p><b>See also </b><a href="qtextframeformat.html#setBorder">setBorder</a>().</p>
<!-- @@@border -->
<!-- $$$borderBrush[overload1]$$$borderBrush -->
<h3 class="fn"><a name="borderBrush"></a><span class="type"><a href="qbrush.html">QBrush</a></span> QTextFrameFormat::<span class="name">borderBrush</span> () const</h3>
<p>Returns the brush used for the frame's border.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#setBorderBrush">setBorderBrush</a>().</p>
<!-- @@@borderBrush -->
<!-- $$$borderStyle[overload1]$$$borderStyle -->
<h3 class="fn"><a name="borderStyle"></a><span class="type"><a href="qtextframeformat.html#BorderStyle-enum">BorderStyle</a></span> QTextFrameFormat::<span class="name">borderStyle</span> () const</h3>
<p>Returns the style of the frame's border.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#setBorderStyle">setBorderStyle</a>().</p>
<!-- @@@borderStyle -->
<!-- $$$bottomMargin[overload1]$$$bottomMargin -->
<h3 class="fn"><a name="bottomMargin"></a><span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> QTextFrameFormat::<span class="name">bottomMargin</span> () const</h3>
<p>Returns the width of the frame's bottom margin in pixels.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#setBottomMargin">setBottomMargin</a>().</p>
<!-- @@@bottomMargin -->
<!-- $$$height[overload1]$$$height -->
<h3 class="fn"><a name="height"></a><span class="type"><a href="qtextlength.html">QTextLength</a></span> QTextFrameFormat::<span class="name">height</span> () const</h3>
<p>Returns the height of the frame's border rectangle.</p>
<p><b>See also </b><a href="qtextframeformat.html#setHeight">setHeight</a>().</p>
<!-- @@@height -->
<!-- $$$isValid[overload1]$$$isValid -->
<h3 class="fn"><a name="isValid"></a><span class="type">bool</span> QTextFrameFormat::<span class="name">isValid</span> () const</h3>
<p>Returns true if the format description is valid; otherwise returns false.</p>
<!-- @@@isValid -->
<!-- $$$leftMargin[overload1]$$$leftMargin -->
<h3 class="fn"><a name="leftMargin"></a><span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> QTextFrameFormat::<span class="name">leftMargin</span> () const</h3>
<p>Returns the width of the frame's left margin in pixels.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#setLeftMargin">setLeftMargin</a>().</p>
<!-- @@@leftMargin -->
<!-- $$$margin[overload1]$$$margin -->
<h3 class="fn"><a name="margin"></a><span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> QTextFrameFormat::<span class="name">margin</span> () const</h3>
<p>Returns the width of the frame's external margin in pixels.</p>
<p><b>See also </b><a href="qtextframeformat.html#setMargin">setMargin</a>().</p>
<!-- @@@margin -->
<!-- $$$padding[overload1]$$$padding -->
<h3 class="fn"><a name="padding"></a><span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> QTextFrameFormat::<span class="name">padding</span> () const</h3>
<p>Returns the width of the frame's internal padding in pixels.</p>
<p><b>See also </b><a href="qtextframeformat.html#setPadding">setPadding</a>().</p>
<!-- @@@padding -->
<!-- $$$pageBreakPolicy[overload1]$$$pageBreakPolicy -->
<h3 class="fn"><a name="pageBreakPolicy"></a><span class="type"><a href="qtextformat.html#PageBreakFlag-enum">PageBreakFlags</a></span> QTextFrameFormat::<span class="name">pageBreakPolicy</span> () const</h3>
<p>Returns the currently set page break policy for the frame/table. The default is <a href="qtextformat.html#PageBreakFlag-enum">QTextFormat::PageBreak_Auto</a>.</p>
<p>This function was introduced in Qt 4.2.</p>
<p><b>See also </b><a href="qtextframeformat.html#setPageBreakPolicy">setPageBreakPolicy</a>().</p>
<!-- @@@pageBreakPolicy -->
<!-- $$$position[overload1]$$$position -->
<h3 class="fn"><a name="position"></a><span class="type"><a href="qtextframeformat.html#Position-enum">Position</a></span> QTextFrameFormat::<span class="name">position</span> () const</h3>
<p>Returns the positioning policy for frames with this frame format.</p>
<p><b>See also </b><a href="qtextframeformat.html#setPosition">setPosition</a>().</p>
<!-- @@@position -->
<!-- $$$rightMargin[overload1]$$$rightMargin -->
<h3 class="fn"><a name="rightMargin"></a><span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> QTextFrameFormat::<span class="name">rightMargin</span> () const</h3>
<p>Returns the width of the frame's right margin in pixels.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#setRightMargin">setRightMargin</a>().</p>
<!-- @@@rightMargin -->
<!-- $$$setBorder[overload1]$$$setBorderqreal -->
<h3 class="fn"><a name="setBorder"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setBorder</span> ( <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>width</i> )</h3>
<p>Sets the <i>width</i> (in pixels) of the frame's border.</p>
<p><b>See also </b><a href="qtextframeformat.html#border">border</a>().</p>
<!-- @@@setBorder -->
<!-- $$$setBorderBrush[overload1]$$$setBorderBrushconstQBrush& -->
<h3 class="fn"><a name="setBorderBrush"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setBorderBrush</span> ( const <span class="type"><a href="qbrush.html">QBrush</a></span> &amp; <i>brush</i> )</h3>
<p>Sets the <i>brush</i> used for the frame's border.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#borderBrush">borderBrush</a>().</p>
<!-- @@@setBorderBrush -->
<!-- $$$setBorderStyle[overload1]$$$setBorderStyleBorderStyle -->
<h3 class="fn"><a name="setBorderStyle"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setBorderStyle</span> ( <span class="type"><a href="qtextframeformat.html#BorderStyle-enum">BorderStyle</a></span> <i>style</i> )</h3>
<p>Sets the <i>style</i> of the frame's border.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#borderStyle">borderStyle</a>().</p>
<!-- @@@setBorderStyle -->
<!-- $$$setBottomMargin[overload1]$$$setBottomMarginqreal -->
<h3 class="fn"><a name="setBottomMargin"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setBottomMargin</span> ( <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>margin</i> )</h3>
<p>Sets the frame's bottom <i>margin</i> in pixels.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#bottomMargin">bottomMargin</a>().</p>
<!-- @@@setBottomMargin -->
<!-- $$$setHeight[overload1]$$$setHeightconstQTextLength& -->
<h3 class="fn"><a name="setHeight"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setHeight</span> ( const <span class="type"><a href="qtextlength.html">QTextLength</a></span> &amp; <i>height</i> )</h3>
<p>Sets the frame's <i>height</i>.</p>
<p><b>See also </b><a href="qtextframeformat.html#height">height</a>().</p>
<!-- @@@setHeight -->
<!-- $$$setHeight$$$setHeightqreal -->
<h3 class="fn"><a name="setHeight-2"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setHeight</span> ( <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>height</i> )</h3>
<p>This is an overloaded function.</p>
<p>Sets the frame's <i>height</i>.</p>
<!-- @@@setHeight -->
<!-- $$$setLeftMargin[overload1]$$$setLeftMarginqreal -->
<h3 class="fn"><a name="setLeftMargin"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setLeftMargin</span> ( <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>margin</i> )</h3>
<p>Sets the frame's left <i>margin</i> in pixels.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#leftMargin">leftMargin</a>().</p>
<!-- @@@setLeftMargin -->
<!-- $$$setMargin[overload1]$$$setMarginqreal -->
<h3 class="fn"><a name="setMargin"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setMargin</span> ( <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>margin</i> )</h3>
<p>Sets the frame's <i>margin</i> in pixels. This method also sets the left, right, top and bottom margins of the frame to the same value. The individual margins override the general margin.</p>
<p><b>See also </b><a href="qtextframeformat.html#margin">margin</a>().</p>
<!-- @@@setMargin -->
<!-- $$$setPadding[overload1]$$$setPaddingqreal -->
<h3 class="fn"><a name="setPadding"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setPadding</span> ( <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>width</i> )</h3>
<p>Sets the <i>width</i> of the frame's internal padding in pixels.</p>
<p><b>See also </b><a href="qtextframeformat.html#padding">padding</a>().</p>
<!-- @@@setPadding -->
<!-- $$$setPageBreakPolicy[overload1]$$$setPageBreakPolicyPageBreakFlags -->
<h3 class="fn"><a name="setPageBreakPolicy"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setPageBreakPolicy</span> ( <span class="type"><a href="qtextformat.html#PageBreakFlag-enum">PageBreakFlags</a></span> <i>policy</i> )</h3>
<p>Sets the page break policy for the frame/table to <i>policy</i>.</p>
<p>This function was introduced in Qt 4.2.</p>
<p><b>See also </b><a href="qtextframeformat.html#pageBreakPolicy">pageBreakPolicy</a>().</p>
<!-- @@@setPageBreakPolicy -->
<!-- $$$setPosition[overload1]$$$setPositionPosition -->
<h3 class="fn"><a name="setPosition"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setPosition</span> ( <span class="type"><a href="qtextframeformat.html#Position-enum">Position</a></span> <i>policy</i> )</h3>
<p>Sets the <i>policy</i> for positioning frames with this frame format.</p>
<p><b>See also </b><a href="qtextframeformat.html#position">position</a>().</p>
<!-- @@@setPosition -->
<!-- $$$setRightMargin[overload1]$$$setRightMarginqreal -->
<h3 class="fn"><a name="setRightMargin"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setRightMargin</span> ( <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>margin</i> )</h3>
<p>Sets the frame's right <i>margin</i> in pixels.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#rightMargin">rightMargin</a>().</p>
<!-- @@@setRightMargin -->
<!-- $$$setTopMargin[overload1]$$$setTopMarginqreal -->
<h3 class="fn"><a name="setTopMargin"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setTopMargin</span> ( <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>margin</i> )</h3>
<p>Sets the frame's top <i>margin</i> in pixels.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#topMargin">topMargin</a>().</p>
<!-- @@@setTopMargin -->
<!-- $$$setWidth[overload1]$$$setWidthconstQTextLength& -->
<h3 class="fn"><a name="setWidth"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setWidth</span> ( const <span class="type"><a href="qtextlength.html">QTextLength</a></span> &amp; <i>width</i> )</h3>
<p>Sets the frame's border rectangle's <i>width</i>.</p>
<p><b>See also </b><a href="qtextframeformat.html#width">width</a>() and <a href="qtextlength.html">QTextLength</a>.</p>
<!-- @@@setWidth -->
<!-- $$$setWidth$$$setWidthqreal -->
<h3 class="fn"><a name="setWidth-2"></a><span class="type">void</span> QTextFrameFormat::<span class="name">setWidth</span> ( <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> <i>width</i> )</h3>
<p>This is an overloaded function.</p>
<p>Convenience method that sets the width of the frame's border rectangle's width to the specified fixed <i>width</i>.</p>
<!-- @@@setWidth -->
<!-- $$$topMargin[overload1]$$$topMargin -->
<h3 class="fn"><a name="topMargin"></a><span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span> QTextFrameFormat::<span class="name">topMargin</span> () const</h3>
<p>Returns the width of the frame's top margin in pixels.</p>
<p>This function was introduced in Qt 4.3.</p>
<p><b>See also </b><a href="qtextframeformat.html#setTopMargin">setTopMargin</a>().</p>
<!-- @@@topMargin -->
<!-- $$$width[overload1]$$$width -->
<h3 class="fn"><a name="width"></a><span class="type"><a href="qtextlength.html">QTextLength</a></span> QTextFrameFormat::<span class="name">width</span> () const</h3>
<p>Returns the width of the frame's border rectangle.</p>
<p><b>See also </b><a href="qtextframeformat.html#setWidth">setWidth</a>() and <a href="qtextlength.html">QTextLength</a>.</p>
<!-- @@@width -->
</div>
      </div>
    </div>
    </div> 
    <div class="ft">
      <span></span>
    </div>
  </div> 
  <div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2015 The Qt Company Ltd.
      Documentation contributions included herein are the copyrights of
      their respective owners.</p>
    <br />
    <p>
      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.</p>
    <p>
      Documentation sources may be obtained from <a href="http://www.qt-project.org">
      www.qt-project.org</a>.</p>
    <br />
    <p>
      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. <a title="Privacy Policy"
      href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
  </div>

  <script src="scripts/functions.js" type="text/javascript"></script>
</body>
</html>