How can I create a QTabWidget (which is promoted to a custom widget) that has no tabs at all so I can add them in code later? I have a custom Widget TabWidget that is derived from QTabWidget and I have promoted the QTabWidget in question to such a TabWidget. In the TabWidget constructor I add a single tab. Right now this results in three tabs in the end because designer adds two tabs of its own, that I want to get rid of. I can delete one of them in designer but at least one tab is always present and can not be deleted. Of course I could delete the tab in code but I don't like to have such an ugly workaround.
Thanx in advance
Bookmarks