Sophie

Sophie

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

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

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qmdisubwindow.cpp -->
  <title>QMdiSubWindow Class | Qt Widgets 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtwidgets-index.html">Qt Widgets</a></td><td ><a href="qtwidgets-module.html">C++ Classes</a></td><td >QMdiSubWindow</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<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="#reimplemented-public-functions">Reimplemented Public Functions</a></li>
<li class="level1"><a href="#public-slots">Public Slots</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#reimplemented-protected-functions">Reimplemented Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
<li class="level2"><a href="#subwindow-handling">Subwindow Handling</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QMdiSubWindow Class</h1>
<!-- $$$QMdiSubWindow-brief -->
<p>The <a href="qmdisubwindow.html">QMdiSubWindow</a> class provides a subwindow class for <a href="qmdiarea.html">QMdiArea</a>. <a href="#details">More...</a></p>
<!-- @@@QMdiSubWindow -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QMdiSubWindow&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += widgets</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 4.3</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qwidget.html">QWidget</a></td></tr></table></div><ul>
<li><a href="qmdisubwindow-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#SubWindowOption-enum">SubWindowOption</a></b> { RubberBandResize, RubberBandMove }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#SubWindowOption-enum">SubWindowOptions</a></b></td></tr>
</table></div>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><a href="qmdisubwindow.html#keyboardPageStep-prop">keyboardPageStep</a></b> : int</li>
<li class="fn"><b><a href="qmdisubwindow.html#keyboardSingleStep-prop">keyboardSingleStep</a></b> : int</li>
</ul>
<ul>
<li class="fn">59 properties inherited from <a href="qwidget.html#properties">QWidget</a></li>
<li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#QMdiSubWindow">QMdiSubWindow</a></b>(QWidget *<i>parent</i> = Q_NULLPTR, Qt::WindowFlags <i>flags</i> = Qt::WindowFlags())</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#dtor.QMdiSubWindow">~QMdiSubWindow</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#isShaded">isShaded</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#keyboardPageStep-prop">keyboardPageStep</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#keyboardSingleStep-prop">keyboardSingleStep</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMdiArea *</td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#mdiArea">mdiArea</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#keyboardPageStep-prop">setKeyboardPageStep</a></b>(int <i>step</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#keyboardSingleStep-prop">setKeyboardSingleStep</a></b>(int <i>step</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#setOption">setOption</a></b>(SubWindowOption <i>option</i>, bool <i>on</i> = true)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#setSystemMenu">setSystemMenu</a></b>(QMenu *<i>systemMenu</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#setWidget">setWidget</a></b>(QWidget *<i>widget</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMenu *</td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#systemMenu">systemMenu</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#testOption">testOption</a></b>(SubWindowOption <i>option</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QWidget *</td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#widget">widget</a></b>() const</td></tr>
</table></div>
<a name="reimplemented-public-functions"></a>
<h2 id="reimplemented-public-functions">Reimplemented Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual QSize </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#minimumSizeHint">minimumSizeHint</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QSize </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#sizeHint">sizeHint</a></b>() const</td></tr>
</table></div>
<ul>
<li class="fn">214 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
<li class="fn">32 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li>
<li class="fn">14 public functions inherited from <a href="../qtgui/qpaintdevice.html#public-functions">QPaintDevice</a></li>
</ul>
<a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#showShaded">showShaded</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#showSystemMenu">showSystemMenu</a></b>()</td></tr>
</table></div>
<ul>
<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="../qtcore/qobject.html#public-slots">QObject</a></li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#aboutToActivate">aboutToActivate</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#windowStateChanged">windowStateChanged</a></b>(Qt::WindowStates <i>oldState</i>, Qt::WindowStates <i>newState</i>)</td></tr>
</table></div>
<ul>
<li class="fn">3 signals inherited from <a href="qwidget.html#signals">QWidget</a></li>
<li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li>
</ul>
<a name="reimplemented-protected-functions"></a>
<h2 id="reimplemented-protected-functions">Reimplemented Protected Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#changeEvent">changeEvent</a></b>(QEvent *<i>changeEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#childEvent">childEvent</a></b>(QChildEvent *<i>childEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#closeEvent">closeEvent</a></b>(QCloseEvent *<i>closeEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#contextMenuEvent">contextMenuEvent</a></b>(QContextMenuEvent *<i>contextMenuEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#event">event</a></b>(QEvent *<i>event</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#eventFilter">eventFilter</a></b>(QObject *<i>object</i>, QEvent *<i>event</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#focusInEvent">focusInEvent</a></b>(QFocusEvent *<i>focusInEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#focusOutEvent">focusOutEvent</a></b>(QFocusEvent *<i>focusOutEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#hideEvent">hideEvent</a></b>(QHideEvent *<i>hideEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#keyPressEvent">keyPressEvent</a></b>(QKeyEvent *<i>keyEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#leaveEvent">leaveEvent</a></b>(QEvent *<i>leaveEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#mouseDoubleClickEvent">mouseDoubleClickEvent</a></b>(QMouseEvent *<i>mouseEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#mouseMoveEvent">mouseMoveEvent</a></b>(QMouseEvent *<i>mouseEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#mousePressEvent">mousePressEvent</a></b>(QMouseEvent *<i>mouseEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#mouseReleaseEvent">mouseReleaseEvent</a></b>(QMouseEvent *<i>mouseEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#moveEvent">moveEvent</a></b>(QMoveEvent *<i>moveEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#paintEvent">paintEvent</a></b>(QPaintEvent *<i>paintEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#resizeEvent">resizeEvent</a></b>(QResizeEvent *<i>resizeEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#showEvent">showEvent</a></b>(QShowEvent *<i>showEvent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qmdisubwindow.html#timerEvent">timerEvent</a></b>(QTimerEvent *<i>timerEvent</i>)</td></tr>
</table></div>
<ul>
<li class="fn">35 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
<li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li>
<li class="fn">1 protected function inherited from <a href="../qtgui/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 public variable inherited from <a href="../qtcore/qobject.html#public-variables">QObject</a></li>
<li class="fn">5 static public members inherited from <a href="qwidget.html#static-public-members">QWidget</a></li>
<li class="fn">10 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li>
<li class="fn">35 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
<li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li>
<li class="fn">1 protected function inherited from <a href="../qtgui/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
<li class="fn">1 protected slot inherited from <a href="qwidget.html#protected-slots">QWidget</a></li>
<li class="fn">2 protected variables inherited from <a href="../qtcore/qobject.html#protected-variables">QObject</a></li>
<li class="fn">1 protected type inherited from <a href="../qtgui/qpaintdevice.html#protected-variables">QPaintDevice</a></li>
</ul>
<a name="details"></a>
<!-- $$$QMdiSubWindow-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qmdisubwindow.html">QMdiSubWindow</a> class provides a subwindow class for <a href="qmdiarea.html">QMdiArea</a>.</p>
<p><a href="qmdisubwindow.html">QMdiSubWindow</a> represents a top-level window in a <a href="qmdiarea.html">QMdiArea</a>, and consists of a title bar with window decorations, an internal widget, and (depending on the current style) a window frame and a size grip. <a href="qmdisubwindow.html">QMdiSubWindow</a> has its own layout, which consists of the title bar and a center area for the internal widget.</p>
<p class="centerAlign"><img src="images/qmdisubwindowlayout.png" alt="" /></p><p>The most common way to construct a <a href="qmdisubwindow.html">QMdiSubWindow</a> is to call <a href="qmdiarea.html#addSubWindow">QMdiArea::addSubWindow</a>() with the internal widget as the argument. You can also create a subwindow yourself, and set an internal widget by calling <a href="qmdisubwindow.html#setWidget">setWidget</a>().</p>
<p>You use the same API when programming with subwindows as with regular top-level windows (e.g&#x2e;, you can call functions such as <a href="qwidget.html#show">show</a>(), <a href="qwidget.html#hide">hide</a>(), <a href="qwidget.html#showMaximized">showMaximized</a>(), and <a href="qwidget.html#windowTitle-prop">setWindowTitle</a>()).</p>
<a name="subwindow-handling"></a>
<h3 >Subwindow Handling</h3>
<p><a href="qmdisubwindow.html">QMdiSubWindow</a> also supports behavior specific to subwindows in an MDI area.</p>
<p>By default, each <a href="qmdisubwindow.html">QMdiSubWindow</a> is visible inside the MDI area viewport when moved around, but it is also possible to specify transparent window movement and resizing behavior, where only the outline of a subwindow is updated during these operations. The <a href="qmdisubwindow.html#setOption">setOption</a>() function is used to enable this behavior.</p>
<p>The <a href="qmdisubwindow.html#isShaded">isShaded</a>() function detects whether the subwindow is currently shaded (i.e&#x2e;, the window is collapsed so that only the title bar is visible). To enter shaded mode, call <a href="qmdisubwindow.html#showShaded">showShaded</a>(). <a href="qmdisubwindow.html">QMdiSubWindow</a> emits the <a href="qmdisubwindow.html#windowStateChanged">windowStateChanged</a>() signal whenever the window state has changed (e.g&#x2e;, when the window becomes minimized, or is restored). It also emits <a href="qmdisubwindow.html#aboutToActivate">aboutToActivate</a>() before it is activated.</p>
<p>In keyboard-interactive mode, the windows are moved and resized with the keyboard. You can enter this mode through the system menu of the window. The <a href="qmdisubwindow.html#keyboardSingleStep-prop">keyboardSingleStep</a> and <a href="qmdisubwindow.html#keyboardPageStep-prop">keyboardPageStep</a> properties control the distance the widget is moved or resized for each keypress event. When shift is pressed down page step is used; otherwise single step is used.</p>
<p>You can also change the active window with the keyboard. By pressing the control and tab keys at the same time, the next (using the current <a href="qmdiarea.html#WindowOrder-enum">WindowOrder</a>) subwindow will be activated. By pressing control, shift, and tab, you will activate the previous window. This is equivalent to calling <a href="qmdiarea.html#activateNextSubWindow">activateNextSubWindow()</a> and <a href="qmdiarea.html#activatePreviousSubWindow">activatePreviousSubWindow()</a>. Note that these shortcuts overrides global shortcuts, but not the <a href="qmdiarea.html">QMdiArea</a>s shortcuts.</p>
</div>
<p><b>See also </b><a href="qmdiarea.html">QMdiArea</a>.</p>
<!-- @@@QMdiSubWindow -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$SubWindowOption$$$AllowOutsideAreaHorizontally$$$AllowOutsideAreaVertically$$$RubberBandResize$$$RubberBandMove -->
<h3 class="flags" id="SubWindowOption-enum"><a name="SubWindowOption-enum"></a>enum QMdiSubWindow::<span class="name">SubWindowOption</span><br/>flags QMdiSubWindow::<span class="name">SubWindowOptions</span></h3>
<p>This enum describes options that customize the behavior of <a href="qmdisubwindow.html">QMdiSubWindow</a>.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QMdiSubWindow::RubberBandResize</code></td><td class="topAlign tblval"><code>0x4</code></td><td class="topAlign">If you enable this option, a rubber band control is used to represent the subwindow's outline, and the user resizes this instead of the subwindow itself. As a result, the subwindow maintains its original position and size until the resize operation has been completed, at which time it will receive a single <a href="../qtgui/qresizeevent.html">QResizeEvent</a>. By default, this option is disabled.</td></tr>
<tr><td class="topAlign"><code>QMdiSubWindow::RubberBandMove</code></td><td class="topAlign tblval"><code>0x8</code></td><td class="topAlign">If you enable this option, a rubber band control is used to represent the subwindow's outline, and the user moves this instead of the subwindow itself. As a result, the subwindow remains in its original position until the move operation has completed, at which time a <a href="../qtgui/qmoveevent.html">QMoveEvent</a> is sent to the window. By default, this option is disabled.</td></tr>
</table></div>
<p>The SubWindowOptions type is a typedef for <a href="../qtcore/qflags.html">QFlags</a>&lt;SubWindowOption&gt;. It stores an OR combination of SubWindowOption values.</p>
<!-- @@@SubWindowOption -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$keyboardPageStep-prop$$$keyboardPageStep$$$setKeyboardPageStepint -->
<h3 class="fn" id="keyboardPageStep-prop"><a name="keyboardPageStep-prop"></a><span class="name">keyboardPageStep</span> : <span class="type">int</span></h3>
<p>sets how far a widget should move or resize when using the keyboard page keys.</p>
<p>When in keyboard-interactive mode, you can use the arrow and page keys to either move or resize the window. This property controls the page keys. The common way to enter keyboard interactive mode is to enter the subwindow menu, and select either &quot;resize&quot; or &quot;move&quot;.</p>
<p>The default keyboard page step value is 20 pixels.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>keyboardPageStep</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setKeyboardPageStep</b></span>(int <i>step</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qmdisubwindow.html#keyboardSingleStep-prop">keyboardSingleStep</a>.</p>
<!-- @@@keyboardPageStep -->
<!-- $$$keyboardSingleStep-prop$$$keyboardSingleStep$$$setKeyboardSingleStepint -->
<h3 class="fn" id="keyboardSingleStep-prop"><a name="keyboardSingleStep-prop"></a><span class="name">keyboardSingleStep</span> : <span class="type">int</span></h3>
<p>sets how far a widget should move or resize when using the keyboard arrow keys.</p>
<p>When in keyboard-interactive mode, you can use the arrow and page keys to either move or resize the window. This property controls the arrow keys. The common way to enter keyboard interactive mode is to enter the subwindow menu, and select either &quot;resize&quot; or &quot;move&quot;.</p>
<p>The default keyboard single step value is 5 pixels.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>keyboardSingleStep</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setKeyboardSingleStep</b></span>(int <i>step</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qmdisubwindow.html#keyboardPageStep-prop">keyboardPageStep</a>.</p>
<!-- @@@keyboardSingleStep -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QMdiSubWindow[overload1]$$$QMdiSubWindowQWidget*Qt::WindowFlags -->
<h3 class="fn" id="QMdiSubWindow"><a name="QMdiSubWindow"></a>QMdiSubWindow::<span class="name">QMdiSubWindow</span>(<span class="type"><a href="qwidget.html#QWidget">QWidget</a></span> *<i>parent</i> = Q_NULLPTR, <span class="type"><a href="../qtcore/qt.html#WindowType-enum">Qt::WindowFlags</a></span> <i>flags</i> = Qt::WindowFlags())</h3>
<p>Constructs a new <a href="qmdisubwindow.html">QMdiSubWindow</a> widget. The <i>parent</i> and <i>flags</i> arguments are passed to <a href="qwidget.html">QWidget</a>'s constructor.</p>
<p>Instead of using addSubWindow(), it is also simply possible to use <a href="qwidget.html#setParent">setParent</a>() when you add the subwindow to a <a href="qmdiarea.html">QMdiArea</a>.</p>
<p>Note that only <a href="qmdisubwindow.html">QMdiSubWindow</a>s can be set as children of <a href="qmdiarea.html">QMdiArea</a>; you cannot, for instance, write:</p>
<pre class="cpp">

  <span class="comment">//bad code</span>
  <span class="type"><a href="qmdiarea.html">QMdiArea</a></span> mdiArea;
  <span class="type"><a href="qtextedit.html">QTextEdit</a></span> editor(<span class="operator">&amp;</span>mdiArea); <span class="comment">// invalid child widget</span>

</pre>
<p><b>See also </b><a href="qmdiarea.html#addSubWindow">QMdiArea::addSubWindow</a>().</p>
<!-- @@@QMdiSubWindow -->
<!-- $$$~QMdiSubWindow[overload1]$$$~QMdiSubWindow -->
<h3 class="fn" id="dtor.QMdiSubWindow"><a name="dtor.QMdiSubWindow"></a>QMdiSubWindow::<span class="name">~QMdiSubWindow</span>()</h3>
<p>Destroys the subwindow.</p>
<p><b>See also </b><a href="qmdiarea.html#removeSubWindow">QMdiArea::removeSubWindow</a>().</p>
<!-- @@@~QMdiSubWindow -->
<!-- $$$aboutToActivate[overload1]$$$aboutToActivate -->
<h3 class="fn" id="aboutToActivate"><a name="aboutToActivate"></a><code>[signal] </code><span class="type">void</span> QMdiSubWindow::<span class="name">aboutToActivate</span>()</h3>
<p><a href="qmdisubwindow.html">QMdiSubWindow</a> emits this signal immediately before it is activated. After the subwindow has been activated, the <a href="qmdiarea.html">QMdiArea</a> that manages the subwindow will also emit the <a href="qmdiarea.html#subWindowActivated">subWindowActivated()</a> signal.</p>
<p><b>See also </b><a href="qmdiarea.html#subWindowActivated">QMdiArea::subWindowActivated</a>().</p>
<!-- @@@aboutToActivate -->
<!-- $$$changeEvent[overload1]$$$changeEventQEvent* -->
<h3 class="fn" id="changeEvent"><a name="changeEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">changeEvent</span>(<span class="type"><a href="../qtcore/qevent.html">QEvent</a></span> *<i>changeEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#changeEvent">QWidget::changeEvent</a>().</p>
<!-- @@@changeEvent -->
<!-- $$$childEvent[overload1]$$$childEventQChildEvent* -->
<h3 class="fn" id="childEvent"><a name="childEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">childEvent</span>(<span class="type"><a href="../qtcore/qchildevent.html">QChildEvent</a></span> *<i>childEvent</i>)</h3>
<p>Reimplemented from <a href="../qtcore/qobject.html#childEvent">QObject::childEvent</a>().</p>
<!-- @@@childEvent -->
<!-- $$$closeEvent[overload1]$$$closeEventQCloseEvent* -->
<h3 class="fn" id="closeEvent"><a name="closeEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">closeEvent</span>(<span class="type"><a href="../qtgui/qcloseevent.html">QCloseEvent</a></span> *<i>closeEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#closeEvent">QWidget::closeEvent</a>().</p>
<!-- @@@closeEvent -->
<!-- $$$contextMenuEvent[overload1]$$$contextMenuEventQContextMenuEvent* -->
<h3 class="fn" id="contextMenuEvent"><a name="contextMenuEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">contextMenuEvent</span>(<span class="type"><a href="../qtgui/qcontextmenuevent.html">QContextMenuEvent</a></span> *<i>contextMenuEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#contextMenuEvent">QWidget::contextMenuEvent</a>().</p>
<!-- @@@contextMenuEvent -->
<!-- $$$event[overload1]$$$eventQEvent* -->
<h3 class="fn" id="event"><a name="event"></a><code>[virtual protected] </code><span class="type">bool</span> QMdiSubWindow::<span class="name">event</span>(<span class="type"><a href="../qtcore/qevent.html">QEvent</a></span> *<i>event</i>)</h3>
<p>Reimplemented from <a href="../qtcore/qobject.html#event">QObject::event</a>().</p>
<!-- @@@event -->
<!-- $$$eventFilter[overload1]$$$eventFilterQObject*QEvent* -->
<h3 class="fn" id="eventFilter"><a name="eventFilter"></a><code>[virtual protected] </code><span class="type">bool</span> QMdiSubWindow::<span class="name">eventFilter</span>(<span class="type"><a href="../qtcore/qobject.html#QObject">QObject</a></span> *<i>object</i>, <span class="type"><a href="../qtcore/qevent.html">QEvent</a></span> *<i>event</i>)</h3>
<p>Reimplemented from <a href="../qtcore/qobject.html#eventFilter">QObject::eventFilter</a>().</p>
<!-- @@@eventFilter -->
<!-- $$$focusInEvent[overload1]$$$focusInEventQFocusEvent* -->
<h3 class="fn" id="focusInEvent"><a name="focusInEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">focusInEvent</span>(<span class="type"><a href="../qtgui/qfocusevent.html">QFocusEvent</a></span> *<i>focusInEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#focusInEvent">QWidget::focusInEvent</a>().</p>
<!-- @@@focusInEvent -->
<!-- $$$focusOutEvent[overload1]$$$focusOutEventQFocusEvent* -->
<h3 class="fn" id="focusOutEvent"><a name="focusOutEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">focusOutEvent</span>(<span class="type"><a href="../qtgui/qfocusevent.html">QFocusEvent</a></span> *<i>focusOutEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#focusOutEvent">QWidget::focusOutEvent</a>().</p>
<!-- @@@focusOutEvent -->
<!-- $$$hideEvent[overload1]$$$hideEventQHideEvent* -->
<h3 class="fn" id="hideEvent"><a name="hideEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">hideEvent</span>(<span class="type"><a href="../qtgui/qhideevent.html">QHideEvent</a></span> *<i>hideEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#hideEvent">QWidget::hideEvent</a>().</p>
<!-- @@@hideEvent -->
<!-- $$$isShaded[overload1]$$$isShaded -->
<h3 class="fn" id="isShaded"><a name="isShaded"></a><span class="type">bool</span> QMdiSubWindow::<span class="name">isShaded</span>() const</h3>
<p>Returns <code>true</code> if this window is shaded; otherwise returns <code>false</code>.</p>
<p>A window is shaded if it is collapsed so that only the title bar is visible.</p>
<!-- @@@isShaded -->
<!-- $$$keyPressEvent[overload1]$$$keyPressEventQKeyEvent* -->
<h3 class="fn" id="keyPressEvent"><a name="keyPressEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">keyPressEvent</span>(<span class="type"><a href="../qtgui/qkeyevent.html">QKeyEvent</a></span> *<i>keyEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#keyPressEvent">QWidget::keyPressEvent</a>().</p>
<!-- @@@keyPressEvent -->
<!-- $$$leaveEvent[overload1]$$$leaveEventQEvent* -->
<h3 class="fn" id="leaveEvent"><a name="leaveEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">leaveEvent</span>(<span class="type"><a href="../qtcore/qevent.html">QEvent</a></span> *<i>leaveEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#leaveEvent">QWidget::leaveEvent</a>().</p>
<!-- @@@leaveEvent -->
<!-- $$$mdiArea[overload1]$$$mdiArea -->
<h3 class="fn" id="mdiArea"><a name="mdiArea"></a><span class="type"><a href="qmdiarea.html">QMdiArea</a></span> *QMdiSubWindow::<span class="name">mdiArea</span>() const</h3>
<p>Returns the area containing this sub-window, or 0 if there is none.</p>
<p>This function was introduced in  Qt 4.4.</p>
<p><b>See also </b><a href="qmdiarea.html#addSubWindow">QMdiArea::addSubWindow</a>().</p>
<!-- @@@mdiArea -->
<!-- $$$minimumSizeHint[overload1]$$$minimumSizeHint -->
<h3 class="fn" id="minimumSizeHint"><a name="minimumSizeHint"></a><code>[virtual] </code><span class="type"><a href="../qtcore/qsize.html">QSize</a></span> QMdiSubWindow::<span class="name">minimumSizeHint</span>() const</h3>
<p>Reimplemented from <a href="qwidget.html#minimumSizeHint-prop">QWidget::minimumSizeHint</a>().</p>
<!-- @@@minimumSizeHint -->
<!-- $$$mouseDoubleClickEvent[overload1]$$$mouseDoubleClickEventQMouseEvent* -->
<h3 class="fn" id="mouseDoubleClickEvent"><a name="mouseDoubleClickEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">mouseDoubleClickEvent</span>(<span class="type"><a href="../qtgui/qmouseevent.html">QMouseEvent</a></span> *<i>mouseEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#mouseDoubleClickEvent">QWidget::mouseDoubleClickEvent</a>().</p>
<!-- @@@mouseDoubleClickEvent -->
<!-- $$$mouseMoveEvent[overload1]$$$mouseMoveEventQMouseEvent* -->
<h3 class="fn" id="mouseMoveEvent"><a name="mouseMoveEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">mouseMoveEvent</span>(<span class="type"><a href="../qtgui/qmouseevent.html">QMouseEvent</a></span> *<i>mouseEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#mouseMoveEvent">QWidget::mouseMoveEvent</a>().</p>
<!-- @@@mouseMoveEvent -->
<!-- $$$mousePressEvent[overload1]$$$mousePressEventQMouseEvent* -->
<h3 class="fn" id="mousePressEvent"><a name="mousePressEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">mousePressEvent</span>(<span class="type"><a href="../qtgui/qmouseevent.html">QMouseEvent</a></span> *<i>mouseEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#mousePressEvent">QWidget::mousePressEvent</a>().</p>
<!-- @@@mousePressEvent -->
<!-- $$$mouseReleaseEvent[overload1]$$$mouseReleaseEventQMouseEvent* -->
<h3 class="fn" id="mouseReleaseEvent"><a name="mouseReleaseEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">mouseReleaseEvent</span>(<span class="type"><a href="../qtgui/qmouseevent.html">QMouseEvent</a></span> *<i>mouseEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#mouseReleaseEvent">QWidget::mouseReleaseEvent</a>().</p>
<!-- @@@mouseReleaseEvent -->
<!-- $$$moveEvent[overload1]$$$moveEventQMoveEvent* -->
<h3 class="fn" id="moveEvent"><a name="moveEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">moveEvent</span>(<span class="type"><a href="../qtgui/qmoveevent.html">QMoveEvent</a></span> *<i>moveEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#moveEvent">QWidget::moveEvent</a>().</p>
<!-- @@@moveEvent -->
<!-- $$$paintEvent[overload1]$$$paintEventQPaintEvent* -->
<h3 class="fn" id="paintEvent"><a name="paintEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">paintEvent</span>(<span class="type"><a href="../qtgui/qpaintevent.html">QPaintEvent</a></span> *<i>paintEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#paintEvent">QWidget::paintEvent</a>().</p>
<!-- @@@paintEvent -->
<!-- $$$resizeEvent[overload1]$$$resizeEventQResizeEvent* -->
<h3 class="fn" id="resizeEvent"><a name="resizeEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">resizeEvent</span>(<span class="type"><a href="../qtgui/qresizeevent.html">QResizeEvent</a></span> *<i>resizeEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#resizeEvent">QWidget::resizeEvent</a>().</p>
<p><b>Warning:</b> When maximizing or restoring a subwindow, the resulting call to this function may have an invalid <a href="../qtgui/qresizeevent.html#oldSize">QResizeEvent::oldSize</a>().</p>
<!-- @@@resizeEvent -->
<!-- $$$setOption[overload1]$$$setOptionSubWindowOptionbool -->
<h3 class="fn" id="setOption"><a name="setOption"></a><span class="type">void</span> QMdiSubWindow::<span class="name">setOption</span>(<span class="type"><a href="qmdisubwindow.html#SubWindowOption-enum">SubWindowOption</a></span> <i>option</i>, <span class="type">bool</span> <i>on</i> = true)</h3>
<p>If <i>on</i> is true, <i>option</i> is enabled on the subwindow; otherwise it is disabled. See <a href="qmdisubwindow.html#SubWindowOption-enum">SubWindowOption</a> for the effect of each option.</p>
<p><b>See also </b><a href="qmdisubwindow.html#SubWindowOption-enum">SubWindowOption</a> and <a href="qmdisubwindow.html#testOption">testOption</a>().</p>
<!-- @@@setOption -->
<!-- $$$setSystemMenu[overload1]$$$setSystemMenuQMenu* -->
<h3 class="fn" id="setSystemMenu"><a name="setSystemMenu"></a><span class="type">void</span> QMdiSubWindow::<span class="name">setSystemMenu</span>(<span class="type"><a href="qmenu.html">QMenu</a></span> *<i>systemMenu</i>)</h3>
<p>Sets <i>systemMenu</i> as the current system menu for this subwindow.</p>
<p>By default, each <a href="qmdisubwindow.html">QMdiSubWindow</a> has a standard system menu.</p>
<p>QActions for the system menu created by <a href="qmdisubwindow.html">QMdiSubWindow</a> will automatically be updated depending on the current window state; e.g&#x2e;, the minimize action will be disabled after the window is minimized.</p>
<p>QActions added by the user are not updated by <a href="qmdisubwindow.html">QMdiSubWindow</a>.</p>
<p><a href="qmdisubwindow.html">QMdiSubWindow</a> takes ownership of <i>systemMenu</i>; you do not have to delete it. Any existing menus will be deleted.</p>
<p><b>See also </b><a href="qmdisubwindow.html#systemMenu">systemMenu</a>() and <a href="qmdisubwindow.html#showSystemMenu">showSystemMenu</a>().</p>
<!-- @@@setSystemMenu -->
<!-- $$$setWidget[overload1]$$$setWidgetQWidget* -->
<h3 class="fn" id="setWidget"><a name="setWidget"></a><span class="type">void</span> QMdiSubWindow::<span class="name">setWidget</span>(<span class="type"><a href="qwidget.html#QWidget">QWidget</a></span> *<i>widget</i>)</h3>
<p>Sets <i>widget</i> as the internal widget of this subwindow. The internal widget is displayed in the center of the subwindow beneath the title bar.</p>
<p><a href="qmdisubwindow.html">QMdiSubWindow</a> takes temporary ownership of <i>widget</i>; you do not have to delete it. Any existing internal widget will be removed and reparented to the root window.</p>
<p><b>See also </b><a href="qmdisubwindow.html#widget">widget</a>().</p>
<!-- @@@setWidget -->
<!-- $$$showEvent[overload1]$$$showEventQShowEvent* -->
<h3 class="fn" id="showEvent"><a name="showEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">showEvent</span>(<span class="type"><a href="../qtgui/qshowevent.html">QShowEvent</a></span> *<i>showEvent</i>)</h3>
<p>Reimplemented from <a href="qwidget.html#showEvent">QWidget::showEvent</a>().</p>
<!-- @@@showEvent -->
<!-- $$$showShaded[overload1]$$$showShaded -->
<h3 class="fn" id="showShaded"><a name="showShaded"></a><code>[slot] </code><span class="type">void</span> QMdiSubWindow::<span class="name">showShaded</span>()</h3>
<p>Calling this function makes the subwindow enter the shaded mode. When the subwindow is shaded, only the title bar is visible.</p>
<p>Although shading is not supported by all styles, this function will still show the subwindow as shaded, regardless of whether support for shading is available. However, when used with styles without shading support, the user will be unable to return from shaded mode through the user interface (e.g&#x2e;, through a shade button in the title bar).</p>
<p><b>See also </b><a href="qmdisubwindow.html#isShaded">isShaded</a>().</p>
<!-- @@@showShaded -->
<!-- $$$showSystemMenu[overload1]$$$showSystemMenu -->
<h3 class="fn" id="showSystemMenu"><a name="showSystemMenu"></a><code>[slot] </code><span class="type">void</span> QMdiSubWindow::<span class="name">showSystemMenu</span>()</h3>
<p>Shows the system menu below the system menu icon in the title bar.</p>
<p><b>See also </b><a href="qmdisubwindow.html#setSystemMenu">setSystemMenu</a>() and <a href="qmdisubwindow.html#systemMenu">systemMenu</a>().</p>
<!-- @@@showSystemMenu -->
<!-- $$$sizeHint[overload1]$$$sizeHint -->
<h3 class="fn" id="sizeHint"><a name="sizeHint"></a><code>[virtual] </code><span class="type"><a href="../qtcore/qsize.html">QSize</a></span> QMdiSubWindow::<span class="name">sizeHint</span>() const</h3>
<p>Reimplemented from <a href="qwidget.html#sizeHint-prop">QWidget::sizeHint</a>().</p>
<!-- @@@sizeHint -->
<!-- $$$systemMenu[overload1]$$$systemMenu -->
<h3 class="fn" id="systemMenu"><a name="systemMenu"></a><span class="type"><a href="qmenu.html">QMenu</a></span> *QMdiSubWindow::<span class="name">systemMenu</span>() const</h3>
<p>Returns a pointer to the current system menu, or zero if no system menu is set. <a href="qmdisubwindow.html">QMdiSubWindow</a> provides a default system menu, but you can also set the menu with <a href="qmdisubwindow.html#setSystemMenu">setSystemMenu</a>().</p>
<p><b>See also </b><a href="qmdisubwindow.html#setSystemMenu">setSystemMenu</a>() and <a href="qmdisubwindow.html#showSystemMenu">showSystemMenu</a>().</p>
<!-- @@@systemMenu -->
<!-- $$$testOption[overload1]$$$testOptionSubWindowOption -->
<h3 class="fn" id="testOption"><a name="testOption"></a><span class="type">bool</span> QMdiSubWindow::<span class="name">testOption</span>(<span class="type"><a href="qmdisubwindow.html#SubWindowOption-enum">SubWindowOption</a></span> <i>option</i>) const</h3>
<p>Returns <code>true</code> if <i>option</i> is enabled; otherwise returns <code>false</code>.</p>
<p><b>See also </b><a href="qmdisubwindow.html#SubWindowOption-enum">SubWindowOption</a> and <a href="qmdisubwindow.html#setOption">setOption</a>().</p>
<!-- @@@testOption -->
<!-- $$$timerEvent[overload1]$$$timerEventQTimerEvent* -->
<h3 class="fn" id="timerEvent"><a name="timerEvent"></a><code>[virtual protected] </code><span class="type">void</span> QMdiSubWindow::<span class="name">timerEvent</span>(<span class="type"><a href="../qtcore/qtimerevent.html">QTimerEvent</a></span> *<i>timerEvent</i>)</h3>
<p>Reimplemented from <a href="../qtcore/qobject.html#timerEvent">QObject::timerEvent</a>().</p>
<!-- @@@timerEvent -->
<!-- $$$widget[overload1]$$$widget -->
<h3 class="fn" id="widget"><a name="widget"></a><span class="type"><a href="qwidget.html#QWidget">QWidget</a></span> *QMdiSubWindow::<span class="name">widget</span>() const</h3>
<p>Returns the current internal widget.</p>
<p><b>See also </b><a href="qmdisubwindow.html#setWidget">setWidget</a>().</p>
<!-- @@@widget -->
<!-- $$$windowStateChanged[overload1]$$$windowStateChangedQt::WindowStatesQt::WindowStates -->
<h3 class="fn" id="windowStateChanged"><a name="windowStateChanged"></a><code>[signal] </code><span class="type">void</span> QMdiSubWindow::<span class="name">windowStateChanged</span>(<span class="type"><a href="../qtcore/qt.html#WindowState-enum">Qt::WindowStates</a></span> <i>oldState</i>, <span class="type"><a href="../qtcore/qt.html#WindowState-enum">Qt::WindowStates</a></span> <i>newState</i>)</h3>
<p><a href="qmdisubwindow.html">QMdiSubWindow</a> emits this signal after the window state changes. <i>oldState</i> is the window state before it changed, and <i>newState</i> is the new, current state.</p>
<!-- @@@windowStateChanged -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>