Hi,

I have a QListWidget that I have configured to do what I need (Nice and
Easy). I add QListWidgetItems to it and specify with flags that these items
can accept drop events (QtCore.Qt.ItemIsDropEnabled).
I overwrite the drop event and make sure I let the QListWidget handle the
details ...

    def dropEvent(self, event):

        QtGui.QListWidget.dropEvent(self, event)
        # How can I get a reference to the target item from here?

The problem is that I need to know which row the item that is being dropped
onto is in (target item). QListWidgetItem has no events for me to overwrite
so subclassing it did not help me. Any ideas?

Thanks
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to