Q:

Join another window in Qt Designer, using Python

I am using:

Python
PyQT
Qt Designer

I want that if a button for example is clicked, that a new window appears. There you can click something, press ok and the information is given to the mainwindow. 
I don't know how to realize that. 
And the second little problem is: I want to make some things visible if a button is clicked. I imagine the things in the following way. 
I set the default-value of the attribute "visible" to false. Click the button and switch it to true. But I didn't found an attribute which is called visible or sth like this. 
Thanks for the help!

A:

I assume you are using a class. What I've done before is store all the variables in the class then use a QStacked layout to hold every window that will be shown then when the button is clicked just change it to that screen. There is probably a better way to do it than this, I'm just familiar with this way.
I used this tutorial Python School. If your new to PyQt it might be worth viewing the whole GUI series.
Hope this helps 

