# Form implementation generated from reading ui file '/tmp/tmp8b2lh4ea/jdnbtexplorer-3.0/jdNBTExplorer/ui/SettingsWindow.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_SettingsWindow(object):
    def setupUi(self, SettingsWindow):
        SettingsWindow.setObjectName("SettingsWindow")
        SettingsWindow.resize(400, 190)
        self.verticalLayout = QtWidgets.QVBoxLayout(SettingsWindow)
        self.verticalLayout.setObjectName("verticalLayout")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.label_2 = QtWidgets.QLabel(parent=SettingsWindow)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_2)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.languageComboBox = QtWidgets.QComboBox(parent=SettingsWindow)
        self.languageComboBox.setObjectName("languageComboBox")
        self.horizontalLayout.addWidget(self.languageComboBox)
        self.label = QtWidgets.QLabel(parent=SettingsWindow)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.formLayout.setLayout(0, QtWidgets.QFormLayout.ItemRole.FieldRole, self.horizontalLayout)
        self.label_3 = QtWidgets.QLabel(parent=SettingsWindow)
        self.label_3.setObjectName("label_3")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_3)
        self.recentFilesSpinBox = QtWidgets.QSpinBox(parent=SettingsWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.recentFilesSpinBox.sizePolicy().hasHeightForWidth())
        self.recentFilesSpinBox.setSizePolicy(sizePolicy)
        self.recentFilesSpinBox.setObjectName("recentFilesSpinBox")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.FieldRole, self.recentFilesSpinBox)
        self.verticalLayout.addLayout(self.formLayout)
        self.checkSaveCheckBox = QtWidgets.QCheckBox(parent=SettingsWindow)
        self.checkSaveCheckBox.setObjectName("checkSaveCheckBox")
        self.verticalLayout.addWidget(self.checkSaveCheckBox)
        self.showWelcomeMessageCheckBox = QtWidgets.QCheckBox(parent=SettingsWindow)
        self.showWelcomeMessageCheckBox.setObjectName("showWelcomeMessageCheckBox")
        self.verticalLayout.addWidget(self.showWelcomeMessageCheckBox)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.resetButton = QtWidgets.QPushButton(parent=SettingsWindow)
        self.resetButton.setObjectName("resetButton")
        self.horizontalLayout_2.addWidget(self.resetButton)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.okButton = QtWidgets.QPushButton(parent=SettingsWindow)
        self.okButton.setObjectName("okButton")
        self.horizontalLayout_2.addWidget(self.okButton)
        self.cancelButton = QtWidgets.QPushButton(parent=SettingsWindow)
        self.cancelButton.setObjectName("cancelButton")
        self.horizontalLayout_2.addWidget(self.cancelButton)
        self.verticalLayout.addLayout(self.horizontalLayout_2)

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

    def retranslateUi(self, SettingsWindow):
        _translate = QtCore.QCoreApplication.translate
        SettingsWindow.setWindowTitle(_translate("SettingsWindow", "Settings"))
        self.label_2.setText(_translate("SettingsWindow", "Language:"))
        self.label.setText(_translate("SettingsWindow", "(needs Restart)"))
        self.label_3.setText(_translate("SettingsWindow", "Length of recent files list:"))
        self.checkSaveCheckBox.setText(_translate("SettingsWindow", "Ask before closing unsaved Files"))
        self.showWelcomeMessageCheckBox.setText(_translate("SettingsWindow", "Show welcome message on startup"))
        self.resetButton.setText(_translate("SettingsWindow", "Reset"))
        self.okButton.setText(_translate("SettingsWindow", "OK"))
        self.cancelButton.setText(_translate("SettingsWindow", "Cancel"))
