Results 1 to 5 of 5

Thread: Android, character counter for TextEdit

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Android, character counter for TextEdit

    So after the first space the text doesn't actually change until the next space?

    I wonder why that triggers onTextChanged at all.

    Maybe the input method or virtual keyboard on Android holds modifications back, e.g. for auto completion, etc.?

    Cheers,
    _

  2. #2
    Join Date
    May 2016
    Posts
    5
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Android

    Default Re: Android, character counter for TextEdit

    Yes thats the problem.
    I don't use auto-completion and the characters show in the TextEdit field.
    Any idea how to write a text lenght counter in QML that works on Android?

    Cheers,

Similar Threads

  1. Qt for Android: Character Encoding problems.
    By HeReSY in forum Qt Programming
    Replies: 2
    Last Post: 18th March 2012, 21:48
  2. Hi Help me! Rev Counter developed
    By toro.86 in forum Jobs
    Replies: 2
    Last Post: 12th October 2010, 21:19
  3. Character by Character (Unicode?) File Reading
    By mclark in forum Qt Programming
    Replies: 4
    Last Post: 22nd April 2009, 15:28
  4. How to read QStringList character by character
    By iamjayanth in forum Qt Programming
    Replies: 4
    Last Post: 3rd April 2009, 11:25
  5. Counter widget
    By eu.x in forum Newbie
    Replies: 7
    Last Post: 27th February 2007, 20:30

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.