Populate treeview



  • Hi All

    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.



  • Hi Rajveer,

    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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.