Re: pyqtProperty type error
Sietse <[email protected]>
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
I typed this message in nabble and used raw to get the code in, but it is not
showing!?
Here the snippets directly:
devicesList = pyqtProperty(QVariant, getDevices, notify=devicesUpdated)
servicesList = pyqtProperty(QVariant, getServices,
notify=servicesUpdated)
def getDevices(self):
return self.devices
def getServices(self):
return self.m_services
class DeviceInfo(QObject):
deviceChanged = pyqtSignal()
class ServiceInfo(QObject):
serviceChanged = pyqtSignal()
--
Sent from: http://python.6.x6.nabble.com/PyQt-f1792048.html
_______________________________________________
PyQt mailing list [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt