是这样的:
QTableView中
dragDropMode设定为InternalMove
defaultDropAction设定为MoveAction
如果dragDropOverwriteMode设定为false
则无法覆盖目标行,但是也不能实现移动效果
如果dragDropOverwriteMode设定为true
则鼠标拖放某一行,可以实现 覆盖和移动,我的目标是只要移动,不要覆盖。
不知道怎么处理了。。。。
郁闷中……
[ 此帖被lidq83在2011-04-22 13:55重新编辑 ]