Results 1 to 3 of 3

Thread: keyup and keydown event

  1. #1
    Join Date
    Jan 2011
    Posts
    33
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default keyup and keydown event

    I want keep Keyup and Keydown event in QT but I can't find exactly event.
    I want keep it when user begin press and keep the key until release the key.
    I found keyPressEvent and keyReleaseEvent event But it occur continuously when I was pressing and holding the key.


    thank !
    Last edited by Con Nít; 23rd November 2011 at 16:45.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

  3. #3
    Join Date
    Jan 2011
    Posts
    33
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: keyup and keydown event

    No , I want to catch an event in Qwidget.

Similar Threads

  1. Replies: 10
    Last Post: 15th January 2010, 14:35
  2. how to combine keypress event and mousebuttonpress event?
    By hildebrand in forum Qt Programming
    Replies: 2
    Last Post: 26th May 2009, 23:08
  3. [Qt4.5] event(QEvent * event) freeze application
    By czlowiekcien in forum Newbie
    Replies: 2
    Last Post: 25th May 2009, 20:25
  4. mouseMoveEvent(QMouseEvent* event), event->button()
    By faraslacks in forum Qt Programming
    Replies: 1
    Last Post: 17th December 2008, 05:22
  5. Replies: 0
    Last Post: 23rd October 2008, 12:43

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.