Рет қаралды 66,206
In this video I'll show you how to create and open a second window in your PyQT5 app.
We'll create a second window using the designer, and then open that second window by clicking a button in our main window.
I'll also show you how to open a dialog box without buttons using the same method.
#pyqt5 #codemy #JohnElder
Timecodes
0:00 - Introduction
1:00 - Create Main Window In Designer
1:58 - Create Second Window In Designer
2:38 - Rename Second Window
3:50 - Create Dialog Box Without Buttons In Designer
4:55 - Convert UI Files To Python
6:04 - Create Function To Open Second Window
8:04 - Import Second Window To Python File
8:28 - Call Function When Button Clicked
9:08 - Test It Out!
9:36 - Open Dialog Box Window
12:40 - Conclusion