I'm developing a little app (precisely it's a KDE4 plasmoid) in PyQt/PyKde.
In my app I have a KListWidget filled with some rows, see this picture:
I need to implement a drag&drop action for the list rows, for example I should be able to put any file over a row, then the app will send this file to the name on the list.
The list has...
I am trying to develop a plasmoid using python. I have tried eclipse with pydev, vim with pythoncomplete, PIDA and also Komodo, but none of them could give me autocmpletion for method names or members for the classes belonging to PyQT4 or PyKDE4. I added the folders in /usr/share/pyshare in the PYTHONPATH list for the IDEs.
Do I need ...
Hi,
I'm working on a PyKDE4/PyQt4 application, Autokey, and I noticed that when I send the program a CTRL+C, the keyboard interrupt is not processed until I interact with the application, by ie. clicking on a menu item or changing a checkbox.
lfaraone@stone:~$ /usr/bin/autokey
^C^C^C
Traceback (most recent call last):
File "/usr/lib...
I'm currently slamming my head against the table trying to get a QObject.connect to work with KWindowSystem, with PyKDE, my code is as follows:
from PyKDE4.kdecore import *
from PyKDE4.kdeui import *
from PyQt4.QtCore import *
#Omitted Stupid KApplication parts.
def winCheck(WId):
print WId
kWinSys = KWindowSystem.self()
QObject....
I'm trying to get started using Python for KDE development. What is the canonical source for PyKDE4 reference documentation? The Python page of KDE TechBase is surprisingly sparse on details, and googling hasn't helped.
...
I'm using the KHTMLPart component from the PyKDE (in Python) library to download some webpages in the background and return sizes of certain elements in pixels. I don't really need any visual output from this script, indeed I will probably run it on a server without X installed. The problem is that when I tell my application to run conso...