Need to find a good solution to the semester problem.
This commit is contained in:
parent
d50b7af349
commit
3616dd3394
14
egon.py
14
egon.py
|
@ -76,8 +76,8 @@ class MainWindow(QMainWindow):
|
||||||
self.calendarDockWidget.setWidget(self.calendarFrame)
|
self.calendarDockWidget.setWidget(self.calendarFrame)
|
||||||
|
|
||||||
# Actions
|
# Actions
|
||||||
fileNewAction = self.createAction("&New", self.fileNew, QKeySequence.New, "filenew", "Create a new 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 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")
|
fileSaveAction = self.createAction("&Save", self.fileSave, QKeySequence.Save, "filesave", "Save semester plan")
|
||||||
fileSaveAsAction = self.createAction("Save as...", self.fileSaveAs, None, "filesaveas", "Save plan as...")
|
fileSaveAsAction = self.createAction("Save as...", self.fileSaveAs, None, "filesaveas", "Save plan as...")
|
||||||
filePrintAction = self.createAction("&Print", self.filePrint, QKeySequence.Print, "fileprint", "Print plan")
|
filePrintAction = self.createAction("&Print", self.filePrint, QKeySequence.Print, "fileprint", "Print plan")
|
||||||
|
@ -273,7 +273,7 @@ class MainWindow(QMainWindow):
|
||||||
chosenDay = self.calendar
|
chosenDay = self.calendar
|
||||||
|
|
||||||
def fileNew(self):
|
def fileNew(self):
|
||||||
model = Model()
|
pass
|
||||||
|
|
||||||
def fileOpen(self):
|
def fileOpen(self):
|
||||||
pass
|
pass
|
||||||
|
@ -319,14 +319,6 @@ class MainWindow(QMainWindow):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Model:
|
|
||||||
|
|
||||||
def __init__(self, parent=None):
|
|
||||||
self.assignmentModel = AssignmentModel()
|
|
||||||
self.readingModel = ReadingModel()
|
|
||||||
self.scheduleModel = ScheduleModel()
|
|
||||||
|
|
||||||
|
|
||||||
class AssignmentTab(QWidget):
|
class AssignmentTab(QWidget):
|
||||||
|
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
|
|
Reference in New Issue