Re: Python and QML

2012-05-10 Thread Eric Mesa
On Wed, May 9, 2012 at 10:54 PM, Eric Mesa wrote: > Alright, here's my python code: > > import sys > > from PyQt4.QtCore import QObject, QUrl, pyqtSignal > from PyQt4.QtGui import QApplication > from PyQt4.QtDeclarative import QDeclarativeView > from PyKDE4.plasma import Plasma > from PyKDE4 impor

Re: Python and QML

2012-05-09 Thread Eric Mesa
Alright, here's my python code: import sys from PyQt4.QtCore import QObject, QUrl, pyqtSignal from PyQt4.QtGui import QApplication from PyQt4.QtDeclarative import QDeclarativeView from PyKDE4.plasma import Plasma from PyKDE4 import plasmascript app = QApplication(sys.argv) # Create the QML user

Re: Python and QML

2012-05-09 Thread Eric Mesa
On Wed, May 9, 2012 at 10:55 AM, Luca Beltrame wrote: > In data mercoledì 9 maggio 2012 16:44:12, Marco Martin ha scritto: > > > afaik only pyqt has complete bindings for kdelibs for now > > Correct, PySide is not supported. > > > I am no aware about the status of bindings on those parts, that's

Re: Python and QML

2012-05-09 Thread Luca Beltrame
In data mercoledì 9 maggio 2012 16:44:12, Marco Martin ha scritto: > afaik only pyqt has complete bindings for kdelibs for now Correct, PySide is not supported. > I am no aware about the status of bindings on those parts, that's more > a question for bindings people To be blunt, I haven't seen

Re: Python and QML

2012-05-09 Thread Marco Martin
On Wed, May 9, 2012 at 4:29 PM, Eric Mesa wrote: > Hey All, > > I had an email a few months ago where I was trying to change the color of > some button in my QML plasmoid based on the output of what happened in a > python script.  While researching the idea today, I found the following > resources