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

List:       pykde
Subject:    [PyQt] Capture drop in a QTableWidget
From:       starglider develop <starglider.dev () gmail ! com>
Date:       2011-01-27 21:41:05
Message-ID: AANLkTinOghOFWiUdTKU+TfMe7LWKOwQqtZXadcOhhVXE () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,
I'm new to PyQt and I have a problem, search de google, PyQt docs, Mr.
Summerfield's  book, but
was unable to find a way of sort it.

I have a QListWidget and  a QTableWidget all have the drag and drop enable,
I use this example:
http://zetcode.com/tutorials/pyqt4/dragdrop/

it works fine because the text in the ListWidget goes to the TableWidget and
I can further process it,
but I need to pick the text immediately after it is drooped in the
WidgetList without the need of click in the cell.

Tried:
SIGNAL("itemChanged(QTableWidgetItem*)")
SIGNAL("currentItemChanged(QTableWidgetItem *,QTableWidgetItem *)")

without result.

If any one can help I really appreciate.

Thank you in advance for your cooperation.

[Attachment #5 (text/html)]

Hi,<br>I&#39;m new to PyQt and I have a problem, search de google, PyQt docs, Mr. \
Summerfield&#39;s  book, but<br>was unable to find a way of sort it.<br><br>I have a \
QListWidget and  a QTableWidget all have the drag and drop enable, I use this \
example:<br> <a href="http://zetcode.com/tutorials/pyqt4/dragdrop/">http://zetcode.com/tutorials/pyqt4/dragdrop/</a><br><br>it \
works fine because the text in the ListWidget goes to the TableWidget and I can \
further process it,<br>but I need to pick the text immediately after it is drooped in \
the WidgetList without the need of click in the cell.<br> <br>Tried:<br><span \
style="font-family: courier \
new,monospace;">SIGNAL(&quot;itemChanged(QTableWidgetItem*)&quot;)</span><br \
style="font-family: courier new,monospace;"><span style="font-family: courier \
new,monospace;">SIGNAL(&quot;currentItemChanged(QTableWidgetItem *,QTableWidgetItem \
*)&quot;)</span><br> <br>without result.<br><br>If any one can help I really \
appreciate.<br><br>Thank you in advance for your cooperation. <br>



_______________________________________________
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