Solved How I can to paste text at cursor position of focused input element?
-
I have a GridView with ToolButtons (kind of keyboard). I want a click on a symbol to copy it to the cursor position regardless of which input element it is in (based on focus)
Thank you in advance! -
@maratoriy You can iterate over https://doc.qt.io/qt-5/qobject.html#children and check which child has focus using https://doc.qt.io/qt-5/qwidget.html#focus-prop
-
@maratoriy You can iterate over https://doc.qt.io/qt-5/qobject.html#children and check which child has focus using https://doc.qt.io/qt-5/qwidget.html#focus-prop
-
@jsulm A lot of thanks!