Modernizing code for HidingTabWidget
This widget descends from QTabWidget and allows to hide and later restore tabs at the same position.