Build An Image Viewer App - PyQt5 GUI Thursdays #30

preview_player
Показать описание
In this video we'll build a simple Image Viewer app with PyQT5 and Python.

We'll build out the GUI for our app using the PYQT5 Designer, and then we'll use the QFileDialog Box to select an image to open.

Then we'll use QPixmap to open the image and place it into our Label.

#pyqt5 #codemy #JohnElder

Timecodes

0:00​​ - Introduction
0:51 - Create GUI With PyQT5 Designer
2:23 - Import UI Widgets To Python File
3:28 - Click The Button Function
3:57 - Open QFileDialog To Grab Image Filename
5:11 - Open Image With QPixmap
5:55 - Add Image To Label
6:41 - Test It Out!
7:10 - Change Image Alignment In Designer
8:00 - Conclusion
Рекомендации по теме
Комментарии
Автор

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

Codemycom
Автор

Wow, I am almost finishing your PyQt5 playlist and I should say you have amazing explaining ability.

elnurshahbalayev
Автор

I've been looking for this sort of tutorial, fantastic. thanks!!

sucres
Автор

Thanks a lot sir. PLEASE continue this series...

flutterVerseMyanmar
Автор

Can I use label to play videos. Or is there anything else used? If there's any better option kindly tell me.

The-Next-Horizon
Автор

Do you know how i can create or use a zoom on images in pyqt5?

carlodicicco
Автор

Hello, I found your tutorials very helpful. Kindly guide me through zoom/pan image using qpixmap and mouse events. I didn't saw any tutorial on your playlist related to mouse events. It will be good addition if you make any tutorial on it.

zohaibdurrani
Автор

Good day, Sir.
Do you have a tutorial that is similar to this but it functions as the upload photo? I mean, I want to create a program that contains student information where they can upload their photos.. I hope you can help me sir thank you

mikiabreu
Автор

Sir should one learn PyQt5 or PyQt6 ? i mean are there any useful advantages of PyQt6 over PyQt5.

siddhantagarwal
Автор

Hey cN you please make tutorial on click on image and get pixel value of that point or a RGB values? Thanks 😊

meethansaliya
Автор

i wan to create an app in which i am using a lineedit, i want to take the input and while the user is typing i only want to let him type numbers between 0 -50, so i figured out a way to check the input while the user is entering it by using .textchanged , now if he enters a number lets say 51 so i will delete the last entered digit in this case 51, but the problem is i have multiple lineedits in my app so how do i know which one is the user typing in . instead all this is there a direct way to restrict entry in lineedit

siddhantagarwal
Автор

Did everything same as video but the image is not properly aligned, too much zoomed image comes as output.

The-Next-Horizon
Автор

I remember something similar in your Tkinter series.

meesiphht
Автор

Is there a particular reason why you absolutely need to define it? Just reference the names of the widgets directly.

Flash_
visit shbcf.ru