Hi all,
I haven't found a method to remove and delete the tabs for a QTabWidget into QTabWidget class.
I used this code to remove and delete the tabs for a QTabWidget:
Qt Code:
while(ui.tabWidget->count()) { delete ui.tabWidget->widget(ui.tabWidget->currentIndex()); }To copy to clipboard, switch view to plain text mode
There are another better implementation?
Kind regards!
Bookmarks