Sophie

Sophie

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

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" />
<!-- q3groupbox.cpp -->
  <title>Qt 4.8: Q3GroupBox 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>Qt3SupportLight</li>
<li>Q3GroupBox</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="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">Q3GroupBox Class Reference</h1>
<!-- $$$Q3GroupBox-brief -->
<p>The Q3GroupBox widget provides a group box frame with a title. <a href="#details">More...</a></p>
<!-- @@@Q3GroupBox -->
<pre class="cpp"> <span class="preprocessor">#include &lt;Q3GroupBox&gt;</span></pre><p><b>This class is part of the Qt 3 support library.</b> It is provided to keep old source code working. We strongly advise against using it in new code. See <a href="porting4.html#qgroupbox">Porting to Qt 4</a> for more information.</p>
<p><b>Inherits: </b><a href="qgroupbox.html">QGroupBox</a>.</p>
<p><b>Inherited by: </b><a href="q3buttongroup.html">Q3ButtonGroup</a>, <a href="q3hgroupbox.html">Q3HGroupBox</a>, and <a href="q3vgroupbox.html">Q3VGroupBox</a>.</p>
<ul>
<li><a href="q3groupbox-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="q3groupbox.html#columns-prop">columns</a></b> : int</li>
<li class="fn"><b><a href="q3groupbox.html#frameRect-prop">frameRect</a></b> : const QRect</li>
<li class="fn"><b><a href="q3groupbox.html#frameShadow-prop">frameShadow</a></b> : FrameShape</li>
<li class="fn"><b><a href="q3groupbox.html#frameShape-prop">frameShape</a></b> : FrameShape</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="q3groupbox.html#lineWidth-prop">lineWidth</a></b> : int</li>
<li class="fn"><b><a href="q3groupbox.html#margin-prop">margin</a></b> : int</li>
<li class="fn"><b><a href="q3groupbox.html#midLineWidth-prop">midLineWidth</a></b> : int</li>
<li class="fn"><b><a href="q3groupbox.html#orientation-prop">orientation</a></b> : Qt::Orientation</li>
</ul>
</td></tr>
</table>
<ul>
<li class="fn">5 properties inherited from <a href="qgroupbox.html#properties">QGroupBox</a></li>
<li class="fn">58 properties inherited from <a href="qwidget.html#properties">QWidget</a></li>
<li class="fn">1 property inherited from <a href="qobject.html#properties">QObject</a></li>
</ul>
<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="q3groupbox.html#Q3GroupBox">Q3GroupBox</a></b> ( QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#Q3GroupBox-2">Q3GroupBox</a></b> ( const QString &amp; <i>title</i>, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#Q3GroupBox-3">Q3GroupBox</a></b> ( int <i>strips</i>, Qt::Orientation <i>orientation</i>, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#Q3GroupBox-4">Q3GroupBox</a></b> ( int <i>strips</i>, Qt::Orientation <i>orientation</i>, const QString &amp; <i>title</i>, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#dtor.Q3GroupBox">~Q3GroupBox</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#addSpace">addSpace</a></b> ( int <i>size</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#columns-prop">columns</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> FrameShape </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#frameShadow-prop">frameShadow</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> FrameShape </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#frameShape-prop">frameShape</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#frameStyle">frameStyle</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#insideMargin">insideMargin</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#insideSpacing">insideSpacing</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#lineWidth-prop">lineWidth</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#margin-prop">margin</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#midLineWidth-prop">midLineWidth</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Qt::Orientation </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#orientation-prop">orientation</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#setColumnLayout">setColumnLayout</a></b> ( int <i>strips</i>, Qt::Orientation <i>direction</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#columns-prop">setColumns</a></b> ( int )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#frameShadow-prop">setFrameShadow</a></b> ( FrameShape )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#frameShape-prop">setFrameShape</a></b> ( FrameShape )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#setFrameStyle">setFrameStyle</a></b> ( int <i>style</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#setInsideMargin">setInsideMargin</a></b> ( int <i>m</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#setInsideSpacing">setInsideSpacing</a></b> ( int <i>s</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#lineWidth-prop">setLineWidth</a></b> ( int )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#margin-prop">setMargin</a></b> ( int <i>margin</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#midLineWidth-prop">setMidLineWidth</a></b> ( int )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#orientation-prop">setOrientation</a></b> ( Qt::Orientation )</td></tr>
</table>
<ul>
<li class="fn">10 public functions inherited from <a href="qgroupbox.html#public-functions">QGroupBox</a></li>
<li class="fn">221 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
<li class="fn">29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
<li class="fn">13 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
</ul>
<a name="reimplemented-protected-functions"></a>
<h2>Reimplemented Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#changeEvent">changeEvent</a></b> ( QEvent * <i>ev</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#childEvent">childEvent</a></b> ( QChildEvent * <i>c</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#event">event</a></b> ( QEvent * <i>e</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="q3groupbox.html#resizeEvent">resizeEvent</a></b> ( QResizeEvent * <i>e</i> )</td></tr>
</table>
<ul>
<li class="fn">10 protected functions inherited from <a href="qgroupbox.html#protected-functions">QGroupBox</a></li>
<li class="fn">37 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
<li class="fn">8 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
<li class="fn">1 protected function inherited from <a href="qpaintdevice.html#protected-functions">QPaintDevice</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 public slot inherited from <a href="qgroupbox.html#public-slots">QGroupBox</a></li>
<li class="fn">19 public slots inherited from <a href="qwidget.html#public-slots">QWidget</a></li>
<li class="fn">1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
<li class="fn">2 signals inherited from <a href="qgroupbox.html#signals">QGroupBox</a></li>
<li class="fn">1 signal inherited from <a href="qwidget.html#signals">QWidget</a></li>
<li class="fn">1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
<li class="fn">4 static public members inherited from <a href="qwidget.html#static-public-members">QWidget</a></li>
<li class="fn">7 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
<li class="fn">10 protected functions inherited from <a href="qgroupbox.html#protected-functions">QGroupBox</a></li>
<li class="fn">37 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
<li class="fn">8 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
<li class="fn">1 protected function inherited from <a href="qpaintdevice.html#protected-functions">QPaintDevice</a></li>
<li class="fn">1 protected slot inherited from <a href="qwidget.html#protected-slots">QWidget</a></li>
</ul>
<a name="details"></a>
<!-- $$$Q3GroupBox-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The Q3GroupBox widget provides a group box frame with a title.</p>
<p>A group box provides a frame, a title and a keyboard shortcut, and displays various other widgets inside itself. The title is on top, the keyboard shortcut moves keyboard focus to one of the group box's child widgets, and the child widgets are usually laid out horizontally (or vertically) inside the frame.</p>
<p>The simplest way to use it is to create a group box with the desired number of columns (or rows) and orientation, and then just create widgets with the group box as parent.</p>
<p>It is also possible to change the <a href="q3groupbox.html#orientation-prop">orientation</a>() and number of <a href="q3groupbox.html#columns-prop">columns</a>() after construction, or to ignore all the automatic layout support and manage the layout yourself. You can add 'empty' spaces to the group box with <a href="q3groupbox.html#addSpace">addSpace</a>().</p>
<p>Q3GroupBox also lets you set the <a href="qgroupbox.html#title-prop">title</a>() (normally set in the constructor) and the title's <a href="qgroupbox.html#alignment-prop">alignment</a>().</p>
<p>You can change the spacing used by the group box with <a href="q3groupbox.html#setInsideMargin">setInsideMargin</a>() and <a href="q3groupbox.html#setInsideSpacing">setInsideSpacing</a>(). To minimize space consumption, you can remove the right, left and bottom edges of the frame with <a href="qgroupbox.html#flat-prop">setFlat</a>().</p>
</div>
<p><b>See also </b><a href="qbuttongroup.html">QButtonGroup</a>.</p>
<!-- @@@Q3GroupBox -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$columns-prop$$$columns$$$setColumnsint -->
<h3 class="fn"><a name="columns-prop"></a><span class="name">columns</span> : <span class="type">int</span></h3>
<p>This property holds the number of columns or rows (depending on Q3GroupBox::orientation) in the group box.</p>
<p>Usually it is not a good idea to set this property because it is slow (it does a complete layout). It is best to set the number of columns directly in the constructor.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>columns</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setColumns</b></span> ( int )</td></tr>
</table>
<!-- @@@columns -->
<!-- $$$frameRect-prop -->
<h3 class="fn"><a name="frameRect-prop"></a><span class="name">frameRect</span> : const <span class="type"><a href="qrect.html">QRect</a></span></h3>
<p>This property holds the bounding rectangle of the frame of the group box.</p>
<!-- @@@frameRect -->
<!-- $$$frameShadow-prop$$$frameShadow$$$setFrameShadowFrameShape -->
<h3 class="fn"><a name="frameShadow-prop"></a><span class="name">frameShadow</span> : <span class="type">FrameShape</span></h3>
<p>This property holds the frame shadow value from the frame style.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> FrameShape </td><td class="memItemRight bottomAlign"><span class="name"><b>frameShadow</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setFrameShadow</b></span> ( FrameShape )</td></tr>
</table>
<p><b>See also </b><a href="q3groupbox.html#frameStyle">frameStyle</a>().</p>
<!-- @@@frameShadow -->
<!-- $$$frameShape-prop$$$frameShape$$$setFrameShapeFrameShape -->
<h3 class="fn"><a name="frameShape-prop"></a><span class="name">frameShape</span> : <span class="type">FrameShape</span></h3>
<p>This property holds the frame shape value from the frame style.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> FrameShape </td><td class="memItemRight bottomAlign"><span class="name"><b>frameShape</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setFrameShape</b></span> ( FrameShape )</td></tr>
</table>
<p><b>See also </b><a href="q3groupbox.html#frameStyle">frameStyle</a>() and <a href="q3groupbox.html#frameShadow-prop">frameShadow</a>().</p>
<!-- @@@frameShape -->
<!-- $$$lineWidth-prop$$$lineWidth$$$setLineWidthint -->
<h3 class="fn"><a name="lineWidth-prop"></a><span class="name">lineWidth</span> : <span class="type">int</span></h3>
<p>This property holds this property holds the width of the line.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>lineWidth</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLineWidth</b></span> ( int )</td></tr>
</table>
<p><b>See also </b><a href="q3groupbox.html#frameStyle">frameStyle</a>() and <a href="q3groupbox.html#frameShadow-prop">frameShadow</a>().</p>
<!-- @@@lineWidth -->
<!-- $$$margin-prop$$$margin$$$setMarginint -->
<h3 class="fn"><a name="margin-prop"></a><span class="name">margin</span> : <span class="type">int</span></h3>
<p>This property holds the width of the margin around the contents of the group box.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>margin</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setMargin</b></span> ( int <i>margin</i> )</td></tr>
</table>
<!-- @@@margin -->
<!-- $$$midLineWidth-prop$$$midLineWidth$$$setMidLineWidthint -->
<h3 class="fn"><a name="midLineWidth-prop"></a><span class="name">midLineWidth</span> : <span class="type">int</span></h3>
<p>This property holds this property holds the width of the mid-line.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>midLineWidth</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setMidLineWidth</b></span> ( int )</td></tr>
</table>
<p><b>See also </b><a href="q3groupbox.html#frameStyle">frameStyle</a>() and <a href="q3groupbox.html#frameShadow-prop">frameShadow</a>().</p>
<!-- @@@midLineWidth -->
<!-- $$$orientation-prop$$$orientation$$$setOrientationQt::Orientation -->
<h3 class="fn"><a name="orientation-prop"></a><span class="name">orientation</span> : <span class="type"><a href="qt.html#Orientation-enum">Qt::Orientation</a></span></h3>
<p>This property holds the group box's orientation.</p>
<p>A horizontal group box arranges its children in columns, while a vertical group box arranges them in rows.</p>
<p>Usually it is not a good idea to set this property because it is slow (it does a complete layout). It is better to set the orientation directly in the constructor.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> Qt::Orientation </td><td class="memItemRight bottomAlign"><span class="name"><b>orientation</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setOrientation</b></span> ( Qt::Orientation )</td></tr>
</table>
<!-- @@@orientation -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$Q3GroupBox[overload1]$$$Q3GroupBoxQWidget*constchar* -->
<h3 class="fn"><a name="Q3GroupBox"></a>Q3GroupBox::<span class="name">Q3GroupBox</span> ( <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>parent</i> = 0, const <span class="type">char</span> * <i>name</i> = 0 )</h3>
<p>Constructs a group box widget with no title.</p>
<p>The <i>parent</i> and <i>name</i> arguments are passed to the <a href="qwidget.html">QWidget</a> constructor.</p>
<p>This constructor does not do automatic layout.</p>
<!-- @@@Q3GroupBox -->
<!-- $$$Q3GroupBox$$$Q3GroupBoxconstQString&QWidget*constchar* -->
<h3 class="fn"><a name="Q3GroupBox-2"></a>Q3GroupBox::<span class="name">Q3GroupBox</span> ( const <span class="type"><a href="qstring.html">QString</a></span> &amp; <i>title</i>, <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>parent</i> = 0, const <span class="type">char</span> * <i>name</i> = 0 )</h3>
<p>Constructs a group box with the title <i>title</i>.</p>
<p>The <i>parent</i> and <i>name</i> arguments are passed to the <a href="qwidget.html">QWidget</a> constructor.</p>
<p>This constructor does not do automatic layout.</p>
<!-- @@@Q3GroupBox -->
<!-- $$$Q3GroupBox$$$Q3GroupBoxintQt::OrientationQWidget*constchar* -->
<h3 class="fn"><a name="Q3GroupBox-3"></a>Q3GroupBox::<span class="name">Q3GroupBox</span> ( <span class="type">int</span> <i>strips</i>, <span class="type"><a href="qt.html#Orientation-enum">Qt::Orientation</a></span> <i>orientation</i>, <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>parent</i> = 0, const <span class="type">char</span> * <i>name</i> = 0 )</h3>
<p>Constructs a group box with no title. Child widgets will be arranged in <i>strips</i> rows or columns (depending on <i>orientation</i>).</p>
<p>The <i>parent</i> and <i>name</i> arguments are passed to the <a href="qwidget.html">QWidget</a> constructor.</p>
<!-- @@@Q3GroupBox -->
<!-- $$$Q3GroupBox$$$Q3GroupBoxintQt::OrientationconstQString&QWidget*constchar* -->
<h3 class="fn"><a name="Q3GroupBox-4"></a>Q3GroupBox::<span class="name">Q3GroupBox</span> ( <span class="type">int</span> <i>strips</i>, <span class="type"><a href="qt.html#Orientation-enum">Qt::Orientation</a></span> <i>orientation</i>, const <span class="type"><a href="qstring.html">QString</a></span> &amp; <i>title</i>, <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>parent</i> = 0, const <span class="type">char</span> * <i>name</i> = 0 )</h3>
<p>Constructs a group box titled <i>title</i>. Child widgets will be arranged in <i>strips</i> rows or columns (depending on <i>orientation</i>).</p>
<p>The <i>parent</i> and <i>name</i> arguments are passed to the <a href="qwidget.html">QWidget</a> constructor.</p>
<!-- @@@Q3GroupBox -->
<!-- $$$~Q3GroupBox[overload1]$$$~Q3GroupBox -->
<h3 class="fn"><a name="dtor.Q3GroupBox"></a>Q3GroupBox::<span class="name">~Q3GroupBox</span> ()</h3>
<p>Destroys the group box.</p>
<!-- @@@~Q3GroupBox -->
<!-- $$$addSpace[overload1]$$$addSpaceint -->
<h3 class="fn"><a name="addSpace"></a><span class="type">void</span> Q3GroupBox::<span class="name">addSpace</span> ( <span class="type">int</span> <i>size</i> )</h3>
<p>Adds an empty cell at the next free position. If <i>size</i> is greater than 0, the empty cell takes <i>size</i> to be its fixed width (if <a href="q3groupbox.html#orientation-prop">orientation</a>() is <tt>Horizontal</tt>) or height (if <a href="q3groupbox.html#orientation-prop">orientation</a>() is <tt>Vertical</tt>).</p>
<p>Use this method to separate the widgets in the group box or to skip the next free cell. For performance reasons, call this method after calling <a href="q3groupbox.html#setColumnLayout">setColumnLayout</a>() or by changing the <a href="q3groupbox.html#columns-prop">Q3GroupBox::columns</a> or <a href="q3groupbox.html#orientation-prop">Q3GroupBox::orientation</a> properties. It is generally a good idea to call these methods first (if needed at all), and insert the widgets and spaces afterwards.</p>
<!-- @@@addSpace -->
<!-- $$$changeEvent[overload1]$$$changeEventQEvent* -->
<h3 class="fn"><a name="changeEvent"></a><span class="type">void</span> Q3GroupBox::<span class="name">changeEvent</span> ( <span class="type"><a href="qevent.html">QEvent</a></span> * <i>ev</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qwidget.html#changeEvent">QWidget::changeEvent</a>().</p>
<!-- @@@changeEvent -->
<!-- $$$childEvent[overload1]$$$childEventQChildEvent* -->
<h3 class="fn"><a name="childEvent"></a><span class="type">void</span> Q3GroupBox::<span class="name">childEvent</span> ( <span class="type"><a href="qchildevent.html">QChildEvent</a></span> * <i>c</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qobject.html#childEvent">QObject::childEvent</a>().</p>
<!-- @@@childEvent -->
<!-- $$$event[overload1]$$$eventQEvent* -->
<h3 class="fn"><a name="event"></a><span class="type">bool</span> Q3GroupBox::<span class="name">event</span> ( <span class="type"><a href="qevent.html">QEvent</a></span> * <i>e</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qobject.html#event">QObject::event</a>().</p>
<!-- @@@event -->
<!-- $$$frameStyle[overload1]$$$frameStyle -->
<h3 class="fn"><a name="frameStyle"></a><span class="type">int</span> Q3GroupBox::<span class="name">frameStyle</span> () const</h3>
<p>Returns the frame style.</p>
<p><b>See also </b><a href="q3groupbox.html#setFrameStyle">setFrameStyle</a>().</p>
<!-- @@@frameStyle -->
<!-- $$$insideMargin[overload1]$$$insideMargin -->
<h3 class="fn"><a name="insideMargin"></a><span class="type">int</span> Q3GroupBox::<span class="name">insideMargin</span> () const</h3>
<p>Returns the width of the empty space between the items in the group and the frame of the group.</p>
<p>Only applies if the group box has a defined orientation.</p>
<p>The default is usually 11, by may vary depending on the platform and style.</p>
<p><b>See also </b><a href="q3groupbox.html#setInsideMargin">setInsideMargin</a>() and <a href="q3groupbox.html#orientation-prop">orientation</a>.</p>
<!-- @@@insideMargin -->
<!-- $$$insideSpacing[overload1]$$$insideSpacing -->
<h3 class="fn"><a name="insideSpacing"></a><span class="type">int</span> Q3GroupBox::<span class="name">insideSpacing</span> () const</h3>
<p>Returns the width of the empty space between each of the items in the group.</p>
<p>Only applies if the group box has a defined orientation.</p>
<p>The default is usually 5, by may vary depending on the platform and style.</p>
<p><b>See also </b><a href="q3groupbox.html#setInsideSpacing">setInsideSpacing</a>() and <a href="q3groupbox.html#orientation-prop">orientation</a>.</p>
<!-- @@@insideSpacing -->
<!-- $$$resizeEvent[overload1]$$$resizeEventQResizeEvent* -->
<h3 class="fn"><a name="resizeEvent"></a><span class="type">void</span> Q3GroupBox::<span class="name">resizeEvent</span> ( <span class="type"><a href="qresizeevent.html">QResizeEvent</a></span> * <i>e</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qwidget.html#resizeEvent">QWidget::resizeEvent</a>().</p>
<!-- @@@resizeEvent -->
<!-- $$$setColumnLayout[overload1]$$$setColumnLayoutintQt::Orientation -->
<h3 class="fn"><a name="setColumnLayout"></a><span class="type">void</span> Q3GroupBox::<span class="name">setColumnLayout</span> ( <span class="type">int</span> <i>strips</i>, <span class="type"><a href="qt.html#Orientation-enum">Qt::Orientation</a></span> <i>direction</i> )<tt> [virtual]</tt></h3>
<p>Changes the layout of the group box. This function is only useful in combination with the default constructor that does not take any layout information. This function will put all existing children in the new layout. It is not good Qt programming style to call this function after children have been inserted. Sets the number of columns or rows to be <i>strips</i>, depending on <i>direction</i>.</p>
<p><b>See also </b><a href="q3groupbox.html#orientation-prop">orientation</a> and <a href="q3groupbox.html#columns-prop">columns</a>.</p>
<!-- @@@setColumnLayout -->
<!-- $$$setFrameStyle[overload1]$$$setFrameStyleint -->
<h3 class="fn"><a name="setFrameStyle"></a><span class="type">void</span> Q3GroupBox::<span class="name">setFrameStyle</span> ( <span class="type">int</span> <i>style</i> )</h3>
<p>Sets the frame style to <i>style</i>. The style is the bitwise OR between a frame shape and a frame shadow style.</p>
<p><b>See also </b><a href="q3groupbox.html#frameStyle">frameStyle</a>().</p>
<!-- @@@setFrameStyle -->
<!-- $$$setInsideMargin[overload1]$$$setInsideMarginint -->
<h3 class="fn"><a name="setInsideMargin"></a><span class="type">void</span> Q3GroupBox::<span class="name">setInsideMargin</span> ( <span class="type">int</span> <i>m</i> )</h3>
<p>Sets the width of the inside margin to <i>m</i> pixels.</p>
<p><b>See also </b><a href="q3groupbox.html#insideMargin">insideMargin</a>().</p>
<!-- @@@setInsideMargin -->
<!-- $$$setInsideSpacing[overload1]$$$setInsideSpacingint -->
<h3 class="fn"><a name="setInsideSpacing"></a><span class="type">void</span> Q3GroupBox::<span class="name">setInsideSpacing</span> ( <span class="type">int</span> <i>s</i> )</h3>
<p>Sets the width of the empty space between each of the items in the group to <i>s</i> pixels.</p>
<p><b>See also </b><a href="q3groupbox.html#insideSpacing">insideSpacing</a>().</p>
<!-- @@@setInsideSpacing -->
</div>
      </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>