Results 1 to 3 of 3

Thread: Key Events for QListView

  1. #1
    Join Date
    Feb 2006
    Posts
    32
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Question Key Events for QListView

    Hello,

    in QT3 the QListView had some convenience signals emitted, signalling key press events.

    Is there anything like this in QT4? I'm using the M/V approach, and I am loathed to subclass QListView for something that simple (especially since that way I can't add the widget so conveniently with the designer any more).

    Thanks Ben

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Key Events for QListView

    Then use event filters.

  3. The following user says thank you to jacek for this useful post:

    bmesing (4th April 2006)

  4. #3
    Join Date
    Feb 2006
    Posts
    32
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Key Events for QListView

    Cool, I never knew about that one.
    Thanks!

Similar Threads

  1. QGraphicsView Mouse Events
    By tomf in forum Qt Programming
    Replies: 5
    Last Post: 29th July 2008, 15:03
  2. Replies: 9
    Last Post: 22nd June 2008, 22:26
  3. Replies: 1
    Last Post: 21st August 2007, 16:25
  4. How to suppress user defined events in processEvents()
    By Artschi in forum Qt Programming
    Replies: 5
    Last Post: 5th July 2007, 10:17
  5. QStackerWidget and mouse events
    By high_flyer in forum Qt Programming
    Replies: 3
    Last Post: 25th April 2006, 19:25

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.