• Jan-Marek Glogowski's avatar
    tdf#124118 Qt5 post non-code keys via ExtTextInput · 7140da91
    Jan-Marek Glogowski yazdı
    Originally I tried to implement the gtk3 way by shoving all key
    input in some way through the QInputMethod. But that turned out
    to be impossible, because all the nice input event filtering is
    privately hidden in the platform abstraction. And it took me
    much longer to realize that gtk3 is doing this.
    
    Still the delivered code point in the KeyEvent is correct, so
    this simply uses ExtTextInput events for non-code key events,
    if LO has enabled input method support for a frame.
    
    Change-Id: Ia9bb6baf013cf790deecb9675f8309e32294e982
    Reviewed-on: https://gerrit.libreoffice.org/73322
    Tested-by: Jenkins
    Reviewed-by: 's avatarJan-Marek Glogowski <glogow@fbihome.de>
    7140da91
Qt5Widget.hxx 2.94 KB