summaryrefslogtreecommitdiffstats
path: root/src/controls/Styles/Base/TextFieldStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Base/TextFieldStyle.qml')
-rw-r--r--src/controls/Styles/Base/TextFieldStyle.qml34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/controls/Styles/Base/TextFieldStyle.qml b/src/controls/Styles/Base/TextFieldStyle.qml
index d999551c0..dc25033aa 100644
--- a/src/controls/Styles/Base/TextFieldStyle.qml
+++ b/src/controls/Styles/Base/TextFieldStyle.qml
@@ -159,4 +159,38 @@ Style {
anchors.fill: parent
}
}
+
+ /*! The cursor handle.
+ \since QtQuick.Controls.Styles 1.3
+
+ The parent of the handle is positioned to the top left corner of
+ the cursor position. The interactive area is determined by the
+ geometry of the handle delegate.
+
+ The following read-only properties are available within the scope
+ of the handle delegate:
+ \table
+ \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed.
+ \row \li \b {styleData.position} : int \li The character position of the handle.
+ \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on.
+ \endtable
+ */
+ property Component cursorHandle
+
+ /*! The selection handle.
+ \since QtQuick.Controls.Styles 1.3
+
+ The parent of the handle is positioned to the top left corner of
+ the first selected character. The interactive area is determined
+ by the geometry of the handle delegate.
+
+ The following read-only properties are available within the scope
+ of the handle delegate:
+ \table
+ \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed.
+ \row \li \b {styleData.position} : int \li The character position of the handle.
+ \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on.
+ \endtable
+ */
+ property Component selectionHandle
}