# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7-22.2/eric/eric7/Preferences/ConfigurationPages/MimeTypesPage.ui'
#
# Created by: PyQt6 UI code generator 6.2.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_MimeTypesPage(object):
    def setupUi(self, MimeTypesPage):
        MimeTypesPage.setObjectName("MimeTypesPage")
        MimeTypesPage.resize(480, 515)
        self.verticalLayout = QtWidgets.QVBoxLayout(MimeTypesPage)
        self.verticalLayout.setObjectName("verticalLayout")
        self.headerLabel = QtWidgets.QLabel(MimeTypesPage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout.addWidget(self.headerLabel)
        self.line9 = QtWidgets.QFrame(MimeTypesPage)
        self.line9.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line9.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line9.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line9.setObjectName("line9")
        self.verticalLayout.addWidget(self.line9)
        self.label = QtWidgets.QLabel(MimeTypesPage)
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.textMimeTypesList = EricStringListEditWidget(MimeTypesPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textMimeTypesList.sizePolicy().hasHeightForWidth())
        self.textMimeTypesList.setSizePolicy(sizePolicy)
        self.textMimeTypesList.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus)
        self.textMimeTypesList.setObjectName("textMimeTypesList")
        self.verticalLayout.addWidget(self.textMimeTypesList)
        self.resetButton = QtWidgets.QPushButton(MimeTypesPage)
        self.resetButton.setObjectName("resetButton")
        self.verticalLayout.addWidget(self.resetButton)

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

    def retranslateUi(self, MimeTypesPage):
        _translate = QtCore.QCoreApplication.translate
        self.headerLabel.setText(_translate("MimeTypesPage", "<b>Configure Text Mimetypes</b>"))
        self.label.setText(_translate("MimeTypesPage", "Files of the mime types configured below are opened in an eric editor (in addition to all \'text\' mime types)."))
        self.resetButton.setToolTip(_translate("MimeTypesPage", "Press to reset the list to default values"))
        self.resetButton.setText(_translate("MimeTypesPage", "Reset to Defaults"))
from EricWidgets.EricStringListEditWidget import EricStringListEditWidget
