working with TextInput{}
Solved
QML and Qt Quick
-
I was browsing the docs on
TextInput{}
and I am a bit confused by something. There seems to me to be a clickable area but there is noonClicked
property. I would like to setup theTextInput{}
s/t when a user clicks inside the box, instead of placing the cursor, it highlights the whole string. Is that possible? -
TextInput { ... onActiveFocusChanged: { if (activeFocus) { selectAll(); } } }