mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 15:17:12 -05:00
represent interval multiplier as a %
This commit is contained in:
parent
5b0b6e39b7
commit
7be04bc2d5
2 changed files with 11 additions and 5 deletions
|
|
@ -172,7 +172,7 @@ class DeckConf(QDialog):
|
||||||
f.revSpace.setValue(c['fuzz']*100)
|
f.revSpace.setValue(c['fuzz']*100)
|
||||||
f.revMinSpace.setValue(c['minSpace'])
|
f.revMinSpace.setValue(c['minSpace'])
|
||||||
f.easyBonus.setValue(c['ease4']*100)
|
f.easyBonus.setValue(c['ease4']*100)
|
||||||
f.fi1.setValue(c['ivlFct'])
|
f.fi1.setValue(c['ivlFct']*100)
|
||||||
f.maxIvl.setValue(c['maxIvl'])
|
f.maxIvl.setValue(c['maxIvl'])
|
||||||
f.revplim.setText(self.parentLimText('rev'))
|
f.revplim.setText(self.parentLimText('rev'))
|
||||||
# lapse
|
# lapse
|
||||||
|
|
@ -249,7 +249,7 @@ class DeckConf(QDialog):
|
||||||
c['fuzz'] = f.revSpace.value()/100.0
|
c['fuzz'] = f.revSpace.value()/100.0
|
||||||
c['minSpace'] = f.revMinSpace.value()
|
c['minSpace'] = f.revMinSpace.value()
|
||||||
c['ease4'] = f.easyBonus.value()/100.0
|
c['ease4'] = f.easyBonus.value()/100.0
|
||||||
c['ivlFct'] = f.fi1.value()
|
c['ivlFct'] = f.fi1.value()/100.0
|
||||||
c['maxIvl'] = f.maxIvl.value()
|
c['maxIvl'] = f.maxIvl.value()
|
||||||
# lapse
|
# lapse
|
||||||
c = self.conf['lapse']
|
c = self.conf['lapse']
|
||||||
|
|
|
||||||
|
|
@ -271,7 +271,7 @@
|
||||||
<item row="4" column="2">
|
<item row="4" column="2">
|
||||||
<widget class="QLabel" name="label_34">
|
<widget class="QLabel" name="label_34">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>x</string>
|
<string>%</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
@ -311,14 +311,20 @@
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="1">
|
<item row="4" column="1">
|
||||||
<widget class="QDoubleSpinBox" name="fi1">
|
<widget class="QDoubleSpinBox" name="fi1">
|
||||||
|
<property name="decimals">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
<property name="minimum">
|
<property name="minimum">
|
||||||
<double>0.300000000000000</double>
|
<double>0.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<double>999.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
<property name="singleStep">
|
<property name="singleStep">
|
||||||
<double>0.050000000000000</double>
|
<double>0.050000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
<property name="value">
|
<property name="value">
|
||||||
<double>1.000000000000000</double>
|
<double>100.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue