# Form implementation generated from reading ui file 'glparchis/ui/frmSettings.ui'
#
# Created by: PyQt6 UI code generator 6.10.2
#
# 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 PyQt6 import QtCore, QtGui, QtWidgets


class Ui_frmSettings(object):
    def setupUi(self, frmSettings):
        frmSettings.setObjectName("frmSettings")
        frmSettings.resize(536, 331)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/glparchis/configure.png"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
        frmSettings.setWindowIcon(icon)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(frmSettings)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lblTitulo = QtWidgets.QLabel(parent=frmSettings)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lblTitulo.setFont(font)
        self.lblTitulo.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
        self.lblTitulo.setObjectName("lblTitulo")
        self.verticalLayout.addWidget(self.lblTitulo)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.lblPixmap = QtWidgets.QLabel(parent=frmSettings)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblPixmap.sizePolicy().hasHeightForWidth())
        self.lblPixmap.setSizePolicy(sizePolicy)
        self.lblPixmap.setMinimumSize(QtCore.QSize(48, 48))
        self.lblPixmap.setMaximumSize(QtCore.QSize(48, 48))
        self.lblPixmap.setPixmap(QtGui.QPixmap(":/glparchis/configure.png"))
        self.lblPixmap.setScaledContents(True)
        self.lblPixmap.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
        self.lblPixmap.setObjectName("lblPixmap")
        self.horizontalLayout_2.addWidget(self.lblPixmap)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.label_2 = QtWidgets.QLabel(parent=frmSettings)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_2)
        self.cmbLanguage = QtWidgets.QComboBox(parent=frmSettings)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbLanguage.sizePolicy().hasHeightForWidth())
        self.cmbLanguage.setSizePolicy(sizePolicy)
        self.cmbLanguage.setObjectName("cmbLanguage")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.FieldRole, self.cmbLanguage)
        self.nMeroDeAutoguardadosLabel = QtWidgets.QLabel(parent=frmSettings)
        self.nMeroDeAutoguardadosLabel.setObjectName("nMeroDeAutoguardadosLabel")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.LabelRole, self.nMeroDeAutoguardadosLabel)
        self.spinAutosaves = QtWidgets.QSpinBox(parent=frmSettings)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinAutosaves.sizePolicy().hasHeightForWidth())
        self.spinAutosaves.setSizePolicy(sizePolicy)
        self.spinAutosaves.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
        self.spinAutosaves.setObjectName("spinAutosaves")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.FieldRole, self.spinAutosaves)
        self.cmbDifficultyLevel = QtWidgets.QComboBox(parent=frmSettings)
        self.cmbDifficultyLevel.setObjectName("cmbDifficultyLevel")
        self.cmbDifficultyLevel.addItem("")
        self.cmbDifficultyLevel.addItem("")
        self.cmbDifficultyLevel.addItem("")
        self.cmbDifficultyLevel.addItem("")
        self.cmbDifficultyLevel.addItem("")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.ItemRole.FieldRole, self.cmbDifficultyLevel)
        self.label = QtWidgets.QLabel(parent=frmSettings)
        self.label.setObjectName("label")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label)
        self.lblSliderDelay = QtWidgets.QLabel(parent=frmSettings)
        self.lblSliderDelay.setObjectName("lblSliderDelay")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.ItemRole.LabelRole, self.lblSliderDelay)
        self.spinDelay = QtWidgets.QSpinBox(parent=frmSettings)
        self.spinDelay.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
        self.spinDelay.setMinimum(0)
        self.spinDelay.setMaximum(2000)
        self.spinDelay.setSingleStep(100)
        self.spinDelay.setProperty("value", 300)
        self.spinDelay.setDisplayIntegerBase(10)
        self.spinDelay.setObjectName("spinDelay")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.ItemRole.FieldRole, self.spinDelay)
        self.horizontalLayout.addLayout(self.formLayout)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.chkStatistics = QtWidgets.QCheckBox(parent=frmSettings)
        self.chkStatistics.setChecked(True)
        self.chkStatistics.setObjectName("chkStatistics")
        self.horizontalLayout_3.addWidget(self.chkStatistics)
        self.cmdGlobalStatistics = QtWidgets.QToolButton(parent=frmSettings)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/glparchis/statistics.png"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
        self.cmdGlobalStatistics.setIcon(icon1)
        self.cmdGlobalStatistics.setObjectName("cmdGlobalStatistics")
        self.horizontalLayout_3.addWidget(self.cmdGlobalStatistics)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=frmSettings)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)
        self.horizontalLayout_4.addLayout(self.verticalLayout_2)

        self.retranslateUi(frmSettings)
        self.buttonBox.accepted.connect(frmSettings.accept) # type: ignore
        self.buttonBox.rejected.connect(frmSettings.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(frmSettings)

    def retranslateUi(self, frmSettings):
        _translate = QtCore.QCoreApplication.translate
        frmSettings.setWindowTitle(_translate("frmSettings", "Configuracion de glParchis"))
        self.lblTitulo.setText(_translate("frmSettings", "Configuracion de glParchis"))
        self.label_2.setText(_translate("frmSettings", "Selecciona un idioma"))
        self.nMeroDeAutoguardadosLabel.setText(_translate("frmSettings", "Numero de autoguardados"))
        self.spinAutosaves.setToolTip(_translate("frmSettings", "Si quiere autoguardado seleccione un numero mayor que 0"))
        self.cmbDifficultyLevel.setItemText(0, _translate("frmSettings", "Facil"))
        self.cmbDifficultyLevel.setItemText(1, _translate("frmSettings", "Muy facil"))
        self.cmbDifficultyLevel.setItemText(2, _translate("frmSettings", "Normal"))
        self.cmbDifficultyLevel.setItemText(3, _translate("frmSettings", "Dificil"))
        self.cmbDifficultyLevel.setItemText(4, _translate("frmSettings", "Muy dificil"))
        self.label.setText(_translate("frmSettings", "Nivel de dificultad"))
        self.lblSliderDelay.setText(_translate("frmSettings", "Retardo entre movimientos"))
        self.spinDelay.setSuffix(_translate("frmSettings", " ms"))
        self.chkStatistics.setText(_translate("frmSettings", "Si esta marcado, tus partidas formaran parte de las estadisticas mundiales"))
        self.cmdGlobalStatistics.setToolTip(_translate("frmSettings", "Ver estadisticas"))
