I am using QTreeView and QStandardItemModel. I am inserting the QTreeView inside a Widget Thru QGridLayout. I want the Tree View to be expanded when the parent widget is expanded. I tried with Size policy, resetSize, etc. But nothing worked. In-fact it expands horizontally as expected. But the Height is expanded to a limit and then stops after a limit. This happens even when the contents are much bigger than available area. How to solve this?
Bookmarks