Results 1 to 8 of 8

Thread: QTabWidget: Shortcuts & Clicks

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Apr 2008
    Posts
    39
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTabWidget: Shortcuts & Clicks

    What kind of event arrives in case of a keyboard shortcut press? I've tried eventfilters to all page widgets already but I didn't find the "hook" event type.

    Bye

    Edit: Actions, stored in the subclass of QTabWidget will absolutely not recognized if the corresponding shortcut is pressed (key sequence).

    Another edit: I will try to catch QEvent::KeyPress in the event filter for all page widgets.

    Final edit here: The tabwidget does not get key events at all then, because it has no focus. Damn...
    Last edited by youkai; 19th July 2009 at 10:28.

Similar Threads

  1. Segment fault using a Qt plugin with QTabWidget
    By tarod in forum Qt Programming
    Replies: 2
    Last Post: 14th July 2009, 10:27
  2. QTabWidget transparent background problem
    By destroyar0 in forum Qt Programming
    Replies: 10
    Last Post: 25th June 2009, 12:19
  3. Changing the background of QTabWidget
    By ike in forum Qt Tools
    Replies: 2
    Last Post: 7th November 2008, 13:43
  4. QTabWidget clicking problems after addTab()
    By DonSam in forum Qt Programming
    Replies: 0
    Last Post: 14th October 2008, 08:28
  5. How do I add new tab to QTabWidget
    By pcmantinker in forum Qt Programming
    Replies: 2
    Last Post: 6th June 2008, 04:24

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.