Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Input method behavior of QComboBox
Qt 6.11 is out! See what's new in the release blog

Input method behavior of QComboBox

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    toohuudoo
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Does it work properly for other languages like english ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • JeroentjehomeJ Offline
        JeroentjehomeJ Offline
        Jeroentjehome
        wrote on last edited by
        #3

        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

        Greetz, Jeroen

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved