1. 20 Jan, 2017 - 3 commits
    • Jarkko Koivikko's avatar
      Fix incorrect text highlight in OpenWnnInputMethod · 0371486a
      Jarkko Koivikko authored
      
      Wrong length was given for the remainder highlight attribute,
      which caused the highlight to overflow.
      
      Steps to reproduce:
      1. [English] type abcdefgh and move cursor to middle of text abcd|efgh
      2. [Japanese] enter word "hiragana"
      3. [Japanese] press left arrow ←
      
      Observed result:
      Pre-edit text highlight (light blue) exceeds the pre-edit text.
      
      Expected result:
      Pre-edit text highlight should not exceed the pre-edit text.
      
      Change-Id: I66002357e2fc008ccdd6f89db8baaab64f9d5070
      Reviewed-by: default avatarJarkko Koivikko <jarkko.koivikko@code-q.fi>
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      0371486a
    • Jarkko Koivikko's avatar
      Add new feature "Auto commit word" · 9bf05a32
      Jarkko Koivikko authored
      
      This feature, when enabled, automatically commits the remaining single
      word in the word candidate list, when there was initially multiple
      candidates.
      
      This feature can be enabled from settings using
      VirtualKeyboardSettings.wordSelectionList.autoCommitWord property.
      
      [ChangeLog] Added support for automatic selection of the only remaining
      word in the suggestion list.
      
      Change-Id: Iecfafcaeb3ccb72e1d8e53b92c395b0d1dc84163
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      9bf05a32
    • Jarkko Koivikko's avatar
      Automatically hide word candidate list · 839a0afe
      Jarkko Koivikko authored
      
      This change adds support for automatically hiding word candidate list
      when inactive. This feature includes the following enhancements:
      
      - Added new settings:
        * VirtualKeyboardSettings.wordCandidateList.autoHideDelay
        * VirtualKeyboardSettings.wordCandidateList.alwaysVisible
      - Automatic hiding of word candidate list when inactive and when
        autoHideDelay elapsed.
      - alwaysVisible setting restores the old functionality.
      - Added new signal selectionListsChanged() to input method, allowing
        the input method to dynamically allocate or deallocate selection
        lists.
      - HunspellInputMethod does not allocate selection list when
        dictionary cannot be loaded, or Qt::ImhNoPredictiveText is enabled.
        Also, it will no longer use pre-edit text in this case.
      - OpenWnnInputMethod does not allocate selection list if not needed.
      
      [ChangeLog] Automatically hide word candidate list when inactive.
      
      Change-Id: Ifa95ae8a7c47a96719ffdc2929601ff2ef9c0d2e
      Reviewed-by: default avatarGordan Markus <gordan.markus@pelagicore.com>
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      839a0afe
  2. 14 Jan, 2017 - 4 commits
    • Jarkko Koivikko's avatar
      Avoid unnecessary input method queries during input panel animation · e2c4fde1
      Jarkko Koivikko authored
      
      Add an example binding for InputContext.animating property.
      This is for avoiding unnecessary queries during animation.
      
      Change-Id: I654e0152ff7514e92abb7036ba51afd14ee63fc6
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      e2c4fde1
    • Jarkko Koivikko's avatar
      Prefer single input method query instead of multiple · 72d68339
      Jarkko Koivikko authored
      
      QInputMethodQueryEvent supports multiple queries.
      
      This change uses this feature in InputContext::update() method.
      
      Using single combined query is little faster (approx. 35-40%) than 7
      separate queries.
      
      Change-Id: Ie968f40c91f6b61ad52c051eccf1ca932e8d2cc5
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      72d68339
    • Jarkko Koivikko's avatar
      Reset symbol mode · 0b52c34b
      Jarkko Koivikko authored
      
      Reset symbol mode when:
      - keyboard is dismissed
      - input focus changes.
      
      Change-Id: I59207543d25755409e400a365777933fb23c2196
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      0b52c34b
    • Jarkko Koivikko's avatar
      Add language popup · 0a8c8dfc
      Jarkko Koivikko authored
      
      This change adds language popup as an alternative method for
      selecting the input language.
      
      The language popup is enabled when the active style supports it.
      This change adds the support for the default style.
      
      The popup opens from the change language key with single tap
      and can be dismissed by tapping anywhere else on the keyboard.
      
      The old toggle method for changing the input language is still
      available and supported (can be enabled easily from keyboard style).
      
      Some basic tests are included in this change.
      
      [ChangeLog] Added language selection popup for faster selection of
      input language.
      
      Change-Id: Ie3773f1d0cac78dee8237285e8596fe57c8bb5e4
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      0a8c8dfc
  3. 02 Jan, 2017 - 1 commit
  4. 20 Dec, 2016 - 1 commit
  5. 16 Dec, 2016 - 1 commit
  6. 12 Dec, 2016 - 1 commit
  7. 07 Dec, 2016 - 1 commit
    • Jarkko Koivikko's avatar
      Add new property InputContext.uppercase · adabc870
      Jarkko Koivikko authored
      
      This property is true when either InputContext.shift or
      InputContext.capsLock is true.
      
      [ChangeLog] Add new property InputContext.uppercase, which is set to
      true when either InputContext.shift or InputContext.capsLock is true
      
      Change-Id: I06ce14c6f626bfe176e6d914e60417ec2009cd5c
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      adabc870
  8. 28 Nov, 2016 - 1 commit
  9. 26 Nov, 2016 - 1 commit
  10. 25 Nov, 2016 - 3 commits
  11. 23 Nov, 2016 - 1 commit
  12. 16 Nov, 2016 - 1 commit
    • Gordan Markuš's avatar
      Implement external keyboard layouts support · d51fd422
      Gordan Markuš authored
      
      * Add possibility to override and exclude built-in keyboard layouts
      * Add QT_VIRTUALKEYBOARD_LAYOUT_PATH environment variable specifying
       the layout location on the file system or inside a qrc resource
      * Update documentation accordingly
      
      [ChangeLog] Add support for external keyboard layouts, which allows overriding and exclusion of the built-in keyboard layouts
      
      Task-number: QTBUG-54254
      Change-Id: I960b942c031221d29dbdf1cabed78be8d32f43ef
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      d51fd422
  13. 06 Nov, 2016 - 1 commit
  14. 28 Oct, 2016 - 2 commits
  15. 24 Oct, 2016 - 1 commit
  16. 21 Oct, 2016 - 1 commit
  17. 19 Oct, 2016 - 1 commit
  18. 14 Oct, 2016 - 3 commits
  19. 13 Oct, 2016 - 1 commit
  20. 12 Oct, 2016 - 2 commits
  21. 27 Sep, 2016 - 1 commit
    • Bramastyo Harimukti's avatar
      Implemented proper double click behavior of shift handler · e8b7dcea
      Bramastyo Harimukti authored
      
      Previously, there is nothing to separate whether the button
      command is a single click or a double click. Every time we
      click the shift button, it always look for the second click
      and always activate the caps lock. There is no time limit to
      specify if there will be a second click and always recognized
      the upcoming click to activate the caps lock. The correct be-
      havior of a shift button is that a single click is used to
      enable the upper-case and automatically turned into lower case
      when the next letter is typed. Another case, within a specific
      time, if a second click comes, the caps-lock is activated and
      keep the upper-case mode, otherwise the upcoming click is used
      to abort the upper-case and change the keyboard mode back to
      lower-case.
      
      Unit test is also updated.
      
      [ChangeLog] Changed behavior of shift handler to only activate
      caps lock if the shift key is double-clicked.
      
      Change-Id: Ia04a61ca6df5407f37eb73b9de65c6ccd0128547
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      e8b7dcea
  22. 19 Sep, 2016 - 1 commit
  23. 17 Sep, 2016 - 1 commit
  24. 12 Sep, 2016 - 1 commit
  25. 29 Aug, 2016 - 2 commits
  26. 10 Aug, 2016 - 1 commit
  27. 02 Aug, 2016 - 1 commit
  28. 01 Aug, 2016 - 1 commit