diff options
author | Louie S <louie@example.com> | 2023-09-16 09:36:14 -0400 |
---|---|---|
committer | Louie S <louie@example.com> | 2023-09-16 09:36:14 -0400 |
commit | f2ca02a9230621d0968b8df129051e332339b768 (patch) | |
tree | 723646b246c29f5bab7d652f7625ffef130b9ff0 /assignment-list.py | |
parent | b4025edf0ac5400d4dd8c418a9a156c44e9c67f8 (diff) |
Saving and loading entries working
Diffstat (limited to 'assignment-list.py')
-rwxr-xr-x | assignment-list.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/assignment-list.py b/assignment-list.py index 0fac895..a09a448 100755 --- a/assignment-list.py +++ b/assignment-list.py @@ -50,7 +50,6 @@ class AssignmentList(QMainWindow): tool_bar.addAction(self.add_group_act) def setupDB(self): - # TODO should check for existing db instead of blindly creating it DB.initDB() def displayWidgets(self): @@ -66,8 +65,6 @@ class AssignmentList(QMainWindow): title_h_box.addWidget(title) title_h_box.addStretch() - self.load_groups() - self.load_entries() # TODO placeholder, this will eventually be moved to group.py self.groups_hbox = QHBoxLayout() self.groups_hbox.setContentsMargins(20, 5, 20, 5) self.drawGroups() @@ -186,26 +183,6 @@ class AssignmentList(QMainWindow): QMessageBox.about(self, "About Assignment List", "Created by Louie S. - 2023") - def load_groups(self): - """ - Load groups data - """ - # TODO - #Globals.groups.append(Group(1, "test1", "left")) - #Globals.groups.append(Group(2, "test2", "left")) - #Globals.groups.append(Group(3, "test3", "right")) - #Globals.groups.append(Group(4, "test4", "right")) - pass - - def load_entries(self): - """ - Load entries data - """ - # TODO - #Globals.entries.append(Entry(1, "test1-task1")) - #Globals.entries.append(Entry(2, "test2-task1")) - pass - if __name__ == "__main__": app = QApplication(sys.argv) window = AssignmentList() |