Results 1 to 2 of 2

Thread: 'Alt+Tab' Operation for QT Apps containg dockable widgets

  1. #1
    Join Date
    Sep 2007
    Location
    Pune, India
    Posts
    60
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 'Alt+Tab' Operation for QT Apps containg dockable widgets

    Hi All,
    I am developing QT application which is having QMainWindow with central tab Widget and other 4/5 dockable widgets. Now I want to swich over from one dockable widget to another using keyboard short-cut like 'Shift+Tab' Or 'Ctrl+Tab'. This behaviour is same like
    on windows when we have more than one window opened, we can switch using 'Alt+Tab' which shows windows opened on taskbar.

    Please give me any clue/ suggestion to add this feature in my Qt based application.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 'Alt+Tab' Operation for QT Apps containg dockable widgets

    Popup a widget containing a list of icons representing each window and allow the user to iterate over them using the key combination you have chosen. When the last key (the modifier) is released, close the widget and call setFocus() and raise() on the dock widget you want to bring to front.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


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.