Results 1 to 2 of 2

Thread: lineEdit->backspace function problem

  1. #1
    Join Date
    Sep 2008
    Posts
    84
    Thanks
    28
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default lineEdit->backspace function problem

    hi...
    I'm using lineEdit->backspace() function.
    While deleting character from string in lineEdit can we capture the chacracter which has been deleted.i.e.

    If string contains Hello & 'o' is deleted using backspace. My Question is can the character 'o' be captured.

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: lineEdit->backspace function problem

    As long as you do it programatically (i.e. call a function), you can grab the text before and after, then find the difference.

Similar Threads

  1. QString static callback function from CURL
    By tpf80 in forum Qt Programming
    Replies: 12
    Last Post: 16th May 2007, 20:47
  2. Problem with swprintf function
    By moowy in forum General Programming
    Replies: 6
    Last Post: 8th May 2007, 20:47
  3. Replies: 16
    Last Post: 7th March 2006, 15:57
  4. lQtGuid4 error - Compiler setting problem
    By Kapil in forum Installation and Deployment
    Replies: 7
    Last Post: 10th February 2006, 09:30
  5. K&R's strcpy function - problem with pointers
    By jamadagni in forum General Programming
    Replies: 7
    Last Post: 8th January 2006, 15:16

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.