summaryrefslogtreecommitdiff
path: root/doc/classes/SpinBox.xml
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2022-10-16 20:37:35 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2022-10-29 09:58:42 +0800
commit3aed3edc0677c59ebd96175410d9cc1f5427c053 (patch)
tree3110dbcf3d4e140d5d9f640f10deaa8a1c63bcd3 /doc/classes/SpinBox.xml
parent11e1bac768349ae821647a582282458e83b8d72b (diff)
Allow selecting SpinBox & LineEdit text when focus enters
Diffstat (limited to 'doc/classes/SpinBox.xml')
-rw-r--r--doc/classes/SpinBox.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/SpinBox.xml b/doc/classes/SpinBox.xml
index 8df039794a..93799b58f0 100644
--- a/doc/classes/SpinBox.xml
+++ b/doc/classes/SpinBox.xml
@@ -56,6 +56,9 @@
<member name="prefix" type="String" setter="set_prefix" getter="get_prefix" default="&quot;&quot;">
Adds the specified [code]prefix[/code] string before the numerical value of the [SpinBox].
</member>
+ <member name="select_all_on_focus" type="bool" setter="set_select_all_on_focus" getter="is_select_all_on_focus" default="false">
+ If [code]true[/code], the [SpinBox] will select the whole text when the [LineEdit] gains focus. Clicking the up and down arrows won't trigger this behavior.
+ </member>
<member name="suffix" type="String" setter="set_suffix" getter="get_suffix" default="&quot;&quot;">
Adds the specified [code]suffix[/code] string after the numerical value of the [SpinBox].
</member>