Is there a way to change the page of a QStackedWidget without appointing to the actual index.
self.homeb.clicked.connect(lambda: self.stackedWidget.setCurrentIndex(0))
So instead of just using a button to go directly to the appointed index 0, I want to navigate through them, my intentions are to create a "next", "previous" "home" function.