[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt]  get item in a QlistWidget after a drag and drop
From:       Anne-Laure Terrettaz-Zufferey <al.terrzuff () gmail ! com>
Date:       2011-05-25 18:28:51
Message-ID: EFE7E7AD-B620-4106-AE6D-1C8089D87516 () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,



I would like to drag and drop items from a Qlistwidget to another and =
get the dragged and dropped items from the second Qlistwidget. Drag and =
drop works  but impossible to get the items. I don't know how to connect =
the second Qlistwidget in which the items are dropped and say to him =
that it has received item and what they are. The QlistwidgetgetItem =
function send back nothing.

Thanks in advance

Anne-Laure


[Attachment #5 (unknown)]

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; "><div><span class="Apple-style-span" \
style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Gill Sans'; \
font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: \
normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; \
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; \
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; \
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" \
style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Gill Sans'; \
font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; \
letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; \
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; \
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; \
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; \
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span \
class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); \
font-family: 'Gill Sans'; font-size: medium; font-style: normal; font-variant: \
normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; \
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: \
0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; \
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; \
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; \
">Hello,<br><br><br><br></div></span></div></span></span> </div><div>I would like to \
drag and drop items from a Qlistwidget to another and get the dragged and dropped \
items from the second Qlistwidget. Drag and drop works &nbsp;but impossible to get \
the items. I don't know how to connect the second Qlistwidget in which the items are \
dropped and say to him that it has received item and what they are. The \
QlistwidgetgetItem function send back nothing.</div><div><br></div><div>Thanks in \
advance</div><div><br></div><div>Anne-Laure</div> <br></body></html>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic