I sub-class QTabWidget(myTabWdiget) and add this into mainwindow by promoting QTabWidget to myTabWidget. This works fine. There are no extra tabs added.
I am adding tabs to myTabWidget dynamically in my program.
One [extra] empty tab is added into myTabWidget after adding all my [desired] dynamic tabs. This empty tab has index 0;Qt Code:
To copy to clipboard, switch view to plain text mode
I am only adding tabs in my program at one place. I have no idea why it is happening.
Regards,
Bookmarks