I don't think this is the place to make the check. If you don't want the application to show the keyboard simply do not install PosEventFilter in QApplication:
import Pos app.installEventFilter( Pos.PosEventFilter(mainWindow) )
I don't think this is the place to make the check. If you don't want the application to show the keyboard simply do not install PosEventFilter in QApplication:
import Pos tFilter( Pos.PosEventFil ter(mainWindow) )
app.installEven