[Qt-interest] Focusing on a tabified QDockWidget

Roland Krause rokrau at yahoo.com
Wed Aug 19 18:51:04 CEST 2009


how about raise()  ;-) 



>
>From: Brian Zambrano <brianz at gmail.com>
>To: qt-interest at trolltech.com
>Sent: Monday, August 17, 2009 12:46:14 PM
>Subject: [Qt-interest] Focusing on a tabified QDockWidget
>
>>I'm have three QDockWidgets which are tabbed at startup using QMainWindow.tabifyDockWidget.  Based on certain actions, I'd like to select one of these tabs and bring it to focus, or, on top of the other two.  I've tried using setVisible and setWindowState(Qt.WindowActive), but nothing changes.
>
>Is there a way to programmatically select a tabbed dock widget?
>
>Thanks,
>BZ 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090819/8b014d9e/attachment.html 


More information about the Qt-interest-old mailing list