From 5e9f4f04a12afc1981406524a30578f9de46c5bd Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 23 Aug 2012 21:07:25 +0900 Subject: [PATCH] add initial factor back to dconf; unify capitalization --- aqt/deckconf.py | 3 ++ designer/dconf.ui | 135 +++++++++++++++++++++++++++------------------- 2 files changed, 83 insertions(+), 55 deletions(-) diff --git a/aqt/deckconf.py b/aqt/deckconf.py index 292b48569..4a6ee45d0 100644 --- a/aqt/deckconf.py +++ b/aqt/deckconf.py @@ -162,6 +162,8 @@ class DeckConf(QDialog): f.lrnSteps.setText(self.listToUser(c['delays'])) f.lrnGradInt.setValue(c['ints'][0]) f.lrnEasyInt.setValue(c['ints'][1]) + f.lrnEasyInt.setValue(c['ints'][1]) + f.lrnFactor.setValue(c['initialFactor']/10.0) f.newOrder.setCurrentIndex(c['order']) f.newPerDay.setValue(c['perDay']) f.separate.setChecked(c['separate']) @@ -240,6 +242,7 @@ class DeckConf(QDialog): self.updateList(c, 'delays', f.lrnSteps) c['ints'][0] = f.lrnGradInt.value() c['ints'][1] = f.lrnEasyInt.value() + c['initialFactor'] = f.lrnFactor.value()*10 c['order'] = f.newOrder.currentIndex() c['perDay'] = f.newPerDay.value() c['separate'] = f.separate.isChecked() diff --git a/designer/dconf.ui b/designer/dconf.ui index 5ba92ee13..6618dd488 100644 --- a/designer/dconf.ui +++ b/designer/dconf.ui @@ -7,7 +7,7 @@ 0 0 481 - 401 + 419 @@ -77,24 +77,65 @@ - - + + - Order + - - - - 1 + + + + Easy interval - - - - 1 + + + + Graduating interval + + + + + + + 9999 + + + + + + + New cards/day + + + + + + + + + + Steps (in minutes) + + + + + + + + + + Try not to show sibling cards next to each other + + + + + + + days @@ -111,65 +152,48 @@ - - - - days + + + + 1 - - - - Try not to show sibling cards next to each other + + + + 1 - - - - - + + - Steps (in minutes) + Order - - - - - - - New cards/day + + + + 100 - - - - - 9999 + 999 - - + + - Graduating interval + Starting ease - - + + - Easy interval - - - - - - - + % @@ -389,14 +413,14 @@ - New Interval + New interval - Leech Threshold + Leech threshold @@ -419,7 +443,7 @@ - Leech Action + Leech action @@ -436,7 +460,7 @@ - Minimum Interval + Minimum interval @@ -627,6 +651,7 @@ newPerDay lrnGradInt lrnEasyInt + lrnFactor separate revPerDay revSpace