# Form implementation generated from reading ui file '.\spec.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# 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_SpecificationWindow(object):
    def setupUi(self, SpecificationWindow):
        SpecificationWindow.setObjectName("SpecificationWindow")
        SpecificationWindow.resize(1320, 800)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(SpecificationWindow.sizePolicy().hasHeightForWidth())
        SpecificationWindow.setSizePolicy(sizePolicy)
        SpecificationWindow.setMinimumSize(QtCore.QSize(1320, 800))
        SpecificationWindow.setMaximumSize(QtCore.QSize(1320, 800))
        self.gridLayout = QtWidgets.QGridLayout(SpecificationWindow)
        self.gridLayout.setObjectName("gridLayout")
        self.CheckBoxReadOnly = QtWidgets.QCheckBox(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setFamily("Calibri")
        font.setPointSize(12)
        self.CheckBoxReadOnly.setFont(font)
        self.CheckBoxReadOnly.setObjectName("CheckBoxReadOnly")
        self.gridLayout.addWidget(self.CheckBoxReadOnly, 0, 0, 1, 1)
        self.CheckBoxHideReverved = QtWidgets.QCheckBox(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setFamily("Calibri")
        font.setPointSize(12)
        self.CheckBoxHideReverved.setFont(font)
        self.CheckBoxHideReverved.setChecked(False)
        self.CheckBoxHideReverved.setTristate(False)
        self.CheckBoxHideReverved.setObjectName("CheckBoxHideReverved")
        self.gridLayout.addWidget(self.CheckBoxHideReverved, 1, 0, 1, 1)
        self.SpecTreeLayout = QtWidgets.QVBoxLayout()
        self.SpecTreeLayout.setObjectName("SpecTreeLayout")
        self.gridLayout.addLayout(self.SpecTreeLayout, 2, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.JsonButtonLayout = QtWidgets.QHBoxLayout()
        self.JsonButtonLayout.setObjectName("JsonButtonLayout")
        self.horizontalLayout.addLayout(self.JsonButtonLayout)
        self.SearchLine = QtWidgets.QLineEdit(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setFamily("Calibri")
        font.setPointSize(12)
        self.SearchLine.setFont(font)
        self.SearchLine.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhLatinOnly)
        self.SearchLine.setMaxLength(128)
        self.SearchLine.setReadOnly(False)
        self.SearchLine.setClearButtonEnabled(True)
        self.SearchLine.setObjectName("SearchLine")
        self.horizontalLayout.addWidget(self.SearchLine)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout, 3, 0, 1, 1)
        self.LogArea = QtWidgets.QTextBrowser(parent=SpecificationWindow)
        self.LogArea.setMinimumSize(QtCore.QSize(0, 200))
        self.LogArea.setMaximumSize(QtCore.QSize(16777215, 200))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
        palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.Text, brush)
        brush = QtGui.QBrush(QtGui.QColor(1, 46, 79))
        brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
        palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
        palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.Text, brush)
        brush = QtGui.QBrush(QtGui.QColor(1, 46, 79))
        brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
        palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
        palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.Text, brush)
        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
        brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
        palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.Base, brush)
        self.LogArea.setPalette(palette)
        font = QtGui.QFont()
        font.setFamily("Courier New")
        font.setPointSize(11)
        self.LogArea.setFont(font)
        self.LogArea.setTextInteractionFlags(QtCore.Qt.TextInteractionFlag.TextSelectableByKeyboard|QtCore.Qt.TextInteractionFlag.TextSelectableByMouse)
        self.LogArea.setObjectName("LogArea")
        self.gridLayout.addWidget(self.LogArea, 4, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.ButtonApply = QtWidgets.QPushButton(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.ButtonApply.setFont(font)
        self.ButtonApply.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ButtonApply.setStyleSheet("        QPushButton {\n"
"            padding: 6px 12px;      /* top/bottom, left/right */\n"
"        }")
        self.ButtonApply.setObjectName("ButtonApply")
        self.horizontalLayout_2.addWidget(self.ButtonApply)
        self.ButtonClearLog = QtWidgets.QPushButton(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.ButtonClearLog.setFont(font)
        self.ButtonClearLog.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ButtonClearLog.setStyleSheet("        QPushButton {\n"
"            padding: 6px 12px;      /* top/bottom, left/right */\n"
"        }")
        self.ButtonClearLog.setObjectName("ButtonClearLog")
        self.horizontalLayout_2.addWidget(self.ButtonClearLog)
        self.ButtonCopyLog = QtWidgets.QPushButton(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.ButtonCopyLog.setFont(font)
        self.ButtonCopyLog.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ButtonCopyLog.setStyleSheet("        QPushButton {\n"
"            padding: 6px 12px;      /* top/bottom, left/right */\n"
"        }")
        self.ButtonCopyLog.setObjectName("ButtonCopyLog")
        self.horizontalLayout_2.addWidget(self.ButtonCopyLog)
        self.ButtonClean = QtWidgets.QPushButton(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.ButtonClean.setFont(font)
        self.ButtonClean.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ButtonClean.setStyleSheet("        QPushButton {\n"
"            padding: 6px 12px;      /* top/bottom, left/right */\n"
"        }")
        self.ButtonClean.setObjectName("ButtonClean")
        self.horizontalLayout_2.addWidget(self.ButtonClean)
        self.ButtonCopySpec = QtWidgets.QPushButton(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.ButtonCopySpec.setFont(font)
        self.ButtonCopySpec.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ButtonCopySpec.setStyleSheet("        QPushButton {\n"
"            padding: 6px 12px;      /* top/bottom, left/right */\n"
"        }")
        self.ButtonCopySpec.setObjectName("ButtonCopySpec")
        self.horizontalLayout_2.addWidget(self.ButtonCopySpec)
        self.ParseFile = QtWidgets.QPushButton(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.ParseFile.setFont(font)
        self.ParseFile.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ParseFile.setStyleSheet("        QPushButton {\n"
"            padding: 6px 12px;      /* top/bottom, left/right */\n"
"        }")
        self.ParseFile.setObjectName("ParseFile")
        self.horizontalLayout_2.addWidget(self.ParseFile)
        self.ButtonBackup = QtWidgets.QPushButton(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.ButtonBackup.setFont(font)
        self.ButtonBackup.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ButtonBackup.setStyleSheet("        QPushButton {\n"
"            padding: 6px 12px;      /* top/bottom, left/right */\n"
"        }")
        self.ButtonBackup.setObjectName("ButtonBackup")
        self.horizontalLayout_2.addWidget(self.ButtonBackup)
        self.ButtonOpenBackupDir = QtWidgets.QPushButton(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.ButtonOpenBackupDir.setFont(font)
        self.ButtonOpenBackupDir.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ButtonOpenBackupDir.setStyleSheet("        QPushButton {\n"
"            padding: 6px 12px;      /* top/bottom, left/right */\n"
"        }")
        self.ButtonOpenBackupDir.setObjectName("ButtonOpenBackupDir")
        self.horizontalLayout_2.addWidget(self.ButtonOpenBackupDir)
        self.ButtonReset = QtWidgets.QPushButton(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.ButtonReset.setFont(font)
        self.ButtonReset.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ButtonReset.setStyleSheet("        QPushButton {\n"
"            padding: 6px 12px;      /* top/bottom, left/right */\n"
"        }")
        self.ButtonReset.setObjectName("ButtonReset")
        self.horizontalLayout_2.addWidget(self.ButtonReset)
        self.ButtonSetValidators = QtWidgets.QPushButton(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.ButtonSetValidators.setFont(font)
        self.ButtonSetValidators.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ButtonSetValidators.setStyleSheet("        QPushButton {\n"
"            padding: 6px 12px;      /* top/bottom, left/right */\n"
"        }")
        self.ButtonSetValidators.setObjectName("ButtonSetValidators")
        self.horizontalLayout_2.addWidget(self.ButtonSetValidators)
        self.ButtonSetMti = QtWidgets.QPushButton(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.ButtonSetMti.setFont(font)
        self.ButtonSetMti.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ButtonSetMti.setStyleSheet("        QPushButton {\n"
"            padding: 6px 12px;      /* top/bottom, left/right */\n"
"        }")
        self.ButtonSetMti.setObjectName("ButtonSetMti")
        self.horizontalLayout_2.addWidget(self.ButtonSetMti)
        self.ButtonClose = QtWidgets.QPushButton(parent=SpecificationWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.ButtonClose.setFont(font)
        self.ButtonClose.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.ButtonClose.setStyleSheet("        QPushButton {\n"
"            padding: 6px 12px;      /* top/bottom, left/right */\n"
"        }")
        self.ButtonClose.setObjectName("ButtonClose")
        self.horizontalLayout_2.addWidget(self.ButtonClose)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.gridLayout.addLayout(self.horizontalLayout_2, 5, 0, 1, 1)

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

    def retranslateUi(self, SpecificationWindow):
        _translate = QtCore.QCoreApplication.translate
        SpecificationWindow.setWindowTitle(_translate("SpecificationWindow", "Signal | Specification"))
        self.CheckBoxReadOnly.setText(_translate("SpecificationWindow", "Read only mode"))
        self.CheckBoxHideReverved.setText(_translate("SpecificationWindow", "Hide reserved for future"))
        self.SearchLine.setPlaceholderText(_translate("SpecificationWindow", "Search: field number | field description"))
        self.ButtonApply.setText(_translate("SpecificationWindow", "Apply"))
        self.ButtonClearLog.setText(_translate("SpecificationWindow", "Clear Log"))
        self.ButtonCopyLog.setText(_translate("SpecificationWindow", "Copy Log"))
        self.ButtonClean.setText(_translate("SpecificationWindow", "Clear Spec"))
        self.ButtonCopySpec.setText(_translate("SpecificationWindow", "Copy Spec"))
        self.ParseFile.setText(_translate("SpecificationWindow", "Open File"))
        self.ButtonBackup.setText(_translate("SpecificationWindow", "Do Backup"))
        self.ButtonOpenBackupDir.setText(_translate("SpecificationWindow", "Backup Dir"))
        self.ButtonReset.setText(_translate("SpecificationWindow", "Set Spec"))
        self.ButtonSetValidators.setText(_translate("SpecificationWindow", "Field Params"))
        self.ButtonSetMti.setText(_translate("SpecificationWindow", "Set MTI"))
        self.ButtonClose.setText(_translate("SpecificationWindow", "Close"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    SpecificationWindow = QtWidgets.QDialog()
    ui = Ui_SpecificationWindow()
    ui.setupUi(SpecificationWindow)
    SpecificationWindow.show()
    sys.exit(app.exec())
