# -*- coding: utf-8 -*-

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


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


class Ui_ConfigurationWdgtMain(object):
    def setupUi(self, ConfigurationWdgtMain):
        ConfigurationWdgtMain.setObjectName("ConfigurationWdgtMain")
        ConfigurationWdgtMain.resize(361, 248)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(ConfigurationWdgtMain)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout()
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.groupBox = QtWidgets.QGroupBox(ConfigurationWdgtMain)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_13 = QtWidgets.QLabel(self.groupBox)
        self.label_13.setObjectName("label_13")
        self.horizontalLayout.addWidget(self.label_13)
        self.save_after_n_reps = QtWidgets.QSpinBox(self.groupBox)
        self.save_after_n_reps.setMinimum(1)
        self.save_after_n_reps.setMaximum(25)
        self.save_after_n_reps.setProperty("value", 10)
        self.save_after_n_reps.setObjectName("save_after_n_reps")
        self.horizontalLayout.addWidget(self.save_after_n_reps)
        self.label_14 = QtWidgets.QLabel(self.groupBox)
        self.label_14.setObjectName("label_14")
        self.horizontalLayout.addWidget(self.label_14)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_4.addWidget(self.label_2)
        self.max_backups = QtWidgets.QSpinBox(self.groupBox)
        self.max_backups.setProperty("value", 10)
        self.max_backups.setObjectName("max_backups")
        self.horizontalLayout_4.addWidget(self.max_backups)
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_4.addWidget(self.label_3)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.upload_science_logs = QtWidgets.QCheckBox(self.groupBox)
        self.upload_science_logs.setChecked(True)
        self.upload_science_logs.setObjectName("upload_science_logs")
        self.horizontalLayout_3.addWidget(self.upload_science_logs)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        self.verticalLayout_5.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(ConfigurationWdgtMain)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_7 = QtWidgets.QLabel(self.groupBox_2)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_5.addWidget(self.label_7)
        self.card_presentation = QtWidgets.QComboBox(self.groupBox_2)
        self.card_presentation.setObjectName("card_presentation")
        self.card_presentation.addItem("")
        self.card_presentation.addItem("")
        self.card_presentation.addItem("")
        self.horizontalLayout_5.addWidget(self.card_presentation)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem3)
        self.verticalLayout_3.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtWidgets.QLabel(self.groupBox_2)
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        self.languages = QtWidgets.QComboBox(self.groupBox_2)
        self.languages.setObjectName("languages")
        self.horizontalLayout_2.addWidget(self.languages)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem4)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.verticalLayout_4.addLayout(self.verticalLayout_3)
        self.verticalLayout_5.addWidget(self.groupBox_2)
        spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem5)
        self.verticalLayout_6.addLayout(self.verticalLayout_5)

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

    def retranslateUi(self, ConfigurationWdgtMain):
        _translate = QtCore.QCoreApplication.translate
        ConfigurationWdgtMain.setWindowTitle(_('Form'))
        self.groupBox.setTitle(_('Storage and data'))
        self.label_13.setText(_('Autosave after'))
        self.label_14.setText(_('repetitions.'))
        self.label_2.setText(_('Keep at most'))
        self.label_3.setText(_('backups.'))
        self.upload_science_logs.setText(_('Upload anonymous science logs.'))
        self.groupBox_2.setTitle(_('GUI'))
        self.label_7.setText(_('Show question and answer'))
        self.card_presentation.setItemText(0, _('in two boxes with fixed size'))
        self.card_presentation.setItemText(1, _('in two boxes with adaptive size'))
        self.card_presentation.setItemText(2, _('in a single box, top-aligned'))
        self.label.setText(_('GUI language:'))
