Just be aware QListWidget is single column only. You might want to use QTreeWidget instead.