Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Indrajeet last edited by
Can anyone tell me how to generate atreeview at runtime.
What i want to do is i want to read the data from some file and create nodes for treeview.
and also please show me how create context menu on right click of these nodes.
Sam last edited by
It depends on what information you are storing in the file and what information you want to display/ load in the tree as parent/child . You need to provide more information so that we can get a clear picture about your requirements.