-
Notifications
You must be signed in to change notification settings - Fork 0
Design of TabBase
russ_hensel edited this page May 12, 2026
·
2 revisions
This application has a lot of code just for its framework, code that makes the sucker work but is not the focus of any exercise. In addition to the general application each tab also has a bit of framework code. To reduce the amount of repeated code we have put as much code as practical in an ancestor class, TabBase in https://github.com/russ-hensel/pyqt_by_example/blob/main/tab_base.py.
This base class:
- Provides some convenience functions and constants.
- Manages the calling of mutations.
- Builds some of the standard widgets used by the tabs.
We have tried to provide good comments as a guide to the code, read it if you find it useful.