[SOLVED] Help on QTabWidget
-
Then you have to fully inmplement it on your own. customize the widgets (create derived classes) or install event filter (from the main window to the TabWidget) and overwrite the mouse press, mouse release and mouse move events.
There is no build in mechanism to achieve this.
-
No, true, but then again, I don' t know the exact requirements of M_31 :-) Perhaps two QSplitters would also be enough. It all depends on what he needs to achieve (as opposed to the description of how he currently tries to achieve it.) It may be that he actually needs the kind of resize handles that you have in Designer, but I honestly doubt it. You don't see such a UI in many end-user applications. If M_31 only wanted to achieve resizing the tab widget, and only knew of the way Qt Designer presents that, then suggesting alternatives may be valuable. QSizeGrip may be what he needs, but then again: it may not be.
Anyway, lets hear from M_31 what he is up to really.
-
Thanks to all for your advice.
Now i finally used QSplitter to achive my task..
I have used 2 splitter to work like tabwidget ( with 2 tabs)..& even now i can resize the same with the help of QSplitter control.Instead of tab buttons, i have used Toolbar on the top of Splitter Window..
:)Finally i achived my task...