Unsolved Hiding the TabWidget
-
@amarism said in Hiding the TabWidget:
when hiding the Tab widget next we can't show hiding tab
Im not sure what that means. If you hide tabWidget, all tabs will be hidden.
-
@mrjj I have 2 tab widget tab (tab1 and tab2), Initially, I want to show only the tab just like minimize format (closed inside the black box)
and when i will click on the Tab 1 it will show the whole content of the tab (maximize the tab content). just like below image
and again we click the same tab it will again minimize it(toggle). -
Hi
Ah. i see.
The issues that the tabs lives inside the tabwidget.
so if you reduce the size of the tabwidget to appear "collapsed" then all must be collapsed
at same time. if thats ok, you can alter the width of the widget.Alternatively, you could use
http://doc.qt.io/qt-5/qtabbar.html#details
which might work better for your use case. -
@mrjj Actually sir I am new in QT. So, I am not able to write code properly. If you have a similar type of code please share with me