Results 1 to 2 of 2

Thread: floating/tabbed DockWidgets and hotkeys

  1. #1
    Join Date
    Jul 2012
    Posts
    248
    Thanks
    29
    Thanked 15 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default floating/tabbed DockWidgets and hotkeys

    hi,

    i have a widget that has a hotkey. THe widget is now assigned to a QDockWIdget.
    The hotkeys work fine if the DockWidget is docked and not tabbed.

    If the DockWidget is floating however, the hotkeys will not work.
    Same thing when multiple DockWidgets have been "tabified".

    I would expect the DockWidget that currently has the focus to receive the hotkeys.
    What am i expected to expect and what can i do about this?

    have a nice weeekend,

  2. #2
    Join Date
    Jul 2012
    Posts
    248
    Thanks
    29
    Thanked 15 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: floating/tabbed DockWidgets and hotkeys

    ok, i just noticed Qt emmits this at runtime:

    Ambiguous shortcut overload
    .
    true, there are several of these widgets open, but i would have assumed that only the top one (current focus) receives the shortcut?

Similar Threads

  1. How do I have some system-wide global hotkeys?
    By hakermania in forum Newbie
    Replies: 1
    Last Post: 11th May 2011, 09:08
  2. Raising main Window above floating DockWidgets
    By skimpax in forum Qt Programming
    Replies: 2
    Last Post: 23rd December 2009, 09:03
  3. whatsThis hotkeys for a Mac?
    By wconstan in forum Newbie
    Replies: 1
    Last Post: 28th November 2009, 13:12
  4. how to make dockwidgets tabbed in Qt Designer?
    By dbzhang800 in forum Qt Tools
    Replies: 0
    Last Post: 15th August 2009, 06:01
  5. DockWidgets problem
    By faldzip in forum Qt Programming
    Replies: 5
    Last Post: 30th January 2009, 20:37

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.