<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qdialog.cpp --> <title>Obsolete Members for QDialog | Qt Widgets 5.11</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 ><a href="../qtdoc/index.html">Qt 5.11</a></td><td ><a href="qtwidgets-index.html">Qt Widgets</a></td><td ><a href="qtwidgets-module.html">C++ Classes</a></td><td >QDialog</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.11.2 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Obsolete Members for QDialog</h1> <p><b>The following members of class <a href="qdialog.html">QDialog</a> are obsolete.</b> They are provided to keep old source code working. We strongly advise against using them in new code.</p> <h2>Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QWidget *</td><td class="memItemRight bottomAlign"><b><a href="qdialog-obsolete.html#extension">extension</a></b>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>Qt::Orientation </td><td class="memItemRight bottomAlign"><b><a href="qdialog-obsolete.html#orientation">orientation</a></b>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qdialog-obsolete.html#setExtension">setExtension</a></b>(QWidget *<i>extension</i>)</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qdialog-obsolete.html#setOrientation">setOrientation</a></b>(Qt::Orientation <i>orientation</i>)</td></tr> </table></div> <ul> <li class="fn">3 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li> <li class="fn">2 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li> </ul> <h2>Public Slots</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>void </td><td class="memItemRight bottomAlign"><b><a href="qdialog-obsolete.html#showExtension">showExtension</a></b>(bool <i>showIt</i>)</td></tr> </table></div> <h2>Member Function Documentation</h2> <!-- $$$extension[overload1]$$$extension --> <h3 class="fn" id="extension"><a name="extension"></a><span class="type"><a href="qwidget.html#QWidget">QWidget</a></span> *QDialog::<span class="name">extension</span>() const</h3> <p>Returns the dialog's extension or 0 if no extension has been defined.</p> <p>Instead of using this functionality, we recommend that you simply call <a href="qwidget.html#show">show</a>() or <a href="qwidget.html#hide">hide</a>() on the part of the dialog that you want to use as an extension. See the <a href="qtwidgets-dialogs-extension-example.html">Extension Example</a> for details.</p> <p><b>See also </b><a href="qdialog-obsolete.html#setExtension">setExtension</a>(), <a href="qdialog-obsolete.html#showExtension">showExtension</a>(), and <a href="qdialog-obsolete.html#setOrientation">setOrientation</a>().</p> <!-- @@@extension --> <!-- $$$orientation[overload1]$$$orientation --> <h3 class="fn" id="orientation"><a name="orientation"></a><span class="type">Qt::Orientation</span> QDialog::<span class="name">orientation</span>() const</h3> <p>Returns the dialog's extension orientation.</p> <p>Instead of using this functionality, we recommend that you simply call <a href="qwidget.html#show">show</a>() or <a href="qwidget.html#hide">hide</a>() on the part of the dialog that you want to use as an extension. See the <a href="qtwidgets-dialogs-extension-example.html">Extension Example</a> for details.</p> <p><b>See also </b><a href="qdialog-obsolete.html#setOrientation">setOrientation</a>() and <a href="qdialog-obsolete.html#extension">extension</a>().</p> <!-- @@@orientation --> <!-- $$$setExtension[overload1]$$$setExtensionQWidget* --> <h3 class="fn" id="setExtension"><a name="setExtension"></a><span class="type">void</span> QDialog::<span class="name">setExtension</span>(<span class="type"><a href="qwidget.html#QWidget">QWidget</a></span> *<i>extension</i>)</h3> <p>Sets the widget, <i>extension</i>, to be the dialog's extension, deleting any previous extension. The dialog takes ownership of the extension. Note that if 0 is passed any existing extension will be deleted. This function must only be called while the dialog is hidden.</p> <p>Instead of using this functionality, we recommend that you simply call <a href="qwidget.html#show">show</a>() or <a href="qwidget.html#hide">hide</a>() on the part of the dialog that you want to use as an extension. See the <a href="qtwidgets-dialogs-extension-example.html">Extension Example</a> for details.</p> <p><b>See also </b><a href="qdialog-obsolete.html#extension">extension</a>(), <a href="qdialog-obsolete.html#showExtension">showExtension</a>(), and <a href="qdialog-obsolete.html#setOrientation">setOrientation</a>().</p> <!-- @@@setExtension --> <!-- $$$setOrientation[overload1]$$$setOrientationQt::Orientation --> <h3 class="fn" id="setOrientation"><a name="setOrientation"></a><span class="type">void</span> QDialog::<span class="name">setOrientation</span>(<span class="type">Qt::Orientation</span> <i>orientation</i>)</h3> <p>If <i>orientation</i> is <a href="../qtcore/qt.html#Orientation-enum">Qt::Horizontal</a>, the extension will be displayed to the right of the dialog's main area. If <i>orientation</i> is <a href="../qtcore/qt.html#Orientation-enum">Qt::Vertical</a>, the extension will be displayed below the dialog's main area.</p> <p>Instead of using this functionality, we recommend that you simply call <a href="qwidget.html#show">show</a>() or <a href="qwidget.html#hide">hide</a>() on the part of the dialog that you want to use as an extension. See the <a href="qtwidgets-dialogs-extension-example.html">Extension Example</a> for details.</p> <p><b>See also </b><a href="qdialog-obsolete.html#orientation">orientation</a>() and <a href="qdialog-obsolete.html#setExtension">setExtension</a>().</p> <!-- @@@setOrientation --> <!-- $$$showExtension[overload1]$$$showExtensionbool --> <h3 class="fn" id="showExtension"><a name="showExtension"></a><code>[slot] </code><span class="type">void</span> QDialog::<span class="name">showExtension</span>(<span class="type">bool</span> <i>showIt</i>)</h3> <p>If <i>showIt</i> is true, the dialog's extension is shown; otherwise the extension is hidden.</p> <p>Instead of using this functionality, we recommend that you simply call <a href="qwidget.html#show">show</a>() or <a href="qwidget.html#hide">hide</a>() on the part of the dialog that you want to use as an extension. See the <a href="qtwidgets-dialogs-extension-example.html">Extension Example</a> for details.</p> <p><b>See also </b><a href="qwidget.html#show">show</a>(), <a href="qdialog-obsolete.html#setExtension">setExtension</a>(), and <a href="qdialog-obsolete.html#setOrientation">setOrientation</a>().</p> <!-- @@@showExtension --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2018 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>