I've inserted a simple
widget into my PyQt user interface. When the user wants to type text into that widget, he has to click on it. My program should be able to make this happen automatically at certain occasions, such that the user can start typing text into that
widget without the need for clicking on it.
I already got somewhere, but the issue is still not solved completely. When my program calls the
function, the cursor will start blinking at the end of the last line. But typing on your keyboard doesn't insert any text.
self.focusInEvent(QFocusEvent( QEvent.FocusIn ))
# Now the cursor blinks at the end of the last line.
# But typing on your keyboard doesn't insert any text.
# You still got to click explicitly onto the widget..
Any help is greatly appreciated :-)