Sophie

Sophie

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

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" />
<!-- qdatetimeedit.cpp -->
  <title>QDateEdit 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 >QDateEdit</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-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QDateEdit Class</h1>
<!-- $$$QDateEdit-brief -->
<p>The <a href="qdateedit.html">QDateEdit</a> class provides a widget for editing dates based on the <a href="qdatetimeedit.html">QDateTimeEdit</a> widget. <a href="#details">More...</a></p>
<!-- @@@QDateEdit -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QDateEdit&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"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qdatetimeedit.html">QDateTimeEdit</a></td></tr></table></div><ul>
<li><a href="qdateedit-members.html">List of all members, including inherited members</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="qdateedit.html#QDateEdit">QDateEdit</a></b>(QWidget *<i>parent</i> = Q_NULLPTR)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qdateedit.html#QDateEdit-1">QDateEdit</a></b>(const QDate &amp;<i>date</i>, QWidget *<i>parent</i> = Q_NULLPTR)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qdateedit.html#dtor.QDateEdit">~QDateEdit</a></b>()</td></tr>
</table></div>
<ul>
<li class="fn">45 public functions inherited from <a href="qdatetimeedit.html#public-functions">QDateTimeEdit</a></li>
<li class="fn">30 public functions inherited from <a href="qabstractspinbox.html#public-functions">QAbstractSpinBox</a></li>
<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>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">16 properties inherited from <a href="qdatetimeedit.html#properties">QDateTimeEdit</a></li>
<li class="fn">12 properties inherited from <a href="qabstractspinbox.html#properties">QAbstractSpinBox</a></li>
<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>
<li class="fn">3 public slots inherited from <a href="qdatetimeedit.html#public-slots">QDateTimeEdit</a></li>
<li class="fn">4 public slots inherited from <a href="qabstractspinbox.html#public-slots">QAbstractSpinBox</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="../qtcore/qobject.html#public-slots">QObject</a></li>
<li class="fn">3 signals inherited from <a href="qdatetimeedit.html#signals">QDateTimeEdit</a></li>
<li class="fn">1 signal inherited from <a href="qabstractspinbox.html#signals">QAbstractSpinBox</a></li>
<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>
<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">12 protected functions inherited from <a href="qdatetimeedit.html#protected-functions">QDateTimeEdit</a></li>
<li class="fn">20 protected functions inherited from <a href="qabstractspinbox.html#protected-functions">QAbstractSpinBox</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>
<!-- $$$QDateEdit-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qdateedit.html">QDateEdit</a> class provides a widget for editing dates based on the <a href="qdatetimeedit.html">QDateTimeEdit</a> widget.</p>
<p class="centerAlign"><img src="images/windows-dateedit.png" alt="" /></p><p>Many of the properties and functions provided by <a href="qdateedit.html">QDateEdit</a> are implemented in <a href="qdatetimeedit.html">QDateTimeEdit</a>. These are the relevant properties of this class:</p>
<ul>
<li><a href="qdatetimeedit.html#date-prop">date</a> holds the date displayed by the widget.</li>
<li><a href="qdatetimeedit.html#minimumDate-prop">minimumDate</a> defines the minimum (earliest) date that can be set by the user.</li>
<li><a href="qdatetimeedit.html#maximumDate-prop">maximumDate</a> defines the maximum (latest) date that can be set by the user.</li>
<li><a href="qdatetimeedit.html#displayFormat-prop">displayFormat</a> contains a string that is used to format the date displayed in the widget.</li>
</ul>
</div>
<p><b>See also </b><a href="qtimeedit.html">QTimeEdit</a> and <a href="qdatetimeedit.html">QDateTimeEdit</a>.</p>
<!-- @@@QDateEdit -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QDateEdit[overload1]$$$QDateEditQWidget* -->
<h3 class="fn" id="QDateEdit"><a name="QDateEdit"></a>QDateEdit::<span class="name">QDateEdit</span>(<span class="type"><a href="qwidget.html#QWidget">QWidget</a></span> *<i>parent</i> = Q_NULLPTR)</h3>
<p>Constructs an empty date editor with a <i>parent</i>.</p>
<!-- @@@QDateEdit -->
<!-- $$$QDateEdit$$$QDateEditconstQDate&QWidget* -->
<h3 class="fn" id="QDateEdit-1"><a name="QDateEdit-1"></a>QDateEdit::<span class="name">QDateEdit</span>(const <span class="type"><a href="../qtcore/qdate.html">QDate</a></span> &amp;<i>date</i>, <span class="type"><a href="qwidget.html#QWidget">QWidget</a></span> *<i>parent</i> = Q_NULLPTR)</h3>
<p>Constructs an empty date editor with a <i>parent</i>. The date is set to <i>date</i>.</p>
<!-- @@@QDateEdit -->
<!-- $$$~QDateEdit[overload1]$$$~QDateEdit -->
<h3 class="fn" id="dtor.QDateEdit"><a name="dtor.QDateEdit"></a>QDateEdit::<span class="name">~QDateEdit</span>()</h3>
<p>Destructor.</p>
<!-- @@@~QDateEdit -->
</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>