I've created a widget and I've applied several form layouts to tabs within the widget. I would like to make some tabs available based on some boolean flags.
I've tried tab_my_tab.setEnabled(False) which disables the content of the tab, but it doesn't hide the tab. I'd like it if the tab is completely hidden.