We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e9825b commit 1bb47b0Copy full SHA for 1bb47b0
tests/qinputdialog.py
@@ -0,0 +1,39 @@
1
+from typing import TYPE_CHECKING
2
+
3
+from PySide6.QtWidgets import QInputDialog
4
5
+text: str
6
+int_value: int
7
+float_value: float
8
9
+if TYPE_CHECKING:
10
+ text, ok = QInputDialog.getText(
11
+ None,
12
+ "Title",
13
+ "Please enter some value:",
14
+ )
15
16
+ text, ok = QInputDialog.getMultiLineText(
17
18
19
20
21
22
+ text, ok = QInputDialog.getItem(
23
24
25
26
+ ['aaaa', 'bbbb', 'cccc']
27
28
29
+ int_value, ok = QInputDialog.getInt(
30
31
32
33
34
35
+ float_value, ok = QInputDialog.getDouble(
36
37
38
39
0 commit comments