1. 15 May, 2017 - 1 commit
  2. 30 Jan, 2017 - 1 commit
    • Jarkko Koivikko's avatar
      Add full screen input mode for super wide screens · ad44e00c
      Jarkko Koivikko authored
      
      In full screen mode the virtual keyboard replicates the contents of
      the focused input field to full screen input field located on top
      of keyboard.
      
      This mode can be activated by VirtualKeyboardSettings.fullScreenMode.
      
      [ChangeLog] Added full screen input mode for super wide screens.
      
      Change-Id: Ib2650c04767fb0945cc2bedc5b1801d254a15a41
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      ad44e00c
  3. 20 Jan, 2017 - 2 commits
    • 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
  4. 14 Jan, 2017 - 2 commits
    • 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
  5. 25 Nov, 2016 - 1 commit
  6. 23 Nov, 2016 - 1 commit
  7. 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
  8. 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
  9. 20 Jul, 2016 - 1 commit
    • Jeremy Katz's avatar
      Enable loading styles from multiple import paths · a717da9b
      Jeremy Katz authored
      
      Import was previously allowed from two locations:
      * qrc:/QtQuick/VirtualKeyboard/content/styles/
      * The first import path containing
        QtQuick/VirtualKeyboard/Styles/
      
      This prevents an application-supplied style outside of
      these locations from being used, even if the style name is unique.
      
      [ChangeLog] Added support for styles in any Qml import path
      under the directory QtQuick/VirtualKeyboard/Styles/<style>
      
      Change-Id: Ie6034709182f182efacb0317e49d095d51ced5a6
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      a717da9b
  10. 20 May, 2016 - 1 commit
  11. 12 May, 2016 - 1 commit
  12. 26 Apr, 2016 - 2 commits
  13. 12 Apr, 2016 - 1 commit
  14. 12 Jan, 2016 - 1 commit
  15. 07 Dec, 2015 - 2 commits
    • Jarkko Koivikko's avatar
      [1/2] Fix static build · 8db16a42
      Jarkko Koivikko authored
      
      This change modifies the files that exist in the 1.3 version.
      
      Fix static build of the virtual keyboard:
      - Included instructions for the static build in the build doc.
      - Added missing resource initialization macros to the plugin.cpp.
      - Register QML module dependencies conditionally in the virtual
        keyboard plugin initialization.
      - Added missing attributes to the styles plugin qmldir file.
      - Renamed StylesPlugin class to QtVirtualKeyboardStylesPlugin.
      
      Change-Id: Idc1d35fbd95bd19932baaab13849a4a65d4e944f
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@theqtcompany.com>
      8db16a42
    • Jarkko Koivikko's avatar
      Improve build configuration · 97d9648f
      Jarkko Koivikko authored
      
      Add new configuration flags to simplify the customization process
      of the virtual keyboard.
      
      - lang-<code> flag enables the specified language.
      - lang-all flag enables all the languages.
      - handwriting flag enables the handwriting input method (t9write
        or lipi-toolkit)
      
      Updated test cases and also fixed the virtual keyboard for single
      language support.
      
      Change-Id: I599816bed591bd193ad26cef0e9bf4812146e865
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@theqtcompany.com>
      97d9648f
  16. 27 Nov, 2015 - 2 commits
    • Jarkko Koivikko's avatar
      Add Zhuyin input method for Traditional Chinese · 8177619e
      Jarkko Koivikko authored
      
      Zhuyin can be enabled with CONFIG+=tcime or CONFIG+=zhuyin qmake flags.
      Note that CONFIG+=tcime enables both Cangjie and Zhuyin input methods.
      You can also enable the Cangjie input method with CONFIG+=cangjie,
      in which case the Zhuyin input method will not be activated, unless
      the config contains CONFIG+=zhuyin also.
      
      Change-Id: Iddea01f3e3d7f1dafff80e17da5b7cf89d4cfc55
      Task-number: QTRD-3726
      Reviewed-by: default avatarRainer Keller <rainer.keller@theqtcompany.com>
      Reviewed-by: default avatarLiang Qi <liang.qi@theqtcompany.com>
      8177619e
    • Jarkko Koivikko's avatar
      Fix key click simulation on low performance hardware · 52cd240a
      Jarkko Koivikko authored
      
      The key click sequence contains waitForRendering call between the
      mouse press and release. If the UI happens to make some garbage
      collection during the call, the key press could trigger long key
      press and confuse the test case.
      
      Now the time between the mouse press and release is made constant,
      so the garbage collection cannot interfere the test sequence. The
      waitForRendering is now called after the mouse release.
      
      Change-Id: I5f1b995d92a2ee01a355574f58bbf909906caaf7
      Reviewed-by: default avatarRainer Keller <rainer.keller@theqtcompany.com>
      52cd240a
  17. 29 Oct, 2015 - 3 commits
  18. 27 Oct, 2015 - 3 commits
    • Jarkko Koivikko's avatar
      Stabilize arrow key navigation tests · 3c8195bd
      Jarkko Koivikko authored
      
      The arrow key navigation tests could fail due to bug in a test function.
      
      Previously the navigation key press and the highlight rectangle could
      go out of sync due to highlight animation. Now the test waits until the
      highlight animation is completed and then proceeds with the test, making
      the test cases more robust and not dependent of system performance.
      
      Change-Id: I72bc15de988a212fa2e96230bc346bbfd3fdea41
      Reviewed-by: default avatarRainer Keller <rainer.keller@theqtcompany.com>
      3c8195bd
    • Jarkko Koivikko's avatar
      Add Cangjie input method for Traditional Chinese · 81c0d7d4
      Jarkko Koivikko authored
      This change adds Cangjie input method for Traditional Chinese.
      
      The input method is based on the TCIME input method for Android.
      
      https://code.google.com/p/android-traditional-chinese-ime/
      
      
      
      The Cangjie input method is enabled by adding CONFIG+=tcime into
      qmake command line.
      
      The version of the Cangjie input is v3.
      
      Change-Id: Ibc49484d1277c332fc17e9b49b4227256ad88d5a
      Reviewed-by: default avatarLiang Qi <liang.qi@theqtcompany.com>
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@theqtcompany.com>
      Reviewed-by: default avatarRainer Keller <rainer.keller@theqtcompany.com>
      81c0d7d4
    • Jarkko Koivikko's avatar
      Add support for smallText in the BaseKey · 251a86bd
      Jarkko Koivikko authored
      
      This change adds support for smallText label in the key and also
      modifies the default behavior of alternative keys.
      
      The smallText property in the BaseKey is by default set to default
      alternative key. The keyboard layout can modify the smallText if
      necessary. However, the smallText is not visible by default. It can
      be set to visible at KeyboardLayout, KeyboardRow, KeyboardColumn or
      Key level.
      
      Previously the alternative keys included the "parent" key as the
      default highlighted item in the list. This behavior is now changed,
      and the "parent" item is filtered out from the effective list presented
      to user. Rationale for this is that if the smallText feature would be
      turned on for existing layouts, they would render the same key label
      twice.
      
      Change-Id: I543b2d3355be640d80f751444944a6dcefbbce73
      Reviewed-by: default avatarRainer Keller <rainer.keller@theqtcompany.com>
      251a86bd
  19. 26 Oct, 2015 - 2 commits
  20. 15 Oct, 2015 - 3 commits
    • Jarkko Koivikko's avatar
      Add word reselection feature · c46ab8f7
      Jarkko Koivikko authored
      
      This change adds support for word reselection.
      
      By definition, word reselection means the ability to reselect any of the
      existing words in the text by touching/clicking the word.
      
      This change implements previously unused functionality provided by
      QPlatformInputContext::invokeMethod(). This functionality is essential
      for handling touch events inside a pre-edit text. The virtual keyboard
      example app was previously blocking this function by overriding the
      default touch handling for TextInput and TextEdit components.
      
      Word reselection is currently implemented for the following input methods:
      - HunspellInputMethod
      - LipiInputMethod (by inheriting HunspellInputMethod)
      - T9WriteInputMethod.
      
      Change-Id: I66731e2d2831d4b3d43dac0503cd564ffb4d490f
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@theqtcompany.com>
      c46ab8f7
    • Jarkko Koivikko's avatar
      Fix full screen handwriting numbers test · 4b033851
      Jarkko Koivikko authored
      
      The full screen numbers test was actually testing the keyboard
      handwriting input.
      
      Change-Id: I20787b347c841fef4b73e222d9c2822d0878e40e
      Reviewed-by: default avatarRainer Keller <rainer.keller@theqtcompany.com>
      4b033851
    • Jarkko Koivikko's avatar
      Remove InputPanel creation from the version check tests · a3ec863e
      Jarkko Koivikko authored
      
      By creating an additional InputPanel the previous tests were
      confusing the other tests. Now only the import statement is
      tested on the VirtualKeyboard version tests.
      
      Change-Id: I9eb1df3cfc6fd23581baaf64369f3431e6ecd0fb
      Reviewed-by: default avatarRainer Keller <rainer.keller@theqtcompany.com>
      a3ec863e
  21. 13 Oct, 2015 - 1 commit
  22. 12 Oct, 2015 - 1 commit
  23. 09 Oct, 2015 - 1 commit
  24. 07 Oct, 2015 - 5 commits