moved the workload graph to where it's more sensible (between due and cumulative due)

that is more sensible, right?
This commit is contained in:
Timo Paulssen 2008-12-13 02:29:43 +01:00
parent b2cf4dc35c
commit 1f78e98907

View file

@ -157,6 +157,12 @@ def intervalGraph(parent, deck):
nextDue.addFigure()
vbox.addWidget(nextDue)
widgets.append(nextDue)
workload = AdjustableFigure(parent.config, 'workload', dg.workDone, range)
workload.addWidget(QLabel(_("<h1>Work Done</h1>")))
workload.addFigure()
vbox.addWidget(workload)
widgets.append(workload)
cumDue = AdjustableFigure(parent.config, 'cum', dg.cumulativeDue, range)
cumDue.addWidget(QLabel(_("<h1>Cumulative Due</h1>")))
@ -189,12 +195,6 @@ def intervalGraph(parent, deck):
vbox.addWidget(eases)
widgets.append(eases)
workload = AdjustableFigure(parent.config, 'workload', dg.workDone, range)
workload.addWidget(QLabel(_("<h1>Work Done</h1>")))
workload.addFigure()
vbox.addWidget(workload)
widgets.append(workload)
scroll.setWidget(frame)
hbox = QHBoxLayout()