[Qt-interest] QWidget::SetTabOrder question?

Jeffery MacEachern j.maceachern at gmail.com
Tue Aug 10 23:13:48 CEST 2010


Is QWidget::{next,previous}InFocusChain() what you're looking for?
 - Jeffery MacEachern



On Tue, Aug 10, 2010 at 12:59, Eric Clark <eclark at ara.com> wrote:
> Hello All,
>
>
>
> I was wondering if there is a way to get the tab order after it has already
> been set. For example, if I have this:
>
>
>
> QWidget *widget1 = new QWidget();
>
> QWidget *widget2 = new QWidget();
>
>
>
> QWidget::setTabOrder(widget1, widget2);
>
>
>
> Is there any way for me to ask what widget is first in the order and get
> back a pointer to widget1?
>
>
>
> Thank you in advance!
>
> Eric
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>




More information about the Qt-interest-old mailing list