Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
GrabWidget - QLineEdit including input cursor
walteste last edited by
Currently i am using the grabWidget function to capture a QLineEdit. Everything works just fine.
The only thing i miss is that i want the blinking input cursor also to be captured. This is not possible because the QLineEdit does not belong to the active Window. Is there any way that i can force the state to be like in an active window?
At the end i would like to receive images including the blinking cursor.
msx_br last edited by
Maybe void QWidget::setEditFocus ( bool enable ) ?