From 2887dd2688f708094939df2d42e9482387f3db7f Mon Sep 17 00:00:00 2001 From: Haleshot Date: Tue, 8 Aug 2023 15:52:14 +0530 Subject: [PATCH] Adding Doc-String comments for classes and functions --- .../Final_Project_Files/Gaussian_Image_Screen.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/All_Project_Files/Final_Project_Files/Gaussian_Image_Screen.py b/All_Project_Files/Final_Project_Files/Gaussian_Image_Screen.py index 4b176bd..36b4226 100644 --- a/All_Project_Files/Final_Project_Files/Gaussian_Image_Screen.py +++ b/All_Project_Files/Final_Project_Files/Gaussian_Image_Screen.py @@ -104,11 +104,17 @@ def retranslateUi(self, Dialog_6): def File_Select(self): """ + Main Logical function which does the following: + 1. Helps user in choosing input for image file (supported file formats - .jpg, .jpeg, .gif, .png) + 2. Error handling if user doesn't choose supported file. + 3. Displays the image onto the GUI label layout (if size exceeds, then scroll bars appear in the Label). + 4. The user can Save the generated image in the directory they want on the machine. + """ # fname = QFileDialog.getOpenFileName(self, "Open File", "All_Project_Files\Final_Project_Files\Cam_Media", "Images (*.png *.xpm *.jpg)")