biolab / orange-canvas-core

Orange Canvas core workflow editor
GNU General Public License v3.0
33 stars 60 forks source link

Addons - split widget and utils in two scripts #260

Closed PrimozGodec closed 1 year ago

PrimozGodec commented 1 year ago

I started to solve https://github.com/biolab/orange3/issues/5693 and realized that it is difficult to make changes in the addon script since it is incredibly long.

IMO it is better that we split the script between the actual widget and all support functions and loader, which is done in this PR. I also made minimal style changes in the code, but I am happy to make some additional if suggested.

JakaKokosar commented 1 year ago

I found a bug, but I am unsure if it relates to this PR. I am running Orange on ARM with pyqt versions:

PyQt6 6.4.0 PyQt6-Qt6 6.4.1 PyQt6-sip 13.4.0 PyQt6-WebEngine 6.4.0 PyQt6-WebEngine-Qt6 6.4.1

See the screen recoding below.

https://user-images.githubusercontent.com/15876321/224312243-c1a1ac22-3a40-430e-a589-603c340c4a61.mov