If you were to post an example I for one would find it helpful and I'm sure others would as well.
Thanks, Chris --- On Wed, 10/21/09, William <abecedarian314...@yahoo.com> wrote: From: William <abecedarian314...@yahoo.com> Subject: Re: [PyQt] qtreeview vs qtreewidget? To: "William" <abecedarian314...@yahoo.com>, pyqt@riverbankcomputing.com Date: Wednesday, October 21, 2009, 7:10 AM Ok, I have it--If anyone wants it, I can try to post an example (I wrote it for my usecase, so I'd have to write it for something more generic) William From: William <abecedarian314...@yahoo.com> To: pyqt@riverbankcomputing.com Sent: Tue, October 20, 2009 11:17:05 PM Subject: Re: [PyQt] qtreeview vs qtreewidget? Ok, I figured out how to allow checkboxes in a qtreeview (using flags()) and how to set their state using QtCore.Qt.CheckStateRole in my data() method. However, I still need help on one thing: What is the signal that lets me know if someone has clicked on the checkbox? If I can get that, then I can change my data and I assume that the view will update. Thanks,William From: William <abecedarian314...@yahoo.com> To: pyqt@riverbankcomputing.com Sent: Tue, October 20, 2009 6:09:46 PM Subject: [PyQt] qtreeview vs qtreewidget? A quick question--in the qtreewidget, one can make a checkbox for items (settingCheckState for a treewidget item). Is there a similar capability for the qtreeview if we are using qabstractitemmodel? Thanks! -----Inline Attachment Follows----- _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt