This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| self.load_students_to_table() | |
| self.search_bar.textChanged.connect(self.filter_students_table) | |
| self.class_combo_box.currentTextChanged.connect(self.filter_students_table) | |
| self.class_combo_box.addItem("All Classes") # Default option to show all students | |
| self.class_combo_box.addItems(get_classes()) # Populate with class names | |
| def load_students_to_table(self): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from PyQt6.QtWidgets import QTableWidgetItem | |
| def load_students_to_table(self): | |
| # Récupère les informations des étudiants | |
| students = get_students_info() |