tirilane
/
egon
Archived
1
0
Fork 0

Need to find a good solution to the semester problem.

This commit is contained in:
Tiril Anette Langfeldt Rødland 2008-06-15 20:03:05 +00:00
parent d50b7af349
commit 3616dd3394
2 changed files with 4 additions and 12 deletions

BIN
egon.db

Binary file not shown.

16
egon.py
View File

@ -76,8 +76,8 @@ class MainWindow(QMainWindow):
self.calendarDockWidget.setWidget(self.calendarFrame)
# Actions
fileNewAction = self.createAction("&New", self.fileNew, QKeySequence.New, "filenew", "Create a new plan")
fileOpenAction = self.createAction("&Open", self.fileOpen, QKeySequence.Open, "fileopen", "Open an existing plan")
fileNewAction = self.createAction("&New", self.fileNew, QKeySequence.New, "filenew", "Create a new semester plan")
fileOpenAction = self.createAction("&Open", self.fileOpen, QKeySequence.Open, "fileopen", "Open an existing semester plan")
fileSaveAction = self.createAction("&Save", self.fileSave, QKeySequence.Save, "filesave", "Save semester plan")
fileSaveAsAction = self.createAction("Save as...", self.fileSaveAs, None, "filesaveas", "Save plan as...")
filePrintAction = self.createAction("&Print", self.filePrint, QKeySequence.Print, "fileprint", "Print plan")
@ -273,8 +273,8 @@ class MainWindow(QMainWindow):
chosenDay = self.calendar
def fileNew(self):
model = Model()
pass
def fileOpen(self):
pass
@ -319,14 +319,6 @@ class MainWindow(QMainWindow):
pass
class Model:
def __init__(self, parent=None):
self.assignmentModel = AssignmentModel()
self.readingModel = ReadingModel()
self.scheduleModel = ScheduleModel()
class AssignmentTab(QWidget):
def __init__(self, parent=None):