In PyQt, is it any way to close the main window and open a new one?
In particular, I am trying to close a window and open the same window all over again. I've tried every way I could think of without success (with some resulting in segmentation fault). I need to do this because the new window will have some features according to the parameters that are passed.
How about this:
....
....
def selectMode( self ):
self.close()
self.field_params = params
self.show()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With