Multiple Windows Inside Your App - PyQt5 GUI Thursdays #36

preview_player
Показать описание
In this video we'll add multiple windows inside our PyQT5 app with the QMDIArea Widget!

In this video we'll create a button that adds a new window into our app every time we click it.

You can use this technique to add as many windows as you want, or a limited number of specific windows.

#pyqt5 #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:04 - Create GUI With PyQT5 Designer
2:55 - Define Widgets and Import Them
4:12 - Make Button Clickable
4:41 - Create Counter
4:57 - Increase Counter On Button Click
5:23 - Create Sub Windows
6:00 - Add Things Into The Sub Windows
6:45 - Set Titlebar Title of Sub Windows
7:30 - Add Sub Window Into MDI Widget
7:55 - Show New Sub Window
8:40 - Tile Sub Windows
9:23 - Cascade Sub Windows
9:58 - Close Active Sub Window
10:20 - Remove Sub Window
10:26 - Sub Window List
10:48 - Conclusion
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire PyQt5 GUI Thursdays Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
▶️ Get The Code:

Codemycom
Автор

Love your videos. The whole PyQt5 series has been really helpful tbh. Is it possible to put a tab widget in the subwindow? It's easy to do on the Designer but when I'm running the code, the tab widget is not in the subwindow. Any advice?

ronelmari
Автор

I wonder if the subwindow could be an external application which is getting called? (For example NotePad)
Thanks for the well-described video.

RezaBesharat-ix
Автор

Can we design sub forms in designer and incorporate them into MDI designed by designer???

dataxorg
Автор

While Initializing the App "UIWindow = UI()" I get "UI is not defined" why? If I have created previously class UI(QMainWindow)? Thank you.

albertomorenogil
Автор

Can you please make a video about Qtime sometimes? Thank you.

yichenfu
Автор

Can you change the background color of the MDI area?

leventefarkas
Автор

hi, thank you for your tutorial videos. i designed window, which contain mdiarea, inside the mdiarea i already predesigned 3 subwindow. then i want to call specific subwindow when i click a button, how do i do that? in your tutorial, the click function will "create" a new subwindow, but in my case, I already designed it, but just want to call it to appear in the mdi area when i click the button. will appreciate your reply

ghostJammerz
Автор

Can I add a different window.ui file in the mdi subwindow
if yes how can I do that?

Ronak_Jain
Автор

I have a "translucent" box on my home screen just above the start button in windows 11. what are they and how can I get rid of them as they cause and area where the curses does not work?

gjordan
Автор

Can you please make a video on dateEdit, timeEdit & datetimeEdit sometime

arpnrp