# Form implementation generated from reading ui file 'configuration_wdgt_study.ui'
#
# Created by: PyQt6 UI code generator 6.10.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from mnemosyne.libmnemosyne.gui_translator import _
from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_ConfigurationWdgtStudy(object):
    def setupUi(self, ConfigurationWdgtStudy):
        ConfigurationWdgtStudy.setObjectName("ConfigurationWdgtStudy")
        ConfigurationWdgtStudy.resize(454, 282)
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(ConfigurationWdgtStudy)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.groupBox = QtWidgets.QGroupBox(parent=ConfigurationWdgtStudy)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.label_10 = QtWidgets.QLabel(parent=self.groupBox)
        self.label_10.setObjectName("label_10")
        self.horizontalLayout_8.addWidget(self.label_10)
        self.scheduled_cards = QtWidgets.QComboBox(parent=self.groupBox)
        self.scheduled_cards.setObjectName("scheduled_cards")
        self.scheduled_cards.addItem("")
        self.scheduled_cards.addItem("")
        self.horizontalLayout_8.addWidget(self.scheduled_cards)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_8)
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.label_11 = QtWidgets.QLabel(parent=self.groupBox)
        self.label_11.setObjectName("label_11")
        self.horizontalLayout_9.addWidget(self.label_11)
        self.non_memorised_cards = QtWidgets.QSpinBox(parent=self.groupBox)
        self.non_memorised_cards.setMinimum(1)
        self.non_memorised_cards.setProperty("value", 10)
        self.non_memorised_cards.setObjectName("non_memorised_cards")
        self.horizontalLayout_9.addWidget(self.non_memorised_cards)
        self.label_12 = QtWidgets.QLabel(parent=self.groupBox)
        self.label_12.setObjectName("label_12")
        self.horizontalLayout_9.addWidget(self.label_12)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_9)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.label_9 = QtWidgets.QLabel(parent=self.groupBox)
        self.label_9.setObjectName("label_9")
        self.horizontalLayout_7.addWidget(self.label_9)
        self.new_cards = QtWidgets.QComboBox(parent=self.groupBox)
        self.new_cards.setObjectName("new_cards")
        self.new_cards.addItem("")
        self.new_cards.addItem("")
        self.horizontalLayout_7.addWidget(self.new_cards)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem2)
        self.verticalLayout.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_81 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_81.setObjectName("horizontalLayout_81")
        self.label_3 = QtWidgets.QLabel(parent=self.groupBox)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_81.addWidget(self.label_3)
        self.max_ret_reps_since_lapse = QtWidgets.QSpinBox(parent=self.groupBox)
        self.max_ret_reps_since_lapse.setMinimum(2)
        self.max_ret_reps_since_lapse.setMaximum(999999)
        self.max_ret_reps_since_lapse.setProperty("value", 999999)
        self.max_ret_reps_since_lapse.setObjectName("max_ret_reps_since_lapse")
        self.horizontalLayout_81.addWidget(self.max_ret_reps_since_lapse)
        self.label_4 = QtWidgets.QLabel(parent=self.groupBox)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_81.addWidget(self.label_4)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_81.addItem(spacerItem3)
        self.verticalLayout.addLayout(self.horizontalLayout_81)
        self.verticalLayout_4.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(parent=ConfigurationWdgtStudy)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(parent=self.groupBox_2)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.order = QtWidgets.QComboBox(parent=self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.order.sizePolicy().hasHeightForWidth())
        self.order.setSizePolicy(sizePolicy)
        self.order.setObjectName("order")
        self.order.addItem("")
        self.order.addItem("")
        self.order.addItem("")
        self.order.addItem("")
        self.horizontalLayout.addWidget(self.order)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem4)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.label_13 = QtWidgets.QLabel(parent=self.groupBox_2)
        self.label_13.setObjectName("label_13")
        self.horizontalLayout_10.addWidget(self.label_13)
        self.max_ret_reps_for_recent_cards = QtWidgets.QSpinBox(parent=self.groupBox_2)
        self.max_ret_reps_for_recent_cards.setMinimum(1)
        self.max_ret_reps_for_recent_cards.setMaximum(10)
        self.max_ret_reps_for_recent_cards.setObjectName("max_ret_reps_for_recent_cards")
        self.horizontalLayout_10.addWidget(self.max_ret_reps_for_recent_cards)
        self.label_14 = QtWidgets.QLabel(parent=self.groupBox_2)
        self.label_14.setObjectName("label_14")
        self.horizontalLayout_10.addWidget(self.label_14)
        spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_10.addItem(spacerItem5)
        self.verticalLayout_2.addLayout(self.horizontalLayout_10)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.store_state = QtWidgets.QCheckBox(parent=self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.store_state.sizePolicy().hasHeightForWidth())
        self.store_state.setSizePolicy(sizePolicy)
        self.store_state.setText("")
        self.store_state.setChecked(True)
        self.store_state.setObjectName("store_state")
        self.horizontalLayout_2.addWidget(self.store_state)
        self.label_2 = QtWidgets.QLabel(parent=self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(100)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setWordWrap(True)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_2.addWidget(self.label_2)
        spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem6)
        spacerItem7 = QtWidgets.QSpacerItem(1, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem7)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.verticalLayout_4.addWidget(self.groupBox_2)
        spacerItem8 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout_4.addItem(spacerItem8)
        self.verticalLayout_5.addLayout(self.verticalLayout_4)
        self.label_2.setBuddy(self.store_state)

        self.retranslateUi(ConfigurationWdgtStudy)
        QtCore.QMetaObject.connectSlotsByName(ConfigurationWdgtStudy)

    def retranslateUi(self, ConfigurationWdgtStudy):
        _translate = QtCore.QCoreApplication.translate
        ConfigurationWdgtStudy.setWindowTitle(_('Form'))
        self.groupBox.setTitle(_('Regular study'))
        self.label_10.setText(_('Review memorised cards'))
        self.scheduled_cards.setItemText(0, _('most urgent first'))
        self.scheduled_cards.setItemText(1, _('in random order'))
        self.label_11.setText(_('Work on at most'))
        self.label_12.setText(_('non-memorised cards at the same time.'))
        self.label_9.setText(_('Show new cards for the first time'))
        self.new_cards.setItemText(0, _('in the order they were added'))
        self.new_cards.setItemText(1, _('in random order'))
        self.label_3.setText(_('Stop showing cards after'))
        self.label_4.setText(_('successful repetitions in a row.'))
        self.groupBox_2.setTitle(_('Cramming'))
        self.label.setText(_('Cram cards'))
        self.order.setItemText(0, _('in random order'))
        self.order.setItemText(1, _('earliest scheduled first'))
        self.order.setItemText(2, _('lastest scheduled first'))
        self.order.setItemText(3, _('most lapses first'))
        self.label_13.setText(_('\'Recent cards\' are cards with at most'))
        self.label_14.setText(_('retention repetition(s).'))
        self.label_2.setText(_('Remember which cards you\'ve crammed when restarting Mnemosyne.'))
