diff --git a/GUI/GUI_student.py b/GUI/GUI_student.py index 0c7491e..7bc47cc 100644 --- a/GUI/GUI_student.py +++ b/GUI/GUI_student.py @@ -9,11 +9,12 @@ class Mygui(QMainWindow): def __init__(self): super(Mygui, self).__init__() - uic.loadUi("Student-Management-System/GUI/first_gui.ui", self) + uic.loadUi("first_gui.ui", self) + self.show() # Connect buttons to their respective methods - self.pushButton.clicked.connect(self.add_record) # Add Record Button + self.pushButton.clicked.connect(self.add_record) # Record Button self.pushButton_2.clicked.connect(self.display_records) # Display Records Button self.pushButton_3.clicked.connect(self.delete_file) # Delete All Records Button diff --git a/GUI/readme.md b/GUI/readme.md index bfa26e0..c65613f 100644 --- a/GUI/readme.md +++ b/GUI/readme.md @@ -13,3 +13,7 @@ A simple Student Management System built using PyQt5 and Python for managing stu - **Python**: Programming language used for development. - **PyQt5**: GUI toolkit for creating the application interface. - **Pickle**: Used for serializing and deserializing Python objects. + +## To run the GUI: + +> python GUI_student.py diff --git a/GUI/stud.dat b/GUI/stud.dat deleted file mode 100644 index 1d97c76..0000000 Binary files a/GUI/stud.dat and /dev/null differ