radioPreview

This commit is contained in:
Arthur Milchior 2020-01-30 16:57:52 -08:00
parent 7e0b4522fb
commit fc7636c194
2 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@ class CustomStudy(QDialog):
f.radioRev.clicked.connect(lambda: self.onRadioChange(RADIO_REV)) f.radioRev.clicked.connect(lambda: self.onRadioChange(RADIO_REV))
f.radioForgot.clicked.connect(lambda: self.onRadioChange(RADIO_FORGOT)) f.radioForgot.clicked.connect(lambda: self.onRadioChange(RADIO_FORGOT))
f.radioAhead.clicked.connect(lambda: self.onRadioChange(RADIO_AHEAD)) f.radioAhead.clicked.connect(lambda: self.onRadioChange(RADIO_AHEAD))
f.radio5.clicked.connect(lambda: self.onRadioChange(5)) f.radioPreview.clicked.connect(lambda: self.onRadioChange(RADIO_PREVIEW))
f.radio6.clicked.connect(lambda: self.onRadioChange(6)) f.radio6.clicked.connect(lambda: self.onRadioChange(6))
def onRadioChange(self, idx): def onRadioChange(self, idx):

View File

@ -52,7 +52,7 @@
</widget> </widget>
</item> </item>
<item row="4" column="0"> <item row="4" column="0">
<widget class="QRadioButton" name="radio5"> <widget class="QRadioButton" name="radioPreview">
<property name="text"> <property name="text">
<string>Preview new cards</string> <string>Preview new cards</string>
</property> </property>
@ -167,6 +167,7 @@
<tabstop>radioRev</tabstop> <tabstop>radioRev</tabstop>
<tabstop>radioForgot</tabstop> <tabstop>radioForgot</tabstop>
<tabstop>radioAhead</tabstop> <tabstop>radioAhead</tabstop>
<tabstop>radioPreview</tabstop>
<tabstop>radio6</tabstop> <tabstop>radio6</tabstop>
<tabstop>spin</tabstop> <tabstop>spin</tabstop>
<tabstop>buttonBox</tabstop> <tabstop>buttonBox</tabstop>