cheche
11th July 2010, 18:38
i have a QTreeWidget that looks like this:
http://bugreports.qt.nokia.com/secure/attachment/15889/15889_1.png
dragDropMode is QAbstractItemView::InternalMove
my problem is, that e.g. Row 2 can be dropped at Row 1 although Row 1 misses Qt::ItemIsDropEnabled:
http://bugreports.qt.nokia.com/secure/attachment/15890/15890_2.png
i just want the user to be able to move the items up/down by drag/drop but not to drop one item at another
http://bugreports.qt.nokia.com/secure/attachment/15889/15889_1.png
dragDropMode is QAbstractItemView::InternalMove
my problem is, that e.g. Row 2 can be dropped at Row 1 although Row 1 misses Qt::ItemIsDropEnabled:
http://bugreports.qt.nokia.com/secure/attachment/15890/15890_2.png
i just want the user to be able to move the items up/down by drag/drop but not to drop one item at another