Try adding spreadsheet->show() in addSpreadsheet(), do you get to see a child window in the MDI then?