Important: Please read the Qt Code of Conduct -

How to detect whether predictive text in vkb is active or not? - Qt

  • I know that if I want to disable predictive text in vkb if my QTextEdit has focus, I can do it like this

    @ mChatInputLine->setInputMethodHints(Qt::ImhNoPredictiveText);@

    On user selects numeric key on vkb, predictive text is disabled by default. Is there any way to detect this?
    Thing is, I need to change the geometry of QTextEdit if predictive text is on or off.

    Please suggest.


  • Which version of Qt are you using and which platform are you targeting?

  • I am targetting symbian devices based on Qt and I am using Qt 4.7.3

    I am using Nokia 1.1 Qt SDK.

Log in to reply