QInputDialog¶

PyQt5.QtWidgets.QInputDialog

Inherits from QDialog.

Description¶

TODO

Enums¶

InputDialogOption

TODO

Member

Value

Description

NoButtons

TODO

TODO

UseListViewForComboBoxItems

TODO

TODO

UsePlainTextEditForTextInput

TODO

TODO


InputMode

TODO

Member

Value

Description

DoubleInput

TODO

TODO

IntInput

TODO

TODO

TextInput

TODO

TODO

Methods¶

__init__(parent: QWidget = None, flags: Union[WindowFlags, WindowType] = Qt.WindowFlags())

TODO


cancelButtonText() → str

TODO


comboBoxItems() → List[str]

TODO


done(int)

TODO


doubleDecimals() → int

TODO


doubleMaximum() → float

TODO


doubleMinimum() → float

TODO


doubleStep() → float

TODO


doubleValue() → float

TODO


@staticmethod
getDouble(QWidget, str, str, value: float = 0, min: float = -2147483647, max: float = 2147483647, decimals: int = 1, flags: Union[WindowFlags, WindowType] = Qt.WindowFlags()) → (float, bool)

TODO


@staticmethod
getDouble(QWidget, str, str, float, float, float, int, Union[WindowFlags, WindowType], float) → (float, bool)

TODO


@staticmethod
getInt(QWidget, str, str, value: int = 0, min: int = -2147483647, max: int = 2147483647, step: int = 1, flags: Union[WindowFlags, WindowType] = Qt.WindowFlags()) → (int, bool)

TODO


@staticmethod
getItem(QWidget, str, str, Iterable[str], current: int = 0, editable: bool = True, flags: Union[WindowFlags, WindowType] = Qt.WindowFlags(), inputMethodHints: Union[InputMethodHints, InputMethodHint] = ImhNone) → (str, bool)

TODO


@staticmethod
getMultiLineText(QWidget, str, str, text: str = '', flags: Union[WindowFlags, WindowType] = Qt.WindowFlags(), inputMethodHints: Union[InputMethodHints, InputMethodHint] = ImhNone) → (str, bool)

TODO


@staticmethod
getText(QWidget, str, str, echo: EchoMode = Normal, text: str = '', flags: Union[WindowFlags, WindowType] = Qt.WindowFlags(), inputMethodHints: Union[InputMethodHints, InputMethodHint] = ImhNone) → (str, bool)

TODO


inputMode() → InputMode

TODO


intMaximum() → int

TODO


intMinimum() → int

TODO


intStep() → int

TODO


intValue() → int

TODO


isComboBoxEditable() → bool

TODO


labelText() → str

TODO


minimumSizeHint() → QSize

TODO


okButtonText() → str

TODO


open()

TODO


open(PYQT_SLOT)

TODO


options() → InputDialogOptions

TODO


setCancelButtonText(str)

TODO


setComboBoxEditable(bool)

TODO


setComboBoxItems(Iterable[str])

TODO


setDoubleDecimals(int)

TODO


setDoubleMaximum(float)

TODO


setDoubleMinimum(float)

TODO


setDoubleRange(float, float)

TODO


setDoubleStep(float)

TODO


setDoubleValue(float)

TODO


setInputMode(InputMode)

TODO


setIntMaximum(int)

TODO


setIntMinimum(int)

TODO


setIntRange(int, int)

TODO


setIntStep(int)

TODO


setIntValue(int)

TODO


setLabelText(str)

TODO


setOkButtonText(str)

TODO


setOption(InputDialogOption, on: bool = True)

TODO


setOptions(Union[InputDialogOptions, InputDialogOption])

TODO


setTextEchoMode(EchoMode)

TODO


setTextValue(str)

TODO


setVisible(bool)

TODO


sizeHint() → QSize

TODO


testOption(InputDialogOption) → bool

TODO


textEchoMode() → EchoMode

TODO


textValue() → str

TODO

Signals¶

doubleValueChanged(float)

TODO


doubleValueSelected(float)

TODO


intValueChanged(int)

TODO


intValueSelected(int)

TODO


textValueChanged(str)

TODO


textValueSelected(str)

TODO