replaced QTabWidget with QTabBar