Actually probably the best method is to just use QTreeWidget and remove all the decorations from the viewport so that only items with checkboxes are rendered.