Hi,
I sub-classed QTabWidget to hide the tab bar if there is only one tab (tabBar()->hide() and tabBar()->show() work well for that), but my problem is where to check tab count. According to the doc, there is no signal when a tab is added or removed, and when adding or removing a tab, the current selected tab may not change. Maybe by reimplementing an event (but which one)?
↧