Thanks. All I had to do was what you said:
self references the mainWin parent not itself (myFrame). Check autoFillBackground to get the stuff behind frame hidden. I just put that in for other newbies who might read this in the future.
Not sure about the central widget stuff though. In reality my main window will actually have its own child buttons designed in through Qt Designer and clicked events that will bring up the frame(s) at a specific place on the screen, then when another button is pressed (child object of the frame itself) the frame will close. In other words different buttons in the main window will show different frames, but each frame will have its own child button to hide itself. Am I programming doing this the correct way to achieve what I want?
Bookmarks