Schreihals
25th October 2010, 08:56
Hey,
i've got some problems with my implementation of QListWidgetItem. I added some members, but after dragging them to another qlistwidget they've "lost" their members.
i set the type manually to a custom type (like 12345) and if i get the type in my qlistwidget (also subclassed), the type of the dropped item has changed to 0 (therefore my problem exists in dragging and dropping?!), only the name() member is transfered.
for drag and drop i use the "original" functions from qt.
can anybody help me?
i've got some problems with my implementation of QListWidgetItem. I added some members, but after dragging them to another qlistwidget they've "lost" their members.
i set the type manually to a custom type (like 12345) and if i get the type in my qlistwidget (also subclassed), the type of the dropped item has changed to 0 (therefore my problem exists in dragging and dropping?!), only the name() member is transfered.
for drag and drop i use the "original" functions from qt.
can anybody help me?