[Qt-interest] Newbie: how to shift focus to a tab widget

john doe thebiggestbangtheory at gmail.com
Mon May 4 00:08:59 CEST 2009


hello all,
            I am still learning the ropes. :-) I am facing a small issue
regarding how to highlight a part of my main form. I have a form with a tab
widget. On the first "page" of the tab widget I have a button, when pressed
it should shift focus to a text box on the second "page" of the tab widget.
Should I use QFocusevent? from the docs it seems like something like a
keyboard hit or something needs to happen for the focusevent to kick.

I want that when the button is clicked some computation is done and once
finished the focus shifts to a text box showing the errors/output. I want

If anyone can point me to any tutorials/code it would be awesome.

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090503/9d90d435/attachment.html 


More information about the Qt-interest-old mailing list