# Form implementation generated from reading ui file '/tmp/tmp8b2lh4ea/jdnbtexplorer-3.0/jdNBTExplorer/ui/OpenDirectoryTypeDialog.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_OpenDirectoryTypeDialog(object):
    def setupUi(self, OpenDirectoryTypeDialog):
        OpenDirectoryTypeDialog.setObjectName("OpenDirectoryTypeDialog")
        OpenDirectoryTypeDialog.resize(225, 172)
        self.verticalLayout = QtWidgets.QVBoxLayout(OpenDirectoryTypeDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(parent=OpenDirectoryTypeDialog)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.radNBTFiles = QtWidgets.QRadioButton(parent=OpenDirectoryTypeDialog)
        self.radNBTFiles.setChecked(True)
        self.radNBTFiles.setObjectName("radNBTFiles")
        self.verticalLayout.addWidget(self.radNBTFiles)
        self.radRegionFiles = QtWidgets.QRadioButton(parent=OpenDirectoryTypeDialog)
        self.radRegionFiles.setObjectName("radRegionFiles")
        self.verticalLayout.addWidget(self.radRegionFiles)
        self.radAllFiles = QtWidgets.QRadioButton(parent=OpenDirectoryTypeDialog)
        self.radAllFiles.setObjectName("radAllFiles")
        self.verticalLayout.addWidget(self.radAllFiles)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=OpenDirectoryTypeDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

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

    def retranslateUi(self, OpenDirectoryTypeDialog):
        _translate = QtCore.QCoreApplication.translate
        OpenDirectoryTypeDialog.setWindowTitle(_translate("OpenDirectoryTypeDialog", "Open Directory"))
        self.label.setText(_translate("OpenDirectoryTypeDialog", "Which files would you like to open?"))
        self.radNBTFiles.setText(_translate("OpenDirectoryTypeDialog", "Only NBT files"))
        self.radRegionFiles.setText(_translate("OpenDirectoryTypeDialog", "Only Region files"))
        self.radAllFiles.setText(_translate("OpenDirectoryTypeDialog", "All files"))
