Results 1 to 2 of 2

Thread: Event timestamp

  1. #1
    Join Date
    Jul 2009
    Location
    Berkeley
    Posts
    4
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question Event timestamp

    Hi, I'm new on Qt, and I am trying to port an existing application from Carbon to QT (Due to the lack of 64 bit UI support of Carbon ).

    Can anyone suggest a way that I would be able to retrieve a timestamp for an event. i. e. the time when the event happened as opposed to the time when the event is processed?

    I appreciate your time reading this question, and trying to advice me.

    Thanks in advance,
    Ronen

  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: Event timestamp

    Can you do that in Carbon? I thought that you always get the event processing time, at best... if not, you can access the "raw" native events from QApplication's macEventFilter function http://doc.trolltech.com/4.5/qapplic...macEventFilter .

Similar Threads

  1. Replies: 4
    Last Post: 19th February 2009, 11:10
  2. Custom event gets not propagated to the top level widget
    By nightghost in forum Qt Programming
    Replies: 0
    Last Post: 29th January 2009, 09:06
  3. Event propagation direction
    By spraff in forum Qt Programming
    Replies: 0
    Last Post: 6th December 2008, 21:03
  4. Qt event queue overloading?
    By gct in forum Qt Programming
    Replies: 3
    Last Post: 17th March 2008, 18:39
  5. Workload in a QThread blocks main application's event loop ?
    By 0xBulbizarre in forum Qt Programming
    Replies: 14
    Last Post: 9th April 2006, 21:55

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