Relative Content

Tag Archive for pythonpyqtsoftware-designqt6

How to access QWidgets from page controller class?

I am developing a database software using PyQt6 and SQlite3. I am struggling a bit in organising the files and classes since this is my first project of such. I have kept the main.py in the root to open the window, and I have various stacked widgets like home_page, dashboard_page etc. Every such page has various QWidgets (pushbutton, combobox etc). In order to seperate the task inside the controller folder I have files for each stacked page that defines tasks for each widget in the respective pages. So I have the following directory: