A PyQt question for the Client
Posted: Fri Jan 08, 2021 1:48 am
Hi all!
I am writing a new tab for the lighthouse system, very much like the current qualisys tab. Currently learning PyQt and was wondering if anyone could explain to me what the 'notify' argument does in this pyqtProperty decorator?
I have taken it out and the cfstatus seems to update the GUI just fine. So I am not sure what it does.
You can fine the code in context on line 513 here https://github.com/bitcraze/crazyflie-c ... isysTab.py
Thanks!
Oh and if anyone is also building a Tab for the lighthouse please let me know. We might be able to help each other.
I am writing a new tab for the lighthouse system, very much like the current qualisys tab. Currently learning PyQt and was wondering if anyone could explain to me what the 'notify' argument does in this pyqtProperty decorator?
I have taken it out and the cfstatus seems to update the GUI just fine. So I am not sure what it does.
Code: Select all
@pyqtProperty(str, notify=cfStatusChanged)
def cfStatus(self):
return
Thanks!
Oh and if anyone is also building a Tab for the lighthouse please let me know. We might be able to help each other.