Gaussian_Image_Screen module

class Gaussian_Image_Screen.Ui_Dialog_6[source]

Bases: object

Main UI Class for Gaussian Image Screen

Args:

object (object): The base class of the class hierarchy.

When called, it accepts no arguments and returns a new featureless instance that has no instance attributes and cannot be given any.

File_Select()[source]

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.

Save_Directory()[source]

Helps in saving and writing the image in the directory the user wants to save in.

retranslateUi(Dialog_6)[source]

Setting the UI layouts and components - labels, textfields, pushbuttons, etc. Also adding functionality for redirecting buttons to respective functions on being clicked.

setupUi(Dialog_6)[source]

setupUI defined for the screen auto-generated by the PyQt5 editor.