Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Input method behavior of QComboBox



  • about QComboBox in editable mode
    when inputting a japanese text into a QComboBox
    the input method won't work after i did a pull down action once more
    it doesn't show candidate Kanji fot the input Hirakan string even if I pushed the space-Bar

    is this a Bug of QComboBox ?

    my circumstance is
    Mac OSX 10.8.5 MacBook air
    XCode 5.0.1
    QtMac 5.1.0


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Does it work properly for other languages like english ?



  • Hi,
    Two things jump to mind. Is there a validator set? The comboBox like all other QString related widgets use a UTF-16 format, but when UTF32 is inserted, it gets converted to two UTF-16 chars, so that shouldn't be a problem.
    Did you set a translator? Or is your OS set on english?? The default translator is set to your system language. On the other hand, a combobox will not try to translate, so it would accept any given string.
    Maybe post your code, that might help.
    Greetz


Log in to reply