Results 1 to 6 of 6

Thread: QLineEdit lost focus

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2007
    Posts
    76
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QLineEdit lost focus

    I have an application with some QLineEdit elements. Their signal lostfocus is conected with the QDialog slot which i defined "SetKoraki()".

    Then i have a button "btnGraf" which opens another window - a widget derivered from a QwtPlot. When the window opened the main dialog lost the focus and it is OK.
    What i don't understand is why the QLineEdit set the signal lostfocus??
    I've tried to workaround whit using the function isModified(), but it looks like the text in the QLineEdit has been changed. but it hasn't?

    the project sourec files are attached.
    Attached Files Attached Files

Similar Threads

  1. QAction shortcuts from QLineEdit
    By discostu in forum Qt Programming
    Replies: 3
    Last Post: 4th March 2007, 15:43
  2. Focus issues / Setting multiple focus
    By ComputerPhreak in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2007, 06:09
  3. Tab/Enter focus problem
    By b1 in forum Qt Programming
    Replies: 4
    Last Post: 23rd October 2006, 23:34
  4. Replies: 3
    Last Post: 8th September 2006, 18:54
  5. How can i ask if a qlineedit get focus..
    By otortos in forum Newbie
    Replies: 1
    Last Post: 7th April 2006, 18:23

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.