Results 1 to 2 of 2

Thread: Tab focus on QToolBar QToolButtons

  1. #1
    Join Date
    May 2007
    Posts
    131
    Thanks
    17
    Thanked 4 Times in 2 Posts

    Default Tab focus on QToolBar QToolButtons

    I'm developing some software with a GUI that must be controllable with only 4 buttons. I plan on mapping the buttons to TAB, SHIFT-TAB, ENTER and ESC. The TAB/SHIFT-TAB conveniently allows me to tab through fields and buttons.

    Unfortunately, I can't work out a way to be able to tab through a QToolbar's QToolButtons. Setting the focus policy of the toolbar and its individual buttons doesn't seem to work. Does anyone know of a solution that will allow me to tab through the tool buttons in a toolbar?

  2. #2
    Join Date
    May 2007
    Posts
    131
    Thanks
    17
    Thanked 4 Times in 2 Posts

    Default Re: Tab focus on QToolBar QToolButtons

    Does no one have any ideas?

Similar Threads

  1. Qt Designer Setting "defaultAction" of QToolButtons in Qt designer.
    By LonelyStar in forum Qt Tools
    Replies: 1
    Last Post: 7th October 2011, 20:46
  2. Window focus issues (How to force focus to a window?)
    By montylee in forum Qt Programming
    Replies: 3
    Last Post: 25th April 2009, 01:00
  3. QWidget containing two QToolButtons
    By momesana in forum Qt Programming
    Replies: 2
    Last Post: 1st October 2007, 23:25
  4. Various icon sizes for QToolButtons on QToolbar
    By Erlendhg in forum Qt Programming
    Replies: 4
    Last Post: 30th June 2007, 18:35
  5. Focus issues / Setting multiple focus
    By ComputerPhreak in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2007, 06:09

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.