Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > c5a68a1bfbb41dd7ab32131d8bbca747 > files > 2835

qt4-doc-4.3.4-6mdv2008.1.x86_64.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /tmp/qt-4.3.4-qt-1203442408707/qt-x11-opensource-src-4.3.4/src/gui/widgets/qmdiarea.cpp -->
<head>
  <title>Qt 4.3: QMdiArea Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><h1 align="center">QMdiArea Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1>
<p>The QMdiArea widget provides an area in which MDI windows are displayed. <a href="#details">More...</a></p>
<pre> #include &lt;QMdiArea&gt;</pre><p>Inherits <a href="qabstractscrollarea.html">QAbstractScrollArea</a>.</p>
<p>This class was introduced in Qt 4.3.</p>
<ul>
<li><a href="qmdiarea-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h3>Public Types</h3>
<ul>
<li><div class="fn"/>enum <b><a href="qmdiarea.html#AreaOption-enum">AreaOption</a></b> { DontMaximizeSubWindowOnActivation }</li>
<li><div class="fn"/>flags <b><a href="qmdiarea.html#AreaOption-enum">AreaOptions</a></b></li>
<li><div class="fn"/>enum <b><a href="qmdiarea.html#WindowOrder-enum">WindowOrder</a></b> { CreationOrder, StackingOrder }</li>
</ul>
<a name="properties"></a>
<h3>Properties</h3>
<ul>
<li><div class="fn"/><b><a href="qmdiarea.html#background-prop">background</a></b> : QBrush</li>
</ul>
<ul>
<li><div class="fn"/>2 properties inherited from <a href="qabstractscrollarea.html#properties">QAbstractScrollArea</a></li>
<li><div class="fn"/>6 properties inherited from <a href="qframe.html#properties">QFrame</a></li>
<li><div class="fn"/>56 properties inherited from <a href="qwidget.html#properties">QWidget</a></li>
<li><div class="fn"/>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
</ul>
<a name="public-functions"></a>
<h3>Public Functions</h3>
<ul>
<li><div class="fn"/><b><a href="qmdiarea.html#QMdiArea">QMdiArea</a></b> ( QWidget * <i>parent</i> = 0 )</li>
<li><div class="fn"/><b><a href="qmdiarea.html#dtor.QMdiArea">~QMdiArea</a></b> ()</li>
<li><div class="fn"/>QMdiSubWindow * <b><a href="qmdiarea.html#activeSubWindow">activeSubWindow</a></b> () const</li>
<li><div class="fn"/>QMdiSubWindow * <b><a href="qmdiarea.html#addSubWindow">addSubWindow</a></b> ( QWidget * <i>widget</i>, Qt::WindowFlags <i>windowFlags</i> = 0 )</li>
<li><div class="fn"/>QBrush <b><a href="qmdiarea.html#background-prop">background</a></b> () const</li>
<li><div class="fn"/>QMdiSubWindow * <b><a href="qmdiarea.html#currentSubWindow">currentSubWindow</a></b> () const</li>
<li><div class="fn"/>void <b><a href="qmdiarea.html#removeSubWindow">removeSubWindow</a></b> ( QWidget * <i>widget</i> )</li>
<li><div class="fn"/>void <b><a href="qmdiarea.html#background-prop">setBackground</a></b> ( const QBrush &amp; <i>background</i> )</li>
<li><div class="fn"/>void <b><a href="qmdiarea.html#setOption">setOption</a></b> ( AreaOption <i>option</i>, bool <i>on</i> = true )</li>
<li><div class="fn"/>QList&lt;QMdiSubWindow *&gt; <b><a href="qmdiarea.html#subWindowList">subWindowList</a></b> ( WindowOrder <i>order</i> = CreationOrder ) const</li>
<li><div class="fn"/>bool <b><a href="qmdiarea.html#testOption">testOption</a></b> ( AreaOption <i>option</i> ) const</li>
</ul>
<ul>
<li><div class="fn"/>15 public functions inherited from <a href="qabstractscrollarea.html#public-functions">QAbstractScrollArea</a></li>
<li><div class="fn"/>13 public functions inherited from <a href="qframe.html#public-functions">QFrame</a></li>
<li><div class="fn"/>201 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
<li><div class="fn"/>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
<li><div class="fn"/>12 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
</ul>
<a name="public-slots"></a>
<h3>Public Slots</h3>
<ul>
<li><div class="fn"/>void <b><a href="qmdiarea.html#activateNextSubWindow">activateNextSubWindow</a></b> ()</li>
<li><div class="fn"/>void <b><a href="qmdiarea.html#activatePreviousSubWindow">activatePreviousSubWindow</a></b> ()</li>
<li><div class="fn"/>void <b><a href="qmdiarea.html#cascadeSubWindows">cascadeSubWindows</a></b> ()</li>
<li><div class="fn"/>void <b><a href="qmdiarea.html#closeActiveSubWindow">closeActiveSubWindow</a></b> ()</li>
<li><div class="fn"/>void <b><a href="qmdiarea.html#closeAllSubWindows">closeAllSubWindows</a></b> ()</li>
<li><div class="fn"/>void <b><a href="qmdiarea.html#setActiveSubWindow">setActiveSubWindow</a></b> ( QMdiSubWindow * <i>window</i> )</li>
<li><div class="fn"/>void <b><a href="qmdiarea.html#tileSubWindows">tileSubWindows</a></b> ()</li>
</ul>
<ul>
<li><div class="fn"/>19 public slots inherited from <a href="qwidget.html#public-slots">QWidget</a></li>
<li><div class="fn"/>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
</ul>
<a name="signals"></a>
<h3>Signals</h3>
<ul>
<li><div class="fn"/>void <b><a href="qmdiarea.html#subWindowActivated">subWindowActivated</a></b> ( QMdiSubWindow * <i>window</i> )</li>
</ul>
<ul>
<li><div class="fn"/>1 signal inherited from <a href="qwidget.html#signals">QWidget</a></li>
<li><div class="fn"/>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
</ul>
<a name="protected-slots"></a>
<h3>Protected Slots</h3>
<ul>
<li><div class="fn"/>void <b><a href="qmdiarea.html#setupViewport">setupViewport</a></b> ( QWidget * <i>viewport</i> )</li>
</ul>
<ul>
<li><div class="fn"/>1 protected slot inherited from <a href="qabstractscrollarea.html#protected-slots">QAbstractScrollArea</a></li>
<li><div class="fn"/>1 protected slot inherited from <a href="qwidget.html#protected-slots">QWidget</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"/>4 static public members inherited from <a href="qwidget.html#static-public-members">QWidget</a></li>
<li><div class="fn"/>5 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
<li><div class="fn"/>16 protected functions inherited from <a href="qabstractscrollarea.html#protected-functions">QAbstractScrollArea</a></li>
<li><div class="fn"/>38 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
<li><div class="fn"/>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
<li><div class="fn"/>1 protected function inherited from <a href="qpaintdevice.html#protected-functions">QPaintDevice</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QMdiArea widget provides an area in which MDI windows are displayed.</p>
<p>QMdiArea functions, essentially, like a window manager for MDI windows. For instance, it draws the windows it manages on itself and arranges them in a cascading or tile pattern. QMdiArea is commonly used as the center widget in a <a href="qmainwindow.html">QMainWindow</a> to create MDI applications, but can also be placed in any layout. The following code adds an area to a main window:</p>
<pre>     QMainWindow *mainWindow = new QMainWindow;
     mainWindow-&gt;setCentralWidget(mdiArea);</pre>
