Does QStackedWidget processes all pages simultaneously?
-
Hello all. Im new to the forum.
Im using QtDesigner to design a interface and im using QStackedWidget to, well, stack many pages with some widgets inside them. The thing is: each widget inside the page is a pyDMLabel, which, when showing up, is constantly getting values from variables outside the interface and showing them up.
Does QStackedWidget keeps processing the variables values of all the pages even when they are not showing up? If yes, is there a way to determine a maximum number of pages that would make the application too heavy? And lastly, if yes, what would be a better way of solving this? -
Hi and welcome to devnet,
QStackedWidget does not care nor handle what do the widgets inside it. What will not happen is UI updates but all the rest will. What you can do is disable these processing when the widgets are not visible if it makes sense.
Post 2 of 2