InputDialog
Base classes
| Name | Children | Inherits |
|---|---|---|
| DialogMixin prettyqt.widgets.dialog |
||
| QInputDialog PySide6.QtWidgets QInputDialog(self, /, parent: PySide6.QtWidgets.QWidget | None \= None, flags: PySide6.QtCore.Qt.WindowType \= Default(Qt.WindowFlags)) -> None |
â‹” Inheritance diagram
graph TD
1718114883["widgets.InputDialog"]
2345124717["widgets.DialogMixin"]
829357528["widgets.WidgetMixin"]
3227531497["core.ObjectMixin"]
2751680898["builtins.object"]
625385617["gui.PaintDeviceMixin"]
4111287462["QtWidgets.QInputDialog"]
392105360["QtWidgets.QDialog"]
3620195106["QtWidgets.QWidget"]
3984060476["QtCore.QObject"]
37984305["Shiboken.Object"]
673956333["QtGui.QPaintDevice"]
2345124717 --> 1718114883
829357528 --> 2345124717
3227531497 --> 829357528
2751680898 --> 3227531497
625385617 --> 829357528
2751680898 --> 625385617
2751680898 --> 829357528
2751680898 --> 2345124717
4111287462 --> 1718114883
392105360 --> 4111287462
3620195106 --> 392105360
3984060476 --> 3620195106
37984305 --> 3984060476
2751680898 --> 37984305
673956333 --> 3620195106
37984305 --> 673956333
🛈 DocStrings
Bases: DialogMixin, QInputDialog
Simple convenience dialog to get a single value from the user.
Source code in prettyqt/widgets/inputdialog.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | |
get_input_mode() -> InputModeStr
get_text_echo_mode() -> widgets.lineedit.EchoModeStr
set_input_mode(mode: InputModeStr | mod.InputMode)
Set input mode.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mode
|
InputModeStr | InputMode
|
input mode to use |
required |
set_text_echo_mode(mode: widgets.lineedit.EchoModeStr | widgets.QLineEdit.EchoMode)
Set text echo mode.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mode
|
EchoModeStr | EchoMode
|
echo mode to use |
required |