Results 1 to 9 of 9

Thread: How to catch "ENTER" with keyPress?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Posts
    6
    Thanks
    1
    Thanked 4 Times in 1 Post

    Default How to catch "ENTER" with keyPress?

    Im writing a little game in opengl game using QT(in c++). I got a fullscreen widget and have been using keyPress for keys like down,left,up,down. But when I tried with Enter and Space it don't work. Actually without doing anything, pressing "Enter" messes up animations and stuff. I read some in the documentation and it says it has something to do with focusing maybe? Like with tab, do I have to reimplement QEvent? How? =]

    Im using QT 3.2.2 and its my first experience with QT.
    Last edited by lumber44; 14th February 2006 at 06:13.

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.