summaryrefslogtreecommitdiffstats
path: root/src/controls/TextField.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/TextField.qml')
-rw-r--r--src/controls/TextField.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/controls/TextField.qml b/src/controls/TextField.qml
index b173c95db..7217caa21 100644
--- a/src/controls/TextField.qml
+++ b/src/controls/TextField.qml
@@ -401,6 +401,8 @@ Control {
Note that if there is a \l validator or \l inputMask set on the text
field, the signal will only be emitted if the input is in an acceptable
state.
+
+ The corresponding handler is \c onAccepted.
*/
signal accepted()
@@ -413,6 +415,8 @@ Control {
inputMask set on the text field and enter/return is pressed, this
signal will only be emitted if the input follows
the inputMask and the validator returns an acceptable state.
+
+ The corresponding handler is \c onEditingFinished.
*/
signal editingFinished()
@@ -549,6 +553,9 @@ Control {
/*! \internal */
property alias __contentWidth: textInput.contentWidth
+ /*! \internal */
+ property alias __baselineOffset: textInput.baselineOffset
+
style: Qt.createComponent(Settings.style + "/TextFieldStyle.qml", textInput)
activeFocusOnTab: true