PDA

View Full Version : QDockWidget's



tanminh
26th February 2008, 23: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
26th February 2008, 23: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.