Hello everyone.

I'm trying to create a custom QTabWidget, that allows me to collapse the page tabs to click or double click on it, provided it is the active tab, because if the tab is another must show me the page that other tab, but only to collapse them show me the tabs or the tab bar.

So far I'm something right, you could say, I think I'm on track, because so far I have managed to "collapse" the pages of the tabs, but I is presenting unexpected behavior, because although, clicking on the active tab me collapses pages and let me click again shows pages after pages show me again, I can not resize the QTabWidget by QSplitter where it is contained.

I've tried various combinations with methods designed for handling QTabWidget size, but without a satisfactory result.

As I could do to release the size restrictions that may apply when making modifications I require for the QSplitter can adjust the size QTabWidget it when you want to move.

Thanks in advance