Thanks :) I found that as the apps grow bigger, to keep a decent structure the easiest way is to subclass Qt widgets, then to communicate with the main loop by using Qt's signals and slots. That way you can keep the main.py file lean and split your code into modules, so it is much easier to maintain afterward. Refactoring is very tedious so it is a good idea to do it right from the beginning.
[PyQt] how to create qt plugins
[PyQt] how to create qt plugins
|
|
Messages In This Thread |
how to create qt plugins - by pyuser123 - Oct-24-2018, 02:14 AM
RE: how to create qt plugins - by Alfalfa - Oct-24-2018, 01:42 PM
RE: how to create qt plugins - by pyuser123 - Oct-25-2018, 05:38 PM
RE: how to create qt plugins - by Alfalfa - Oct-25-2018, 09:58 PM
|
Users browsing this thread: 2 Guest(s)