mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
remove advanced options button from study options
This commit is contained in:
parent
c3ba8276d9
commit
f72e8213d7
2 changed files with 2 additions and 21 deletions
|
@ -1522,9 +1522,6 @@ later by using File>Close.
|
||||||
self.onStartReview)
|
self.onStartReview)
|
||||||
self.connect(self.mainWin.newCardOrder,
|
self.connect(self.mainWin.newCardOrder,
|
||||||
SIGNAL("activated(int)"), self.onNewCardOrderChanged)
|
SIGNAL("activated(int)"), self.onNewCardOrderChanged)
|
||||||
self.connect(self.mainWin.advancedOptions,
|
|
||||||
SIGNAL("clicked()"),
|
|
||||||
self.onAdvancedOptions)
|
|
||||||
self.connect(self.mainWin.failedCardMax,
|
self.connect(self.mainWin.failedCardMax,
|
||||||
SIGNAL("editingFinished()"),
|
SIGNAL("editingFinished()"),
|
||||||
self.onFailedMaxChanged)
|
self.onFailedMaxChanged)
|
||||||
|
@ -1553,10 +1550,6 @@ later by using File>Close.
|
||||||
self.mainWin.failedCardMax.setText(str(self.deck.failedCardMax))
|
self.mainWin.failedCardMax.setText(str(self.deck.failedCardMax))
|
||||||
self.deck.flushMod()
|
self.deck.flushMod()
|
||||||
|
|
||||||
def onAdvancedOptions(self):
|
|
||||||
self.onDeckProperties()
|
|
||||||
self.deckProperties.dialog.qtabwidget.setCurrentIndex(2)
|
|
||||||
|
|
||||||
def onMinuteLimitChanged(self, qstr):
|
def onMinuteLimitChanged(self, qstr):
|
||||||
try:
|
try:
|
||||||
val = float(self.mainWin.minuteLimit.text()) * 60
|
val = float(self.mainWin.minuteLimit.text()) * 60
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>605</width>
|
<width>605</width>
|
||||||
<height>565</height>
|
<height>504</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
|
@ -1146,22 +1146,11 @@
|
||||||
<property name="sizeHint" stdset="0">
|
<property name="sizeHint" stdset="0">
|
||||||
<size>
|
<size>
|
||||||
<width>20</width>
|
<width>20</width>
|
||||||
<height>15</height>
|
<height>40</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<layout class="QGridLayout" name="gridLayout_5">
|
|
||||||
<item row="0" column="0">
|
|
||||||
<widget class="QPushButton" name="advancedOptions">
|
|
||||||
<property name="text">
|
|
||||||
<string>&Advanced</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="tab_3">
|
<widget class="QWidget" name="tab_3">
|
||||||
|
@ -3774,7 +3763,6 @@
|
||||||
<tabstop>revCardOrder</tabstop>
|
<tabstop>revCardOrder</tabstop>
|
||||||
<tabstop>failedCardsOption</tabstop>
|
<tabstop>failedCardsOption</tabstop>
|
||||||
<tabstop>revCategories</tabstop>
|
<tabstop>revCategories</tabstop>
|
||||||
<tabstop>advancedOptions</tabstop>
|
|
||||||
<tabstop>minuteLimit</tabstop>
|
<tabstop>minuteLimit</tabstop>
|
||||||
<tabstop>questionLimit</tabstop>
|
<tabstop>questionLimit</tabstop>
|
||||||
<tabstop>welcomeText</tabstop>
|
<tabstop>welcomeText</tabstop>
|
||||||
|
|
Loading…
Reference in a new issue