[Qt-interest] Bring tabified dock to front

Paul Miller paul at fxtech.com
Tue Aug 25 16:48:57 CEST 2009


Lars Amsel wrote:
> I have log outputs which are collected in tabified docks. When a new log is 
> created I want to bring the corresponding dock to front. No matter where I 
> insert this dock the active tab doesn't change.
> 
> Is there any way to activate one specific dock in a tabified dock list?

If you have a pointer to the dock then this should work:

// make sure it's actually visible (ie. not previously closed)
dock->show();
// make sure it's on top
dock->raise();

> 
> regards
> 
> Lars
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
> 


-- 
Paul Miller | paul at fxtech.com | www.fxtech.com | Got Tivo?




More information about the Qt-interest-old mailing list