I created a treewidget in Qt. My goal is to create a simple library with CMakeLists.txt files. I have collected the project files in a directory. My goal is to access CMakeLists.txt files in project files and show them in a treewidget. There is no problem in this part.
In step 2, I have to add checkboxes to the parents (each parent corresponds to a project) and put links to them. There are about 40 parents, each parent's child has other parent's listed. When I check any parent's, other parents listed in the child need to be checked as well. How can I do that?