I would like to ask about QStackedLayout.
Now, I have a several widgets added to the QStackedLayout
And I want to do sth like that:
When user switch to Page X, refresh Page X.
How can I do that?
I have a custom code that I want to run when it refreshes
Thank You very much
Based on your comment to mine, it seems like you are looking for a signal that is generated when the current page changes so that you can update the underlying data for the screen. In that case, you would want to hook a slot up to void QStackedWidget::currentChanged(int index)