[Qt-interest] Row, column and parent in dropMimeData (model/view)

Davor J. DavorJ at live.com
Wed Jan 13 15:16:52 CET 2010


Row, column and parent in dropMimeData (model/view)
Why is the column and row always -1, and parent.row() and parent.column() 
not so, when dropping on a subclass of QAbstractTableModel. Shouldn't is be 
other way round as the parent = QModelIndex() in this case?

The documentation also states that "[...] row, column and parent indicate 
the location of an item in the model where the operation ended [...]"

I am using Qt 4.6





More information about the Qt-interest-old mailing list