[PyQt] pyqtProperty type error
Sietse
s.achterop at rug.nl
Wed Oct 30 09:20:08 GMT 2019
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
More information about the PyQt
mailing list