switching to QTabWidget