[PyKDE] drag'n drop in pykless.
Roy Dragseth
Roy.Dragseth at cc.uit.no
Thu Aug 22 13:58:00 BST 2002
Hi.
The drag and drop feature doesn't work in pykless.py, it doesn't seem to
receive the right dropevents, when you drop a text file on the window it just
displays the url for the file not the file itself. It looks like the
overloaded method dropEvent never get called because it doesn't print "drop
event":
def dropEvent(self, event):
# #// the user dropped something on our window.
# // So we simply use KIO slaves to download the stuff wherever it
is.
# // The following code respects Qt's DnD tutorial
print "drop event"
I've just installed pyKDE 3.3.2 and thought I'd have a look at pykless.py for
an introduction.
System:python 2.2 on RedHat 7.3.
Regards,
Roy.
--
The Computer Center, University of Tromsø, N-9037 TROMSØ, Norway.
phone:+47 77 64 41 07, fax:+47 77 64 41 00
Roy Dragseth, High Performance Computing System Administrator
Direct call: +47 77 64 62 56. email: royd at cc.uit.no
More information about the PyQt
mailing list