pyqtlet2 icon indicating copy to clipboard operation
pyqtlet2 copied to clipboard

Add: Known limtations documentation

Open JaWeilBaum opened this issue 3 years ago • 4 comments

Add a known limitaions list, as well as a list of workaround which can be used.

JaWeilBaum avatar Jan 10 '22 09:01 JaWeilBaum

Creating new js objects

If you add a new marker to the map. pyqtlet2 will create a new javascript object. Due to constraints of QWebChannel(), all objects which a registered after the application start, will be not able to send notifications to the main application!

JaWeilBaum avatar Feb 18 '22 15:02 JaWeilBaum

I have a idea, we regiseter a eventDelegateObject before application start, all the later registered objects' notification be sent to this eventDelegateObject, then this delatation dispatch it to right Python object.

alexhuangdz avatar May 28 '22 09:05 alexhuangdz

Hey @alexhuangdz Did you already experiment with this, or have a version?

JaWeilBaum avatar May 28 '22 10:05 JaWeilBaum

I tried on my local version ,it works.

alexhuangdz avatar May 28 '22 11:05 alexhuangdz