Hi all, I have some issues with the use of delegate model... Here is my code: https://pastebin.com/yN2t20jW
In my QListWidget, I am trying to categorize stuff. In the give example, there are 2 catergories - "All Nums" and "All Letters". If I tried to check/ uncheck on either of the above mentioned category, the sub-items do get checked or unchecked accordingly to the top/ category item state. Now I tried to introduce in a context menu that only effects on the category item in which it should work the same way as mentioned above. However, while the category does gets checked/unchecked, apparently its sub-items are not. And it seems that QListWidgetItem does not have a trigger or toggle signal that I can used. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/ed281908-d9cd-4bd2-8ab3-1042b46f093d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
