Hi,
i want to be able to drag a file onto my QListWidget. Therefore I subclassed it into my QFileListWidget. In the designer I set the following:
[QWidget]
acceptDrops = true
[QAbstactItemView]
dragEnabled = true
dragDropMode = DragDrop
Qt Code:
package org.rfs.qttestpackage; import com.trolltech.qt.gui.*; super(parent); setAcceptDrops(true); } System.out.println("DROPPED: " + event.toString()); } }To copy to clipboard, switch view to plain text mode
Now, nothing happens when I drag ANYTHING onto this control. Could you please help with pointing out what I am doing wrong?
thanks
Ronny
Bookmarks