In PyQt4, is it possible to detach tabs from a QTabWidget?
问题 Many professional applications (such as web browsers) give the user the ability to detach tabs from a tab bar. Surprisingly, Qt4 does not provide this functionality. Some might say that this functionality is provided by using tabified QDockWidgets. However, it could also be argued that QDockWidgets implementation makes it look unprofessional and un-intuitive to users. 回答1: I found a partially working C++ example in this post on the Qt Centre forum. It was incomplete and buggy. However, I was