PDA

View Full Version : scroll to first tab in QTabWidget



lucielemo,
25th March 2013, 15:11
Hello,
I want to scroll to the first tab in QTabWidget directly without use of scrollButtons!
How can I do this?
Thank you!
Lucie

jesse_mark
25th March 2013, 16:21
TabWidget->setCurrentIndex(0)

lucielemo,
26th March 2013, 08:12
When the first tab is already selected, the tab bar doesn't return/scroll to the first tab!