I have two classes like below:
class Login(QMainWindow):
...
...
class WinOne(QMainWindow):
...
...
Login class has the Login window.
WinOne class has the post-login window.
I am importing these two classes into another module and I want to display the window from the WinOne class after successful login from the login window of the Login class.
I am not sure how to close the first window and open another window.
I am not able to apply this logic.
If someone can suggest just the logic, I'll try to implement.