You are not logged in.

1

Saturday, March 10th 2012, 12:12pm

Using Drag and Drop on the list widget view items.

Hi,

I lave a list view and a graphics view in a HBoxLayout. The List View contains names of widgets. I want to enable a functionality such that if I select and Item and drag it to the Graphics View it should show the widget there. But I am not able to properly use the drag and drop. Can anybody explain me how to enable a drag and drop and what is mime encoding etc. I am lost.

Thanks in advance.

2

Saturday, March 10th 2012, 2:41pm

If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.