1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
<?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" />
<!-- qinputdialog.cpp -->
<title>Qt 4.8: Qt 3 Support Members for QInputDialog</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="content">
<a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
</div>
<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><a href="qtgui.html">QtGui</a></li>
<li>QInputDialog</li>
</ul>
</div>
</div>
<div class="content mainContent">
<h1 class="title">Qt 3 Support Members for QInputDialog</h1>
<p><b>The following class members are part of the <a href="qt3support.html">Qt 3 support layer</a>.</b> They are provided to help you port old code to Qt 4. We advise against using them in new code.</p>
<p><ul><li><a href="qinputdialog.html">QInputDialog class reference</a></li></ul></p>
<h2>Static Public Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> double </td><td class="memItemRight bottomAlign"><b><a href="qinputdialog-qt3.html#getDouble-2">getDouble</a></b> ( const QString & <i>title</i>, const QString & <i>label</i>, double <i>value</i> = 0, double <i>min</i> = -2147483647, double <i>max</i> = 2147483647, int <i>decimals</i> = 1, bool * <i>ok</i> = 0, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0, Qt::WindowFlags <i>flags</i> = 0 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qinputdialog-qt3.html#getInteger-2">getInteger</a></b> ( const QString & <i>title</i>, const QString & <i>label</i>, int <i>value</i> = 0, int <i>min</i> = -2147483647, int <i>max</i> = 2147483647, int <i>step</i> = 1, bool * <i>ok</i> = 0, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0, Qt::WindowFlags <i>flags</i> = 0 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qinputdialog-qt3.html#getItem-2">getItem</a></b> ( const QString & <i>title</i>, const QString & <i>label</i>, const QStringList & <i>list</i>, int <i>current</i> = 0, bool <i>editable</i> = true, bool * <i>ok</i> = 0, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0, Qt::WindowFlags <i>flags</i> = 0 )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qinputdialog-qt3.html#getText-2">getText</a></b> ( const QString & <i>title</i>, const QString & <i>label</i>, QLineEdit::EchoMode <i>echo</i> = QLineEdit::Normal, const QString & <i>text</i> = QString(), bool * <i>ok</i> = 0, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0, Qt::WindowFlags <i>flags</i> = 0 )</td></tr>
</table>
<ul>
<li class="fn">1 static public member inherited from <a href="qwidget.html#static-public-members">QWidget</a></li>
<li class="fn">13 static public members inherited from <a href="qpaintdevice.html#static-public-members">QPaintDevice</a></li>
</ul>
<h2>Member Function Documentation</h2>
<!-- $$$getDouble$$$getDoubleconstQString&constQString&doubledoubledoubleintbool*QWidget*constchar*Qt::WindowFlags -->
<h3 class="fn"><a name="getDouble-2"></a><span class="type">double</span> QInputDialog::<span class="name">getDouble</span> ( const <span class="type"><a href="qstring.html">QString</a></span> & <i>title</i>, const <span class="type"><a href="qstring.html">QString</a></span> & <i>label</i>, <span class="type">double</span> <i>value</i> = 0, <span class="type">double</span> <i>min</i> = -2147483647, <span class="type">double</span> <i>max</i> = 2147483647, <span class="type">int</span> <i>decimals</i> = 1, <span class="type">bool</span> * <i>ok</i> = 0, <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>parent</i> = 0, const <span class="type">char</span> * <i>name</i> = 0, <span class="type"><a href="qt.html#WindowType-enum">Qt::WindowFlags</a></span> <i>flags</i> = 0 )<tt> [static]</tt></h3>
<p>Call getDouble(<i>parent</i>, <i>title</i>, <i>label</i>, <i>value</i>, <i>min</i>, <i>max</i>, <i>decimals</i>, <i>ok</i>, <i>flags</i>).</p>
<p>The <i>name</i> parameter is ignored.</p>
<!-- @@@getDouble -->
<!-- $$$getInteger$$$getIntegerconstQString&constQString&intintintintbool*QWidget*constchar*Qt::WindowFlags -->
<h3 class="fn"><a name="getInteger-2"></a><span class="type">int</span> QInputDialog::<span class="name">getInteger</span> ( const <span class="type"><a href="qstring.html">QString</a></span> & <i>title</i>, const <span class="type"><a href="qstring.html">QString</a></span> & <i>label</i>, <span class="type">int</span> <i>value</i> = 0, <span class="type">int</span> <i>min</i> = -2147483647, <span class="type">int</span> <i>max</i> = 2147483647, <span class="type">int</span> <i>step</i> = 1, <span class="type">bool</span> * <i>ok</i> = 0, <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>parent</i> = 0, const <span class="type">char</span> * <i>name</i> = 0, <span class="type"><a href="qt.html#WindowType-enum">Qt::WindowFlags</a></span> <i>flags</i> = 0 )<tt> [static]</tt></h3>
<p>Call getInteger(<i>parent</i>, <i>title</i>, <i>label</i>, <i>value</i>, <i>min</i>, <i>max</i>, <i>step</i>, <i>ok</i>, <i>flags</i>) instead.</p>
<p>The <i>name</i> parameter is ignored.</p>
<!-- @@@getInteger -->
<!-- $$$getItem$$$getItemconstQString&constQString&constQStringList&intboolbool*QWidget*constchar*Qt::WindowFlags -->
<h3 class="fn"><a name="getItem-2"></a><span class="type"><a href="qstring.html">QString</a></span> QInputDialog::<span class="name">getItem</span> ( const <span class="type"><a href="qstring.html">QString</a></span> & <i>title</i>, const <span class="type"><a href="qstring.html">QString</a></span> & <i>label</i>, const <span class="type"><a href="qstringlist.html">QStringList</a></span> & <i>list</i>, <span class="type">int</span> <i>current</i> = 0, <span class="type">bool</span> <i>editable</i> = true, <span class="type">bool</span> * <i>ok</i> = 0, <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>parent</i> = 0, const <span class="type">char</span> * <i>name</i> = 0, <span class="type"><a href="qt.html#WindowType-enum">Qt::WindowFlags</a></span> <i>flags</i> = 0 )<tt> [static]</tt></h3>
<p>Call getItem(<i>parent</i>, <i>title</i>, <i>label</i>, <i>list</i>, <i>current</i>, <i>editable</i>, <i>ok</i>, <i>flags</i>) instead.</p>
<p>The <i>name</i> parameter is ignored.</p>
<!-- @@@getItem -->
<!-- $$$getText$$$getTextconstQString&constQString&QLineEdit::EchoModeconstQString&bool*QWidget*constchar*Qt::WindowFlags -->
<h3 class="fn"><a name="getText-2"></a><span class="type"><a href="qstring.html">QString</a></span> QInputDialog::<span class="name">getText</span> ( const <span class="type"><a href="qstring.html">QString</a></span> & <i>title</i>, const <span class="type"><a href="qstring.html">QString</a></span> & <i>label</i>, <span class="type"><a href="qlineedit.html#EchoMode-enum">QLineEdit::EchoMode</a></span> <i>echo</i> = QLineEdit::Normal, const <span class="type"><a href="qstring.html">QString</a></span> & <i>text</i> = QString(), <span class="type">bool</span> * <i>ok</i> = 0, <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>parent</i> = 0, const <span class="type">char</span> * <i>name</i> = 0, <span class="type"><a href="qt.html#WindowType-enum">Qt::WindowFlags</a></span> <i>flags</i> = 0 )<tt> [static]</tt></h3>
<p>Call getText(<i>parent</i>, <i>title</i>, <i>label</i>, <i>echo</i>, <i>text</i>, <i>ok</i>, <i>flags</i>) instead.</p>
<p>The <i>name</i> parameter is ignored.</p>
<!-- @@@getText -->
<div class="ft">
<span></span>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2012 Nokia Corporation 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>
Nokia, Qt and their respective logos are trademarks of Nokia Corporation
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>
</body>
</html>
|