Results 1 to 5 of 5

Thread: Problem with receiving events from QDateEdit

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Problem with receiving events from QDateEdit

    Try installing the event filter for date edit's children and see if any of them receives the focus out event.
    Something like:
    Qt Code:
    1. foreach (QObject* child, dateEdit->children())
    2. child->installEventFilter(eventFilter);
    To copy to clipboard, switch view to plain text mode 
    J-P Nurmi

  2. #2
    Join Date
    Apr 2006
    Location
    Narvik, NORWAY
    Posts
    9
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: Problem with receiving events from QDateEdit

    Thanks for your help.

    I found the problem. I ran uic on the form from DOS. And I think .NET did not realize that a new object-file was needed.
    I deleted the object-file to force the compiler to generate a new, and then my code worked.

Similar Threads

  1. Problem with events changing behavior of QListWidget
    By riklaunim in forum Qt Programming
    Replies: 10
    Last Post: 22nd December 2008, 19:10
  2. Problem in Mouse Press Events & Vectors
    By dheeraj in forum Qt Programming
    Replies: 2
    Last Post: 5th July 2008, 18:08
  3. QDateEdit emiting signal problem
    By anafor2004 in forum Newbie
    Replies: 1
    Last Post: 17th June 2008, 07:59
  4. Replies: 0
    Last Post: 2nd May 2007, 10:53
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.