PyQt : Open Other Window When Button Clicked.

Upskill With Ajay · 166K views · 2017 · 10:56

Open on YouTube

Python, Ruby & scripting languagesSoftware (other)tutorial

Why Stack Overflow recommends it

Stack Overflow users link it when answering questions about opening or connecting multiple windows in PyQt5 apps built with Qt Designer.

Recommended by 3 people across 3 different months, 2017 to 2019.

What it is

A short PyQt5 tutorial showing how to open a second window when a button is clicked. It covers linking multiple Python files generated from Qt Designer .ui files with pyuic5. The presenter is the Upskill With Ajay channel.

What people said

Recommends Dutchman · 2017-12 · Stack Overflow · on “PyQt5 Dialog window opens without layout”

You're completely right. I totally missed the 2nd time setupUi was ran. I followed this tutorial ( [this video] ), and he used QMainWindow, but after changing it to QDialog it works like a charm. Thanks for the help!

Recommends Shaurya Garg · 2018-05 · Stack Overflow · on “How to efficiently import user created Widget in MainWindow in PyQt5?”

The answer to this question could be find on the following video: PyQt : Open Other Window When Button Clicked [this video] . This is quite useful for understanding the way to link different python files generated from .Ui format using Pyuic5 which is further generated from Qt Designer. This video is specific for PyQt5 and the explanation is just strike on.

Recommends chullspen · 2019-05 · Stack Overflow · on “Is there a way to solve the problem with connecting more than two windows without crashing the program in pyqt5?”

@Guimoute Actually there is. I only added here the information that changed myself in the default file which I had created in Qt Designer. As a reference I followed the steps in this video: [this video] Can you help me out?