New window doesn't open even though I initialize QMainWindow parent class

Printable View