Results 1 to 6 of 6

Thread: keyPressEvent() reimplementation

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2008
    Posts
    28
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: keyPressEvent() reimplementation

    Ok, guys I found it. I just understood what you meant.

    I was actually confused, because when you said that I have to pass it to the base class, for some stupid reason, I thought you meant as base class the widget in which I have as a child my class.

    Thank you for your help.

  2. #2
    Join Date
    Sep 2007
    Location
    Rome, GA
    Posts
    199
    Thanks
    14
    Thanked 41 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: keyPressEvent() reimplementation

    My apologies, I made a mistake referring to the "parent" widget in my comment, when I really meant the base class. A parent is of course something entirely different.

Similar Threads

  1. Replies: 6
    Last Post: 13th May 2008, 13:19
  2. QTreeWidget keyPressEvent
    By hgedek in forum Qt Programming
    Replies: 3
    Last Post: 18th August 2007, 16:33
  3. F2 keyPressEvent Not Capturing
    By Rayven in forum Qt Programming
    Replies: 1
    Last Post: 2nd August 2007, 20:41
  4. Handling of dead keys in keyPressEvent()
    By ghorwin in forum Qt Programming
    Replies: 4
    Last Post: 2nd December 2006, 12:26
  5. KeyPressEvent behaves strange, skips the F key.
    By pir in forum Qt Programming
    Replies: 1
    Last Post: 18th August 2006, 17:07

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.