E
E
Egor Kiselev2020-09-14 19:42:31
Python
Egor Kiselev, 2020-09-14 19:42:31

How to open a second window in PySide2?

In general, I am writing a program in PySide2, I have 3 files - main.py, uisettings.py, uimain.py. It's not hard to figure out what's what.

I write all the logic in main.py, the rest of the files were created using pyuic2

uimain is called after the program starts, there is a button on it that should launch the second window and turn off the first one. How to do it right and without crutches?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question