Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > ff187cb994c94c614ecc64c5a8528b1b > files > 5469

qt-doc-4.8.5-10.fc18.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" />
<!-- qgridlayout.cpp -->
  <title>Qt 4.8: Qt 3 Support Members for QGridLayout</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>QGridLayout</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">
<h1 class="title">Qt 3 Support Members for QGridLayout</h1>
<p><b>The following class members are part of the <a href="qt3support.html">Qt 3 support layer</a>.</b> They are provided to help you port old code to Qt 4. We advise against using them in new code.</p>
<p><ul><li><a href="qgridlayout.html">QGridLayout class reference</a></li></ul></p>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#QGridLayout-3">QGridLayout</a></b> ( QWidget * <i>parent</i>, int <i>nRows</i>, int <i>nCols</i> = 1, int <i>margin</i> = 0, int <i>space</i> = -1, const char * <i>name</i> = 0 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#QGridLayout-4">QGridLayout</a></b> ( int <i>nRows</i>, int <i>nCols</i> = 1, int <i>spacing</i> = -1, const char * <i>name</i> = 0 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#QGridLayout-5">QGridLayout</a></b> ( QLayout * <i>parentLayout</i>, int <i>nRows</i> = 1, int <i>nCols</i> = 1, int <i>spacing</i> = -1, const char * <i>name</i> = 0 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#addColSpacing">addColSpacing</a></b> ( int <i>col</i>, int <i>minsize</i> )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#addMultiCell">addMultiCell</a></b> ( QLayoutItem * <i>l</i>, int <i>fromRow</i>, int <i>toRow</i>, int <i>fromCol</i>, int <i>toCol</i>, Qt::Alignment <i>align</i> = 0 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#addMultiCellLayout">addMultiCellLayout</a></b> ( QLayout * <i>layout</i>, int <i>fromRow</i>, int <i>toRow</i>, int <i>fromCol</i>, int <i>toCol</i>, Qt::Alignment <i>align</i> = 0 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#addMultiCellWidget">addMultiCellWidget</a></b> ( QWidget * <i>widget</i>, int <i>fromRow</i>, int <i>toRow</i>, int <i>fromCol</i>, int <i>toCol</i>, Qt::Alignment <i>align</i> = 0 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#addRowSpacing">addRowSpacing</a></b> ( int <i>row</i>, int <i>minsize</i> )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> QRect </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#cellGeometry">cellGeometry</a></b> ( int <i>row</i>, int <i>column</i> ) const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#colSpacing">colSpacing</a></b> ( int <i>col</i> ) const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#colStretch">colStretch</a></b> ( int <i>col</i> ) const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#expand">expand</a></b> ( int <i>nRows</i>, int <i>nCols</i> )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#numCols">numCols</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#numRows">numRows</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> Qt::Corner </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#origin">origin</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#rowSpacing">rowSpacing</a></b> ( int <i>row</i> ) const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#setColSpacing">setColSpacing</a></b> ( int <i>col</i>, int <i>minSize</i> )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#setColStretch">setColStretch</a></b> ( int <i>col</i>, int <i>stretch</i> )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#setOrigin">setOrigin</a></b> ( Qt::Corner <i>corner</i> )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#setRowSpacing">setRowSpacing</a></b> ( int <i>row</i>, int <i>minSize</i> )</td></tr>
</table>
<ul>
<li class="fn">11 public functions inherited from <a href="qlayout.html#public-functions">QLayout</a></li>
<li class="fn">8 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
</ul>
<h2>Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgridlayout-qt3.html#findWidget">findWidget</a></b> ( QWidget * <i>w</i>, int * <i>row</i>, int * <i>column</i> )</td></tr>
</table>
<ul>
<li class="fn">1 protected function inherited from <a href="qlayout.html#protected-functions">QLayout</a></li>
<li class="fn">1 protected function inherited from <a href="qobject.html#protected-functions">QObject</a></li>
</ul>
<h2>Member Function Documentation</h2>
<!-- $$$QGridLayout$$$QGridLayoutQWidget*intintintintconstchar* -->
<h3 class="fn"><a name="QGridLayout-3"></a>QGridLayout::<span class="name">QGridLayout</span> ( <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>parent</i>, <span class="type">int</span> <i>nRows</i>, <span class="type">int</span> <i>nCols</i> = 1, <span class="type">int</span> <i>margin</i> = 0, <span class="type">int</span> <i>space</i> = -1, const <span class="type">char</span> * <i>name</i> = 0 )</h3>
<p>Constructs a new <a href="qgridlayout.html">QGridLayout</a> with <i>nRows</i> rows, <i>nCols</i> columns and parent widget, <i>parent</i>. <i>parent</i> may not be 0. The grid layout is called <i>name</i>.</p>
<p><i>margin</i> is the number of pixels between the edge of the widget and its managed children. <i>space</i> is the default number of pixels between cells. If <i>space</i> is -1, the value of <i>margin</i> is used.</p>
<!-- @@@QGridLayout -->
<!-- $$$QGridLayout$$$QGridLayoutintintintconstchar* -->
<h3 class="fn"><a name="QGridLayout-4"></a>QGridLayout::<span class="name">QGridLayout</span> ( <span class="type">int</span> <i>nRows</i>, <span class="type">int</span> <i>nCols</i> = 1, <span class="type">int</span> <i>spacing</i> = -1, const <span class="type">char</span> * <i>name</i> = 0 )</h3>
<p>Constructs a new grid with <i>nRows</i> rows and <i>nCols</i> columns. If <i>spacing</i> is -1, this <a href="qgridlayout.html">QGridLayout</a> inherits its parent's <a href="qgridlayout.html#spacing">spacing</a>(); otherwise <i>spacing</i> is used. The grid layout is called <i>name</i>.</p>
<p>You must insert this grid into another layout. You can insert widgets and layouts into this layout at any time, but laying out will not be performed before this is inserted into another layout.</p>
<!-- @@@QGridLayout -->
<!-- $$$QGridLayout$$$QGridLayoutQLayout*intintintconstchar* -->
<h3 class="fn"><a name="QGridLayout-5"></a>QGridLayout::<span class="name">QGridLayout</span> ( <span class="type"><a href="qlayout.html">QLayout</a></span> * <i>parentLayout</i>, <span class="type">int</span> <i>nRows</i> = 1, <span class="type">int</span> <i>nCols</i> = 1, <span class="type">int</span> <i>spacing</i> = -1, const <span class="type">char</span> * <i>name</i> = 0 )</h3>
<p>Constructs a new grid with <i>nRows</i> rows and <i>nCols</i> columns. If <i>spacing</i> is -1, this <a href="qgridlayout.html">QGridLayout</a> inherits its parent's <a href="qgridlayout.html#spacing">spacing</a>(); otherwise <i>spacing</i> is used. The grid layout is called <i>name</i>.</p>
<p>You must insert this grid into another layout. You can insert widgets and layouts into this layout at any time, but laying out will not be performed before this is inserted into another layout.</p>
<!-- @@@QGridLayout -->
<!-- $$$addColSpacing[overload1]$$$addColSpacingintint -->
<h3 class="fn"><a name="addColSpacing"></a><span class="type">void</span> QGridLayout::<span class="name">addColSpacing</span> ( <span class="type">int</span> <i>col</i>, <span class="type">int</span> <i>minsize</i> )</h3>
<p>Use addItem(new <a href="qspaceritem.html">QSpacerItem</a>(minsize, 0), 0, col) instead.</p>
<!-- @@@addColSpacing -->
<!-- $$$addMultiCell[overload1]$$$addMultiCellQLayoutItem*intintintintQt::Alignment -->
<h3 class="fn"><a name="addMultiCell"></a><span class="type">void</span> QGridLayout::<span class="name">addMultiCell</span> ( <span class="type"><a href="qlayoutitem.html">QLayoutItem</a></span> * <i>l</i>, <span class="type">int</span> <i>fromRow</i>, <span class="type">int</span> <i>toRow</i>, <span class="type">int</span> <i>fromCol</i>, <span class="type">int</span> <i>toCol</i>, <span class="type"><a href="qt.html#AlignmentFlag-enum">Qt::Alignment</a></span> <i>align</i> = 0 )</h3>
<p>Use an <a href="qgridlayout.html#addItem">addItem</a>() overload that allows you to specify row and column spans instead.</p>
<!-- @@@addMultiCell -->
<!-- $$$addMultiCellLayout[overload1]$$$addMultiCellLayoutQLayout*intintintintQt::Alignment -->
<h3 class="fn"><a name="addMultiCellLayout"></a><span class="type">void</span> QGridLayout::<span class="name">addMultiCellLayout</span> ( <span class="type"><a href="qlayout.html">QLayout</a></span> * <i>layout</i>, <span class="type">int</span> <i>fromRow</i>, <span class="type">int</span> <i>toRow</i>, <span class="type">int</span> <i>fromCol</i>, <span class="type">int</span> <i>toCol</i>, <span class="type"><a href="qt.html#AlignmentFlag-enum">Qt::Alignment</a></span> <i>align</i> = 0 )</h3>
<p>Use an <a href="qgridlayout.html#addLayout">addLayout</a>() overload that allows you to specify row and column spans instead.</p>
<!-- @@@addMultiCellLayout -->
<!-- $$$addMultiCellWidget[overload1]$$$addMultiCellWidgetQWidget*intintintintQt::Alignment -->
<h3 class="fn"><a name="addMultiCellWidget"></a><span class="type">void</span> QGridLayout::<span class="name">addMultiCellWidget</span> ( <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>widget</i>, <span class="type">int</span> <i>fromRow</i>, <span class="type">int</span> <i>toRow</i>, <span class="type">int</span> <i>fromCol</i>, <span class="type">int</span> <i>toCol</i>, <span class="type"><a href="qt.html#AlignmentFlag-enum">Qt::Alignment</a></span> <i>align</i> = 0 )</h3>
<p>Use an <a href="qgridlayout.html#addWidget">addWidget</a>() overload that allows you to specify row and column spans instead.</p>
<!-- @@@addMultiCellWidget -->
<!-- $$$addRowSpacing[overload1]$$$addRowSpacingintint -->
<h3 class="fn"><a name="addRowSpacing"></a><span class="type">void</span> QGridLayout::<span class="name">addRowSpacing</span> ( <span class="type">int</span> <i>row</i>, <span class="type">int</span> <i>minsize</i> )</h3>
<p>Use addItem(new <a href="qspaceritem.html">QSpacerItem</a>(0, minsize), row, 0) instead.</p>
<!-- @@@addRowSpacing -->
<!-- $$$cellGeometry[overload1]$$$cellGeometryintint -->
<h3 class="fn"><a name="cellGeometry"></a><span class="type"><a href="qrect.html">QRect</a></span> QGridLayout::<span class="name">cellGeometry</span> ( <span class="type">int</span> <i>row</i>, <span class="type">int</span> <i>column</i> ) const</h3>
<p>Use cellRect(<i>row</i>, <i>column</i>) instead.</p>
<!-- @@@cellGeometry -->
<!-- $$$colSpacing[overload1]$$$colSpacingint -->
<h3 class="fn"><a name="colSpacing"></a><span class="type">int</span> QGridLayout::<span class="name">colSpacing</span> ( <span class="type">int</span> <i>col</i> ) const</h3>
<p>Use <a href="qgridlayout.html#columnMinimumWidth">columnMinimumWidth</a>() instead.</p>
<p><b>See also </b><a href="qgridlayout-qt3.html#setColSpacing">setColSpacing</a>().</p>
<!-- @@@colSpacing -->
<!-- $$$colStretch[overload1]$$$colStretchint -->
<h3 class="fn"><a name="colStretch"></a><span class="type">int</span> QGridLayout::<span class="name">colStretch</span> ( <span class="type">int</span> <i>col</i> ) const</h3>
<p>Use <a href="qgridlayout.html#columnStretch">columnStretch</a>() instead.</p>
<p><b>See also </b><a href="qgridlayout-qt3.html#setColStretch">setColStretch</a>().</p>
<!-- @@@colStretch -->
<!-- $$$expand[overload1]$$$expandintint -->
<h3 class="fn"><a name="expand"></a><span class="type">void</span> QGridLayout::<span class="name">expand</span> ( <span class="type">int</span> <i>nRows</i>, <span class="type">int</span> <i>nCols</i> )</h3>
<p>Expands this grid so that it will have <i>nRows</i> rows and <i>nCols</i> columns. Will not shrink the grid. You should not need to call this function because <a href="qgridlayout.html">QGridLayout</a> expands automatically as new items are inserted.</p>
<!-- @@@expand -->
<!-- $$$findWidget[overload1]$$$findWidgetQWidget*int*int* -->
<h3 class="fn"><a name="findWidget"></a><span class="type">bool</span> QGridLayout::<span class="name">findWidget</span> ( <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>w</i>, <span class="type">int</span> * <i>row</i>, <span class="type">int</span> * <i>column</i> )<tt> [protected]</tt></h3>
<p>Searches for widget <i>w</i> in this layout (not including child layouts). If <i>w</i> is found, it sets <tt>*</tt><i>row</i> and <tt>*</tt><i>column</i> to the row and column that the widget occupies and returns true; otherwise returns false.</p>
<p>If the widget spans multiple rows/columns, the top-left cell is returned.</p>
<p>Use <a href="qlayout.html#indexOf">indexOf</a>() and <a href="qgridlayout.html#getItemPosition">getItemPosition</a>() instead.</p>
<!-- @@@findWidget -->
<!-- $$$numCols[overload1]$$$numCols -->
<h3 class="fn"><a name="numCols"></a><span class="type">int</span> QGridLayout::<span class="name">numCols</span> () const</h3>
<p>Use <a href="qgridlayout.html#columnCount">columnCount</a>() instead.</p>
<!-- @@@numCols -->
<!-- $$$numRows[overload1]$$$numRows -->
<h3 class="fn"><a name="numRows"></a><span class="type">int</span> QGridLayout::<span class="name">numRows</span> () const</h3>
<p>Use <a href="qgridlayout.html#rowCount">rowCount</a>() instead.</p>
<!-- @@@numRows -->
<!-- $$$origin[overload1]$$$origin -->
<h3 class="fn"><a name="origin"></a><span class="type"><a href="qt.html#Corner-enum">Qt::Corner</a></span> QGridLayout::<span class="name">origin</span> () const</h3>
<p>Use <a href="qgridlayout.html#originCorner">originCorner</a>() instead.</p>
<p><b>See also </b><a href="qgridlayout-qt3.html#setOrigin">setOrigin</a>().</p>
<!-- @@@origin -->
<!-- $$$rowSpacing[overload1]$$$rowSpacingint -->
<h3 class="fn"><a name="rowSpacing"></a><span class="type">int</span> QGridLayout::<span class="name">rowSpacing</span> ( <span class="type">int</span> <i>row</i> ) const</h3>
<p>Use rowMinimumHeight(<i>row</i>) instead.</p>
<p><b>See also </b><a href="qgridlayout-qt3.html#setRowSpacing">setRowSpacing</a>().</p>
<!-- @@@rowSpacing -->
<!-- $$$setColSpacing[overload1]$$$setColSpacingintint -->
<h3 class="fn"><a name="setColSpacing"></a><span class="type">void</span> QGridLayout::<span class="name">setColSpacing</span> ( <span class="type">int</span> <i>col</i>, <span class="type">int</span> <i>minSize</i> )</h3>
<p>Use <a href="qgridlayout.html#setColumnMinimumWidth">setColumnMinimumWidth</a>() instead.</p>
<p><b>See also </b><a href="qgridlayout-qt3.html#colSpacing">colSpacing</a>().</p>
<!-- @@@setColSpacing -->
<!-- $$$setColStretch[overload1]$$$setColStretchintint -->
<h3 class="fn"><a name="setColStretch"></a><span class="type">void</span> QGridLayout::<span class="name">setColStretch</span> ( <span class="type">int</span> <i>col</i>, <span class="type">int</span> <i>stretch</i> )</h3>
<p>Use <a href="qgridlayout.html#setColumnStretch">setColumnStretch</a>() instead.</p>
<p><b>See also </b><a href="qgridlayout-qt3.html#colStretch">colStretch</a>().</p>
<!-- @@@setColStretch -->
<!-- $$$setOrigin[overload1]$$$setOriginQt::Corner -->
<h3 class="fn"><a name="setOrigin"></a><span class="type">void</span> QGridLayout::<span class="name">setOrigin</span> ( <span class="type"><a href="qt.html#Corner-enum">Qt::Corner</a></span> <i>corner</i> )</h3>
<p>Use setOriginCorner(<i>corner</i>) instead.</p>
<p><b>See also </b><a href="qgridlayout-qt3.html#origin">origin</a>().</p>
<!-- @@@setOrigin -->
<!-- $$$setRowSpacing[overload1]$$$setRowSpacingintint -->
<h3 class="fn"><a name="setRowSpacing"></a><span class="type">void</span> QGridLayout::<span class="name">setRowSpacing</span> ( <span class="type">int</span> <i>row</i>, <span class="type">int</span> <i>minSize</i> )</h3>
<p>Use setRowMinimumHeight(<i>row</i>, <i>minSize</i>) instead.</p>
<p><b>See also </b><a href="qgridlayout-qt3.html#rowSpacing">rowSpacing</a>().</p>
<!-- @@@setRowSpacing -->
      </div>
    </div>
    </div> 
    <div class="ft">
      <span></span>
    </div>
  </div> 
  <div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2013 Digia Plc and/or its
      subsidiaries. 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>
      Digia, Qt and their respective logos are trademarks of Digia Plc 
      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>