Pyqt open virtual keyboard on touchscreen when input text/number is selected

Hi all, I’m writing a pyqt code and I would like open a virtual keyboard when an input text or number is selected as happen on smartphones. Do someone has suggestions, tutorials or example?

many thanks in advance

Hi, maybe something like that: