> v = QVariant(10)
> v.convert(QVariant.UInt)
Yeah, this definitely does work for me, Phil, thanks...
On Thu, Dec 13, 2012 at 1:58 AM, Phil Thompson
wrote:
> On Thu, 13 Dec 2012 06:47:50 +, Phil Thompson
> wrote:
>> On Mon, 10 Dec 2012 13:41:36 -0500, Evade Flow
>
Hi, all. Does anyone have experience trying to pass UInt32 arguments to
a DBus service using PyQt4.QtDBus? The program appended below generates
the following error:
% python build_connection.py 0 0 0 1234
Call failed: No such method 'buildConnection' in interface
'com.acme.Audio.Connection' at ob
, Phil Thompson
wrote:
> On Mon, 13 Aug 2012 11:46:19 -0400, Evade Flow
> wrote:
>> I noticed that, too, and was a little surprised it worked anyway.
>
> The pyqtSlot() call is being ignored.
>
>> But
>> shouldn't it be:
>>
>> @QtCore.p
n Mon, Aug 13, 2012 at 11:33 AM, Phil Thompson
wrote:
> On Mon, 13 Aug 2012 11:13:36 -0400, Evade Flow
> wrote:
>>> Sorry, my mistake - QDBusPendingReply, not QPyDBusPendingReply...
>>
>> Ah, okay---yeah, that works great, thanks! I had a couple minor typos in
>> my
onnection.systemBus(), app)
async = dev.asyncCall("FilesystemListOpenFiles");
watcher = QtDBus.QDBusPendingCallWatcher(async, dev)
watcher.finished.connect(dev.callFinishedSlot)
sys.exit(app.exec_())
On Mon, Aug 13, 2012 at 10:00 AM, Phil Thompson
wrote:
> On Mon, 1
ons? (I built from the PyQt4.9.4 release tarball; do
I need to use a development snapshot instead?)
On Mon, Aug 13, 2012 at 4:43 AM, Phil Thompson
wrote:
> On Sun, 12 Aug 2012 23:31:54 -0400, Evade Flow
> wrote:
>> I'm working on an app that needs to invoke methods in
>&
I'm working on an app that needs to invoke methods in
various D-Bus services asynchronously, so I wrote this small program to
test the basic machinery:
from PyQt4 import QtCore, QtDBus
class DeviceInterface(QtDBus.QDBusAbstractInterface):
def __init__(self, service, path, connection,
all your issues?
Indeed, it does! Thanks so much, Phil!!
On Fri, Aug 10, 2012 at 5:04 AM, Phil Thompson
wrote:
> On Tue, 7 Aug 2012 15:45:43 -0400, Evade Flow wrote:
>>> In theory you should be able to use QDBusArgument but I've not tested
>>> it - I've alwa
anyone is interested, you can find the complete C++ example here:
- http://github.com/evadeflow/chat-demo
What I desperately want to know is: how can I write the exact same demo
in PyQt4---including the sendMessages() method? Is it possible?
On Thu, Aug 9, 2012 at 12:06 PM, Evade Flow wrote
gly)
so darn difficult to invoke from Python! `:-}
On Tue, Aug 7, 2012 at 4:25 PM, Phil Thompson
wrote:
> On Tue, 7 Aug 2012 15:45:43 -0400, Evade Flow wrote:
>>> In theory you should be able to use QDBusArgument but I've not tested
>>> it - I've always strugg
an I call this function?")
@pyqtProperty(str)
def name(self):
return self.parent().name
@name.setter
def name(self, value):
self.parent().name = value
def start():
app = QCoreApplication([])
bus = QDBusConnection.sessionBus()
server = MyServer()
b
On Mon, Aug 6, 2012 at 1:03 PM, Phil Thompson
wrote:
> On Mon, 6 Aug 2012 12:49:21 -0400, Evade Flow wrote:
>> On Mon, Aug 6, 2012 at 12:29 PM, Phil Thompson
>> wrote:
>>> On Mon, 6 Aug 2012 12:15:44 -0400, Evade Flow
>>> wrote:
>>>> I'm tryin
On Mon, Aug 6, 2012 at 12:29 PM, Phil Thompson
wrote:
> On Mon, 6 Aug 2012 12:15:44 -0400, Evade Flow wrote:
>> I'm trying to write a PyQt4-based mock object for a C++ app exposed over
>> D-Bus with the following interface:
>>
>> Q_CLASSINFO("D-Bu
I would recommending using cx_Freeze to make a binary installer for your
app (http://cx-freeze.sourceforge.net/). It's at least do-able that
way. I've never had any luck trying to get users to install the entire
PyQt stack themselves on Windows.
Another option might be to provide three links, li
I'm trying to write a PyQt4-based mock object for a C++ app exposed over
D-Bus with the following interface:
Q_CLASSINFO("D-Bus Interface", "com.acme.Audio.Control")
Q_CLASSINFO("D-Bus Introspection",
' \n'
'\n'
' \n'
' \n'
'\n'
'\n'
'
15 matches
Mail list logo