QInputDialog Class Reference
[QtGui module]
Inherits QDialog.
Types
Methods
- __init__ (self, QWidget parent = None, Qt.WindowFlags flags = 0)
- QString cancelButtonText (self)
- QStringList comboBoxItems (self)
- done (self, int)
- int doubleDecimals (self)
- float doubleMaximum (self)
- float doubleMinimum (self)
- float doubleValue (self)
- InputMode inputMode (self)
- int intMaximum (self)
- int intMinimum (self)
- int intStep (self)
- int intValue (self)
- bool isComboBoxEditable (self)
- QString labelText (self)
- QSize minimumSizeHint (self)
- QString okButtonText (self)
- open (self)
- open (self, QObject, SLOT()SLOT())
- open (self, callable)
- InputDialogOptions options (self)
- setCancelButtonText (self, QString)
- setComboBoxEditable (self, bool)
- setComboBoxItems (self, QStringList)
- setDoubleDecimals (self, int)
- setDoubleMaximum (self, float)
- setDoubleMinimum (self, float)
- setDoubleRange (self, float, float)
- setDoubleValue (self, float)
- setInputMode (self, InputMode)
- setIntMaximum (self, int)
- setIntMinimum (self, int)
- setIntRange (self, int, int)
- setIntStep (self, int)
- setIntValue (self, int)
- setLabelText (self, QString)
- setOkButtonText (self, QString)
- setOption (self, InputDialogOption, bool on = True)
- setOptions (self, InputDialogOptions)
- setTextEchoMode (self, QLineEdit.EchoMode)
- setTextValue (self, QString)
- setVisible (self, bool)
- QSize sizeHint (self)
- bool testOption (self, InputDialogOption)
- QLineEdit.EchoMode textEchoMode (self)
- QString textValue (self)
Static Methods
- (float, bool ok) getDouble (QWidget, QString, QString, float value = 0, float min = -2147483647, float max = 2147483647, int decimals = 1, Qt.WindowFlags flags = 0)
- (int, bool ok) getInt (QWidget, QString, QString, int value = 0, int min = -2147483647, int max = 2147483647, int step = 1, Qt.WindowFlags flags = 0)
- (int, bool ok) getInteger (QWidget, QString, QString, int value = 0, int min = -2147483647, int max = 2147483647, int step = 1, Qt.WindowFlags flags = 0)
- (QString, bool ok) getItem (QWidget, QString, QString, QStringList, int current = 0, bool editable = True, Qt.WindowFlags flags = 0)
- (QString, bool ok) getText (QWidget, QString, QString, QLineEdit.EchoMode mode = QLineEdit.Normal, QString text = QString(), Qt.WindowFlags flags = 0)
Qt Signals
Detailed Description
Type Documentation
QInputDialog.InputDialogOption
QInputDialog.InputMode
Method Documentation
QInputDialog.__init__ (self, QWidget parent = None, Qt.WindowFlags flags = 0)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QString QInputDialog.cancelButtonText (self)
QStringList QInputDialog.comboBoxItems (self)
QInputDialog.done (self, int)
int QInputDialog.doubleDecimals (self)
float QInputDialog.doubleMaximum (self)
float QInputDialog.doubleMinimum (self)
float QInputDialog.doubleValue (self)
(float, bool ok) QInputDialog.getDouble (QWidget, QString, QString, float value = 0, float min = -2147483647, float max = 2147483647, int decimals = 1, Qt.WindowFlags flags = 0)
(int, bool ok) QInputDialog.getInt (QWidget, QString, QString, int value = 0, int min = -2147483647, int max = 2147483647, int step = 1, Qt.WindowFlags flags = 0)
(int, bool ok) QInputDialog.getInteger (QWidget, QString, QString, int value = 0, int min = -2147483647, int max = 2147483647, int step = 1, Qt.WindowFlags flags = 0)
(QString, bool ok) QInputDialog.getItem (QWidget, QString, QString, QStringList, int current = 0, bool editable = True, Qt.WindowFlags flags = 0)
(QString, bool ok) QInputDialog.getText (QWidget, QString, QString, QLineEdit.EchoMode mode = QLineEdit.Normal, QString text = QString(), Qt.WindowFlags flags = 0)
InputMode QInputDialog.inputMode (self)
int QInputDialog.intMaximum (self)
int QInputDialog.intMinimum (self)
int QInputDialog.intStep (self)
int QInputDialog.intValue (self)
bool QInputDialog.isComboBoxEditable (self)
QString QInputDialog.labelText (self)
QSize QInputDialog.minimumSizeHint (self)
QString QInputDialog.okButtonText (self)
QInputDialog.open (self)
QInputDialog.open (self, QObject, SLOT()SLOT())
QInputDialog.open (self, callable)
QInputDialog.setCancelButtonText (self, QString)
QInputDialog.setComboBoxEditable (self, bool)
QInputDialog.setComboBoxItems (self, QStringList)
QInputDialog.setDoubleDecimals (self, int)
QInputDialog.setDoubleMaximum (self, float)
QInputDialog.setDoubleMinimum (self, float)
QInputDialog.setDoubleRange (self, float, float)
QInputDialog.setDoubleValue (self, float)
QInputDialog.setInputMode (self, InputMode)
QInputDialog.setIntMaximum (self, int)
QInputDialog.setIntMinimum (self, int)
QInputDialog.setIntRange (self, int, int)
QInputDialog.setIntStep (self, int)
QInputDialog.setIntValue (self, int)
QInputDialog.setLabelText (self, QString)
QInputDialog.setOkButtonText (self, QString)
QInputDialog.setOption (self, InputDialogOption, bool on = True)
QInputDialog.setTextEchoMode (self, QLineEdit.EchoMode)
QInputDialog.setTextValue (self, QString)
QInputDialog.setVisible (self, bool)
QSize QInputDialog.sizeHint (self)
bool QInputDialog.testOption (self, InputDialogOption)
QString QInputDialog.textValue (self)
Qt Signal Documentation
void doubleValueChanged (double)
This is the default overload of this signal.
void doubleValueSelected (double)
This is the default overload of this signal.
void intValueChanged (int)
This is the default overload of this signal.
void intValueSelected (int)
This is the default overload of this signal.
void textValueChanged (const QString&)
This is the default overload of this signal.
void textValueSelected (const QString&)
This is the default overload of this signal.