Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Expand/Collapse Fature of Outlook in QtreeWidet
Qt Enthusiast last edited by
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 :)
VRonin last edited by
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