<p>Unlike the window managers for top-level windows, all window flags (<a href="qt.html#WindowType-enum">Qt::WindowFlags</a>) are supported by QMdiArea as long as the flags are supported by the current widget style. If a specific flag is not supported by the style (e.g&#x2e;, the <a href="qt.html#WindowType-enum">WindowShadeButtonHint</a>), you can still shade the window with showShaded().</p>
<p>Subwindows in QMdiArea are instances of <a href="qmdisubwindow.html">QMdiSubWindow</a>. They are added to an MDI area with <a href="qmdiarea.html#addSubWindow">addSubWindow</a>(). It is common to pass a <a href="qwidget.html">QWidget</a>, which is set as the internal widget, to this function, but it is also possible to pass a <a href="qmdisubwindow.html">QMdiSubWindow</a> directly.The class inherits <a href="qwidget.html">QWidget</a>, and you can use the same API as with a normal top-level window when programming. <a href="qmdisubwindow.html">QMdiSubWindow</a> also has behavior that is specific to MDI windows. See the <a href="qmdisubwindow.html">QMdiSubWindow</a> class description for more details.</p>
<p>A subwindow becomes active when it gets the keyboard focus, or when <a href="qwidget.html#setFocus">setFocus</a>() is called. The user activates a window by moving focus in the usual ways. The MDI area emits the <a href="qmdiarea.html#subWindowActivated">subWindowActivated</a>() signal when the active window changes, and the <a href="qmdiarea.html#activeSubWindow">activeSubWindow</a>() function returns the active subwindow.</p>
<p>The convenience function <a href="qmdiarea.html#subWindowList">subWindowList</a>() returns a list of all subwindows. This information could be used in a popup menu containing a list of windows, for example.</p>
<p>QMdiArea provides two built-in layout strategies for subwindows: <a href="qmdiarea.html#cascadeSubWindows">cascadeSubWindows</a>() and <a href="qmdiarea.html#tileSubWindows">tileSubWindows</a>(). Both are slots and are easily connected to menu entries.</p>
<p align="center"><img src="images/qmdiarea-arrange.png" /></p><p><b>Note:</b> The default scroll bar property for QMdiArea is <a href="qt.html#ScrollBarPolicy-enum">Qt::ScrollBarAlwaysOff</a>.</p>
<p>See also <a href="qmdisubwindow.html">QMdiSubWindow</a>.</p>
<hr />
<h2>Member Type Documentation</h2>
<h3 class="flags"><a name="AreaOption-enum"></a>enum QMdiArea::AreaOption<br />flags QMdiArea::AreaOptions</h3>
<p>This enum describes options that customize the behavior of the <a href="qmdiarea.html">QMdiArea</a>.</p>
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
<tr><td valign="top"><tt>QMdiArea::DontMaximizeSubWindowOnActivation</tt></td><td align="center" valign="top"><tt>0x1</tt></td><td valign="top">When the active subwindow is maximized, the default behavior is to maximize the next subwindow that is activated. Set this option if you do not want this behavior.</td></tr>
</table></p>
<p>The AreaOptions type is a typedef for <a href="qflags.html">QFlags</a>&lt;AreaOption&gt;. It stores an OR combination of AreaOption values.</p>
<h3 class="fn"><a name="WindowOrder-enum"></a>enum QMdiArea::WindowOrder</h3>
<p>Specifies the order in which child windows are returned from <a href="qmdiarea.html#subWindowList">subWindowList</a>(). The <a href="qmdiarea.html#cascadeSubWindows">cascadeSubWindows</a>() and <a href="qmdiarea.html#tileSubWindows">tileSubWindows</a>() functions follow this order when arranging the windows.</p>
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
<tr><td valign="top"><tt>QMdiArea::CreationOrder</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The windows are returned in the order of their creation</td></tr>
<tr><td valign="top"><tt>QMdiArea::StackingOrder</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The windows are returned in the order in which they are stacked; the top-most window is last in the list.</td></tr>
</table></p>
<hr />
<h2>Property Documentation</h2>
<h3 class="fn"><a name="background-prop"></a>background : <a href="qbrush.html">QBrush</a></h3>
<p>This property holds the background brush for the workspace.</p>
<p>This property sets the background brush for the workspace area itself. By default, it is a gray color, but can be any brush (e.g&#x2e;, colors, gradients or pixmaps).</p>
<p>Access functions:</p>
<ul>
<li><div class="fn"/><b>QBrush background () const</b></li>
<li><div class="fn"/><b>void setBackground ( const QBrush &amp; <i>background</i> )</b></li>
</ul>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QMdiArea"></a>QMdiArea::QMdiArea ( <a href="qwidget.html">QWidget</a> * <i>parent</i> = 0 )</h3>
<p>Constructs an empty mdi area. <i>parent</i> is passed to <a href="qwidget.html">QWidget</a>'s constructor.</p>
<h3 class="fn"><a name="dtor.QMdiArea"></a>QMdiArea::~QMdiArea ()</h3>
<p>Destroys the MDI area.</p>
<h3 class="fn"><a name="activateNextSubWindow"></a>void QMdiArea::activateNextSubWindow ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Gives the keyboard focus to the next window in the list of child windows. The windows are activated in the order in which they are created (<a href="qmdiarea.html#WindowOrder-enum">CreationOrder</a>).</p>
<p>See also <a href="qmdiarea.html#activatePreviousSubWindow">activatePreviousSubWindow</a>().</p>
<h3 class="fn"><a name="activatePreviousSubWindow"></a>void QMdiArea::activatePreviousSubWindow ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Gives the keyboard focus to the previous window in the list of child windows. The windows are activated in the order in which they are created (<a href="qmdiarea.html#WindowOrder-enum">CreationOrder</a>).</p>
<p>See also <a href="qmdiarea.html#activateNextSubWindow">activateNextSubWindow</a>().</p>
<h3 class="fn"><a name="activeSubWindow"></a><a href="qmdisubwindow.html">QMdiSubWindow</a> * QMdiArea::activeSubWindow () const</h3>
<p>Returns a pointer to the current active subwindow. If no window is currently active, 0 is returned.</p>
<p>Subwindows are treated as top-level windows with respect to window state, i.e&#x2e;, if a widget outside the MDI area is the active window, no subwindow will be active. Note that if a widget in the window in which the MDI area lives gains focus, the window will be activated.</p>
<p>See also <a href="qmdiarea.html#setActiveSubWindow">setActiveSubWindow</a>() and <a href="qt.html#WindowState-enum">Qt::WindowState</a>.</p>
<h3 class="fn"><a name="addSubWindow"></a><a href="qmdisubwindow.html">QMdiSubWindow</a> * QMdiArea::addSubWindow ( <a href="qwidget.html">QWidget</a> * <i>widget</i>, <a href="qt.html#WindowType-enum">Qt::WindowFlags</a> <i>windowFlags</i> = 0 )</h3>
<p>Adds <i>widget</i> as a new subwindow to the MDI area. If <i>windowFlags</i> are non-zero, they will override the flags set on the widget.</p>
<p>The <i>widget</i> can be either a <a href="qmdisubwindow.html">QMdiSubWindow</a> or another <a href="qwidget.html">QWidget</a> (in which case the MDI area will create a subwindow and set the <i>widget</i> as the internal widget).</p>
<p><b>Note:</b> Once the subwindow has been added, its parent will be the <i>viewport widget</i> of the <a href="qmdiarea.html">QMdiArea</a>.</p>
<pre>     QMdiArea mdiArea;
     QMdiSubWindow *subWindow1 = new QMdiSubWindow;
     subWindow1-&gt;setWidget(internalWidget1);
     subWindow1-&gt;setAttribute(Qt::WA_DeleteOnClose);
     mdiArea.addSubWindow(subWindow1);

     QMdiSubWindow *subWindow2 =
         mdiArea.addSubWindow(internalWidget2);</pre>
<p>When you create your own subwindow, you must set the <a href="qt.html#WidgetAttribute-enum">Qt::WA_DeleteOnClose</a> widget attribute if you want the window to be deleted when closed in the MDI area. If not, the window will be hidden and the MDI area will not activate the next subwindow.</p>
<p>Returns the <a href="qmdisubwindow.html">QMdiSubWindow</a> that is added to the MDI area.</p>
<p>See also <a href="qmdiarea.html#removeSubWindow">removeSubWindow</a>().</p>
<h3 class="fn"><a name="cascadeSubWindows"></a>void QMdiArea::cascadeSubWindows ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Arranges all the child windows in a cascade pattern.</p>
<p>See also <a href="qmdiarea.html#tileSubWindows">tileSubWindows</a>().</p>
<h3 class="fn"><a name="closeActiveSubWindow"></a>void QMdiArea::closeActiveSubWindow ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Closes the active subwindow.</p>
<p>See also <a href="qmdiarea.html#closeAllSubWindows">closeAllSubWindows</a>().</p>
<h3 class="fn"><a name="closeAllSubWindows"></a>void QMdiArea::closeAllSubWindows ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Closes all subwindows by sending a <a href="qcloseevent.html">QCloseEvent</a> to each window. You may receive <a href="qmdiarea.html#subWindowActivated">subWindowActivated</a>() signals from subwindows before they are closed (if the MDI area activates the subwindow when another is closing).</p>
<p>Subwindows that ignore the close event will remain open.</p>
<p>See also <a href="qmdiarea.html#closeActiveSubWindow">closeActiveSubWindow</a>().</p>
<h3 class="fn"><a name="currentSubWindow"></a><a href="qmdisubwindow.html">QMdiSubWindow</a> * QMdiArea::currentSubWindow () const</h3>
<p>Returns a pointer to the current subwindow, or 0 if there is no current subwindow.</p>
<p>This function will return the same as <a href="qmdiarea.html#activeSubWindow">activeSubWindow</a>() if the <a href="qapplication.html">QApplication</a> containing <a href="qmdiarea.html">QMdiArea</a> is active.</p>
<p>See also <a href="qmdiarea.html#activeSubWindow">activeSubWindow</a>() and <a href="qapplication.html#activeWindow">QApplication::activeWindow</a>().</p>
<h3 class="fn"><a name="removeSubWindow"></a>void QMdiArea::removeSubWindow ( <a href="qwidget.html">QWidget</a> * <i>widget</i> )</h3>
<p>Removes <i>widget</i> from the MDI area. The <i>widget</i> must be either a <a href="qmdisubwindow.html">QMdiSubWindow</a> or a widget that is the internal widget of a subwindow. Note that the subwindow is not deleted by <a href="qmdiarea.html">QMdiArea</a> and that its parent is set to 0.</p>
<p>See also <a href="qmdiarea.html#addSubWindow">addSubWindow</a>().</p>
<h3 class="fn"><a name="setActiveSubWindow"></a>void QMdiArea::setActiveSubWindow ( <a href="qmdisubwindow.html">QMdiSubWindow</a> * <i>window</i> )&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Activates the subwindow <i>window</i>. If <i>window</i> is 0, any current active window is deactivated.</p>
<p>See also <a href="qmdiarea.html#activeSubWindow">activeSubWindow</a>().</p>
<h3 class="fn"><a name="setOption"></a>void QMdiArea::setOption ( <a href="qmdiarea.html#AreaOption-enum">AreaOption</a> <i>option</i>, bool <i>on</i> = true )</h3>
<p>If <i>on</i> is true, <i>option</i> is enabled on the MDI area; otherwise it is disabled. See <a href="qmdiarea.html#AreaOption-enum">AreaOption</a> for the effect of each option.</p>
<p>See also <a href="qmdiarea.html#AreaOption-enum">AreaOption</a> and <a href="qmdiarea.html#testOption">testOption</a>().</p>
<h3 class="fn"><a name="setupViewport"></a>void QMdiArea::setupViewport ( <a href="qwidget.html">QWidget</a> * <i>viewport</i> )&nbsp;&nbsp;<tt> [protected slot]</tt></h3>
<p>This slot is called by <a href="qabstractscrollarea.html">QAbstractScrollArea</a> after <a href="qabstractscrollarea.html#setViewport">setViewport</a>() has been called. Reimplement this function in a subclass of <a href="qmdiarea.html">QMdiArea</a> to initialize the new <i>viewport</i> before it is used.</p>
<p>See also <a href="qabstractscrollarea.html#setViewport">setViewport</a>().</p>
<h3 class="fn"><a name="subWindowActivated"></a>void QMdiArea::subWindowActivated ( <a href="qmdisubwindow.html">QMdiSubWindow</a> * <i>window</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p><a href="qmdiarea.html">QMdiArea</a> emits this signal after <i>window</i> has been activated. When <i>window</i> is 0, <a href="qmdiarea.html">QMdiArea</a> has just deactivated its last active window, and there are no active windows on the workspace.</p>
<p>See also <a href="qmdiarea.html#activeSubWindow">QMdiArea::activeSubWindow</a>().</p>
<h3 class="fn"><a name="subWindowList"></a><a href="qlist.html">QList</a>&lt;<a href="qmdisubwindow.html">QMdiSubWindow</a> *&gt; QMdiArea::subWindowList ( <a href="qmdiarea.html#WindowOrder-enum">WindowOrder</a> <i>order</i> = CreationOrder ) const</h3>
<p>Returns a list of all subwindows in the MDI area. If <i>order</i> is <a href="qmdiarea.html#WindowOrder-enum">CreationOrder</a> (the default), the windows are sorted in the order in which they were inserted into the workspace. If <i>order</i> is <a href="qmdiarea.html#WindowOrder-enum">StackingOrder</a>, the windows are listed in their stacking order, with the topmost window as the last item in the list.</p>
<p>See also <a href="qmdiarea.html#WindowOrder-enum">WindowOrder</a>.</p>
<h3 class="fn"><a name="testOption"></a>bool QMdiArea::testOption ( <a href="qmdiarea.html#AreaOption-enum">AreaOption</a> <i>option</i> ) const</h3>
<p>Returns true if <i>option</i> is enabled; otherwise returns false.</p>
<p>See also <a href="qmdiarea.html#AreaOption-enum">AreaOption</a> and <a href="qmdiarea.html#setOption">setOption</a>().</p>
<h3 class="fn"><a name="tileSubWindows"></a>void QMdiArea::tileSubWindows ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Arranges all child windows in a tile pattern.</p>
<p>See also <a href="qmdiarea.html#cascadeSubWindows">cascadeSubWindows</a>().</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2008 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt 4.3.4</div></td>
</tr></table></div></address></body>
</html>