Qt 3 Support Members for QInputDialog The following class members are part of the Qt 3 support layer . They are provided to help you port old code to Qt 4. 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
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 ) [static]
Call getDouble(parent , title , label , value , min , max , decimals , ok , flags ).
The name parameter is ignored.
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 ) [static]
Call getInteger(parent , title , label , value , min , max , step , ok , flags ) instead.
The name parameter is ignored.
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 ) [static]
Call getItem(parent , title , label , list , current , editable , ok , flags ) instead.
The name parameter is ignored.
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 ) [static]
Call getText(parent , title , label , echo , text , ok , flags ) instead.
The name parameter is ignored.
Best Of
Actualités les plus lues
Le Qt Quarterly au hasard
Qt Quarterly est la revue trimestrielle proposée par Nokia et à destination des développeurs Qt. Ces articles d'une grande qualité technique sont rédigés par des experts Qt.
Lire l'article.
Communauté
Ressources
Liens utiles
Contact
Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).
Qt dans le magazine