Compatibility Members for QInputDialog

以下成員源於類 QInputDialog are part of the Qt compatibility layer. We advise against using them in new code.

靜態公共成員

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)

成員函數文檔編製

[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)

調用 getDouble ( parent , title , label , value , min , max , decimals , ok , flags ).

The name 參數被忽略。

[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 ) 代替。

The name 參數被忽略。

[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)

調用 getItem ( parent , title , label , list , current , editable , ok , flags ) 代替。

The name 參數被忽略。

[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)

調用 getText ( parent , title , label , echo , text , ok , flags ) 代替。

The name 參數被忽略。