Compatibility Members for QInputDialog
The following members of class QInputDialogare part of the Qt compatibility layer. We advise against using them in new code.
Static Public Members
double | getDouble(const QString & title, const QString & label, double value = 0, double min = -2147483647, double max = 2147483647, int decimals = 1, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags flags = 0) |
int | getInteger(const QString & title, const QString & label, int value = 0, int min = -2147483647, int max = 2147483647, int step = 1, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags flags = 0) |
QString | getItem(const QString & title, const QString & label, const QStringList & list, int current = 0, bool editable = true, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags flags = 0) |
QString | getText(const QString & title, const QString & label, QLineEdit::EchoMode echo = QLineEdit::Normal, const QString & text = QString(), bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags flags = 0) |
- 1 static public member inherited from QWidget
- 13 static public members inherited from QPaintDevice
Member Function Documentation
[static]
double QInputDialog::getDouble(const QString & title, const QString & label, double value = 0, double min = -2147483647, double max = 2147483647, int decimals = 1, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags flags = 0)
Call getDouble(parent, title, label, value, min, max, decimals, ok, flags).
The name parameter is ignored.
[static]
int QInputDialog::getInteger(const QString & title, const QString & label, int value = 0, int min = -2147483647, int max = 2147483647, int step = 1, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags flags = 0)
Call getInteger(parent, title, label, value, min, max, step, ok, flags) instead.
The name parameter is ignored.
[static]
QString QInputDialog::getItem(const QString & title, const QString & label, const QStringList & list, int current = 0, bool editable = true, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags flags = 0)
Call getItem(parent, title, label, list, current, editable, ok, flags) instead.
The name parameter is ignored.
[static]
QString QInputDialog::getText(const QString & title, const QString & label, QLineEdit::EchoMode echo = QLineEdit::Normal, const QString & text = QString(), bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags flags = 0)
Call getText(parent, title, label, echo, text, ok, flags) instead.
The name parameter is ignored.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. 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.