Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Remove Header from QTreeView



  • Generally Qtreeview by default displays Name, Size, Type, Date Modified when used. I want to remove it from my code. I tried using treeview->header()->hide but it just hides the header and when i expand the tree i.e. child folders, its sub folders aren't visible. Any alternative please?


Log in to reply