Overload of some methods of QTabWidget.