PDA

View Full Version : QDockWidget's



tanminh
27th February 2008, 00:26
Hi,

Does anyone know to get information from the tabbed widget that results from nesting many dock widgets together? In particular I need to know which tab is the current tab, when the current tab changes...

Thanks.

wysota
27th February 2008, 00:33
Most probably the tabwidget containing the docs is the parent widget of each dock, so using QObject::parent() together with qobject_cast should get you access to QTabWidget API.