How does one suppress the drawing of rows in a QTreeView? I have a custom QAbstractItemModel set up with each node being a QStandardItem. Child nodes are added with appendRow. I would like to be able to add children to certain nodes, but basically have them not be represented in the view. I've tried subclassing the view and playing with drawRow and such, but have had no success. The most I could make happen was to have it draw blank rows, but the space for the rows was still there. I also have delegates set up for certain nodes.
Bookmarks