PyQt5 QFileDialog Browsing An Image

  Рет қаралды 13,665

Parwiz Forogh

Parwiz Forogh

Күн бұрын

Join PyQt6 13 Hours Course in Udemy
www.udemy.com/course/python-g...
My Affiliate Books:
Beginning PyQt: A Hands-on Approach to GUI Programming
amzn.to/3m8hsAZ
Create GUI Applications with PyQt5 & Qt5
amzn.to/3jahfLv
Python GUI Development with PyQt5
amzn.to/3kfVzPD
In this article iam going to talk about QFileDialog in PyQt5, especially we are going to
do Browsing in Image with QFileDialog in PyQt5 first o all The FileDialog widget provides a dialog useful for selecting of files. These are commonly used when a user wants to
open or save a file within the application.
Source code
codeloop.org/pyqt5-qfiledialo...
#PyQt5#QFileDialog#PyQt5QFileDialog

Пікірлер: 22
@amatortarihkulubu1068
@amatortarihkulubu1068 3 жыл бұрын
A good video. Simple and helpful :D
@baruchba7503
@baruchba7503 5 жыл бұрын
In the app I'm writing I want to show configurations of tatami mats and joinery, but I want to do it in a window in the GUI as a combo box item is selected. Is this just a get current item and show image?
@victoryMCT
@victoryMCT 4 жыл бұрын
can i assign a name to the image i'm importing from the folder? so i can use this image as variable and use it for other function.
@ratdog356
@ratdog356 3 жыл бұрын
Can this image that you opened be used as a canvas to draw on?
@dennisasamoah2213
@dennisasamoah2213 4 жыл бұрын
great
@Sushma2096
@Sushma2096 3 жыл бұрын
Hi, I am new to QT Designer...could you please tell me how to save this displayed image?
@itzyryeji3164
@itzyryeji3164 5 жыл бұрын
i need to have a select image area, which this video shows and im very thankful, but i have another problem, how could i do a whole browser or look. our research proj is selecting an image in a data set and it will describe the photo at the side area of the window.... I dont know how to start, Do i need to code it differently? we are using opencv for training of data set, after i made the interface how to enable this and connect to our trained code for object classification and machine learning...? send help im new to this and still young huhu
@ParwizForogh
@ParwizForogh 5 жыл бұрын
the browsing code is the same but for machine learning u need to write some more codes
@pythondz7901
@pythondz7901 3 жыл бұрын
how to print path image or path fname variable
@phongtranngoc6110
@phongtranngoc6110 3 жыл бұрын
How to display multiple images on a form and have one line of label information below. We hope everyone's help please
@mamoonanisar6774
@mamoonanisar6774 5 жыл бұрын
hello ,I m new to pyqt5,what I have learnt before watching to ur video. first creating ui in QT designer and then need to convert into py using pyuic command and perform further functionalities, My question : your method is a different than what i know. You are creating buttons from code.I want to know why the method you used?(please as i m new don't mind my for my very basic question) What are the benefits of using this approach.? What dependencies should I use for your method. thank you
@ParwizForogh
@ParwizForogh 5 жыл бұрын
for simple projects it is good to do by coding all, but when you are going to plan some complex projects than that is good to a qt designer
@johniversonyap1149
@johniversonyap1149 4 жыл бұрын
Hi, The code works for me, but I want to be able to manipulate the image with a single click of another button. Can you help me?
@ParwizForogh
@ParwizForogh 4 жыл бұрын
how i could not understand what u mean
@sarbajyotimallik
@sarbajyotimallik 5 жыл бұрын
sir can i resize the photo in (100,100) to fit in my app
@ParwizForogh
@ParwizForogh 5 жыл бұрын
yea u can do that
@sarbajyotimallik
@sarbajyotimallik 5 жыл бұрын
How? Sir
@ParwizForogh
@ParwizForogh 5 жыл бұрын
you can use pixmap.scaled() like this smallPixmap = pixmap.scaled(32, 32, Qt.KeepAspectRatio, Qt.FastTransformation)
@intanfarandini
@intanfarandini 4 жыл бұрын
no error, but the dialog box does not appear. What's wrong with that?
@ParwizForogh
@ParwizForogh 4 жыл бұрын
can you show me the code or you can get the source of this video from www.codeloop.org
@bonahutasoit1272
@bonahutasoit1272 3 жыл бұрын
Hello, why link ur blog can't opened ?
@ParwizForogh
@ParwizForogh 3 жыл бұрын
sorry for that, there are some problems in my website, tomorrow will be fixed and you will get the source code
How To Connect PyQt5 Application With Mysql Database
8:00
Parwiz Forogh
Рет қаралды 21 М.
File Dialog Boxes With QFileDialog - PyQt5 GUI Thursdays #29
12:47
小蚂蚁被感动了!火影忍者 #佐助 #家庭
00:54
火影忍者一家
Рет қаралды 42 МЛН
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 11 МЛН
PyQt5 QHBox Layout And QVBox Layout  #5
13:52
Parwiz Forogh
Рет қаралды 21 М.
PyQt5 Inserting Data In To Mysql Database
12:15
Parwiz Forogh
Рет қаралды 8 М.
PyQt Images and qrc files
13:27
MadPonyInteractive
Рет қаралды 13 М.
PyQt5 Retrieving Data From Mysql In QTableWidget
12:12
Parwiz Forogh
Рет қаралды 14 М.
How to create & convert a QtDesigner QRC file to Python
2:52
Pixel Heart
Рет қаралды 8 М.