Expand/Collapse Fature of Outlook in QtreeWidet
I have a QtreeWidget .I want to impliment a expand colllapse feature of Outlook Mail box in my QtreeWidet .
The example snapshots are as
Need some guidance
to do just that :)
You forgot to mention a piece of fundamental information, you are using QSplitter.
- you have to set the first section collapsible: http://doc.qt.io/qt-5/qsplitter.html#setCollapsible
QSplitter::setSizes()to set the size of the collapsed part to 0
- Optional: display a tabbar as shown in the screenshot