Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74703

Incomplete documentation about Qt::WA_InputMethodEnabled attribute

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.13.0 Beta 1
    • Documentation
    • None

    Description

      In the documentation about Qt::WA_InputMethodEnabled attribute here: https://doc.qt.io/qt-5/qt.html#WidgetAttribute-enum it is described as:

      "Enables input methods for Asian languages. Must be set when creating custom text editing widgets."

      It does not concern only Asian languages, it must be enabled for virtual on screen keyboards to work. In https://doc.qt.io/qt-5/qinputmethodevent.html is described as:

      ... the Qt::WA_InputMethodEnabled window attribute must be set explicitly (using the QWidget::setAttribute() function) in order to receive input method events.

      So although Asian languages is a very frequent use case, it controls whether the widget receives input method events at all.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            docteam Qt Documentation Team
            radolin Radoslav Kolev
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes