4 ms·
Is a PyQt app really more lightweight than Electron? I just tried, because it's only 5 minutes of work. The demo apps (including a movie player and an image vi
by danieldk 9y ago
Is a PyQt app really more lightweight than Electron?
I just tried, because it's only 5 minutes of work. The demo apps (including a movie player and an image viewer) are generally in the 30MB of memory ballpark on OS X.
you've mentioned slots and signals which are not something you'd encounter every day
It's something that you can pick up in a few minutes. Widgets emit signals. You can connect signals of choice to slots to handle those signals. In Python, a slot is just a Python method. In C++ is slot is also a method, but you have to add a small 'annotation' that is processed by moc.