mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
added new graph "work done".
This commit is contained in:
parent
ed1758bb30
commit
cf31a22e91
1 changed files with 7 additions and 0 deletions
|
@ -188,6 +188,12 @@ 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()
|
||||
|
@ -210,6 +216,7 @@ def intervalGraph(parent, deck):
|
|||
'added': _("Added"),
|
||||
'answered': _("First Answered"),
|
||||
'eases': _("Eases"),
|
||||
'workload': _("Work Done"),
|
||||
}
|
||||
m = QMenu(parent)
|
||||
for graph in widgets:
|
||||
|
|
Loading…
Reference in a new issue