Hi mates!

How can I know if a QDockWidget is tabbed?
And if it is tabbed, how can I know if is selected or not?

Thanks in advance.