Need to find a good solution to the semester problem.
This commit is contained in:
parent
d50b7af349
commit
3616dd3394
16
egon.py
16
egon.py
@ -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):
|
||||
|
Reference in New Issue
Block a user