Results 1 to 3 of 3

Thread: Setting Tab order

  1. #1
    Join Date
    Sep 2008
    Posts
    32
    Thanks
    7

    Default Setting Tab order

    Hi,

    My exe is having two ActiveX QT DLLS. I need to set the tab order for these i.e when I reach at the last widget of the first control and then press tab it should go to next DLLS.

    Now when I press the tab after last widget in the first control again it goes to first widget of the same control.

    Please tell me how to release focus from the first control so that I can put it on the second control. Is there any signal generated by the widgets when tab is pressed.

    Thanks in advance.

    Regards
    Rakesh

  2. #2
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    517
    Thanks
    21
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Setting Tab order

    have you read about

    Qt Code:
    1. QWidget::setTabOrder(QWidget *, QWidget*)
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    Sep 2008
    Posts
    32
    Thanks
    7

    Default Re: Setting Tab order

    Hi,

    I am setting the tab order by using the function QWidget::setTabOrder(QWidget *, QWidget*) only. This thing I can use inside one control only.

    My requirement is different. As I mentioned in my first post, In a Qt container, I am having two QT DLLS. How to set tab order from the first DLL to second DLL in the container.

    If I can get any signal from a widget when tab is pressed so I can handle that inside the container.

    Regards
    Rakesh

Similar Threads

  1. Tab order ignored in QGroupBox
    By adskol in forum Newbie
    Replies: 2
    Last Post: 5th April 2010, 05:42
  2. Order of include files [c++ related]
    By Lykurg in forum Newbie
    Replies: 1
    Last Post: 10th November 2008, 12:56
  3. QTreeView: get current sort column and order
    By supergillis in forum Qt Programming
    Replies: 1
    Last Post: 14th October 2008, 17:25
  4. form setting
    By mickey in forum Qt Tools
    Replies: 5
    Last Post: 27th September 2006, 00:28
  5. Tab Order Settings in a QDialog widgets
    By vinnu in forum Qt Programming
    Replies: 10
    Last Post: 21st September 2006, 16: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.