<gh_stars>1000+
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'main_window.ui'
#
# Created by: PyQt5 UI code generator 5.7
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(262, 608)
        MainWindow.setMinimumSize(QtCore.QSize(262, 608))
        MainWindow.setMaximumSize(QtCore.QSize(262, 5560))
        MainWindow.setStyleSheet("QMainWindow { background: #fff;}\n"
"*, QLabel { font-family: Roboto; font-weight: 300; }\n"
"\n"
"QSlider::groove:horizontal {\n"
"    border: 0;\n"
"    height: 4px;\n"
"    background: rgba(0, 0, 0, 15);\n"
"}\n"
"\n"
"QSlider::handle:horizonal {\n"
"    background: #666;\n"
"    width: 8px;\n"
"    margin: -6px 0;\n"
"}\n"
"\n"
"QSlider::handle:horizontal:disabled {\n"
"    background: #ccc;\n"
"}\n"
"QSlider::groove:horizontal:disabled {\n"
"    background: rgba(0, 0, 0, 8);\n"
"}\n"
"\n"
"QRadioButton {\n"
"    background: #fafafa;\n"
"    padding: 4px 6px 3px;\n"
"   font-size: 12px;\n"
"    color: #333;\n"
"}\n"
"\n"
"QRadioButton::indicator {\n"
"    width: 15px;\n"
"    height: 15px;\n"
"    margin-top: -1px;\n"
"}\n"
"\n"
"QRadioButton:checked {\n"
"background: #eee;\n"
"}\n"
"\n"
"QRadioButton:hover {\n"
"background: #eaeaea;\n"
"}\n"
"\n"
"QComboBox {\n"
"border: 0;\n"
"background: #fff;\n"
"padding: 7px 10px 3px;\n"
"font-family: Roboto;\n"
"color: #777;\n"
"font-size: 12px;\n"
"}\n"
"\n"
"QComboBox::down-arrow {\n"
"    border: 0;\n"
"    margin: -3px;\n"
"    background: #ddd;\n"
"    margin-left: -16px;\n"
"margin-bottom: -4px;\n"
"    image: url(\":/img/down-arrow.png\");\n"
"}\n"
"\n"
"QCheckBox::indicator {\n"
"    border: 1px solid #aaa;\n"
"    background: #39f;\n"
"    width: 14px;\n"
"    height: 14px;\n"
"    image: url(\":/img/checked.png\");\n"
"}\n"
"\n"
"QCheckBox {\n"
"text-transform: uppercase;\n"
"color: #555;\n"
"}\n"
"\n"
"QCheckBox::indicator:unchecked {\n"
"    background: #fff;\n"
"    image: none;\n"
"}")
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.frame = QtWidgets.QFrame(self.centralwidget)
        self.frame.setMinimumSize(QtCore.QSize(0, 65))
        self.frame.setMaximumSize(QtCore.QSize(16777215, 65))
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.label = QtWidgets.QLabel(self.frame)
        self.label.setGeometry(QtCore.QRect(20, 26, 261, 31))
        self.label.setStyleSheet("font-size: 20px; color: #03C03C;\n"
"font-weight: 100;")
        self.label.setObjectName("label")
        self.label_9 = QtWidgets.QLabel(self.frame)
        self.label_9.setGeometry(QtCore.QRect(20, 6, 261, 31))
        self.label_9.setStyleSheet("font-size: 13px;\n"
"color: #aaa;\n"
"font-weight: 600;")
        self.label_9.setObjectName("label_9")
        self.verticalLayout.addWidget(self.frame)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.sidebar_material = QtWidgets.QFrame(self.centralwidget)
        self.sidebar_material.setMinimumSize(QtCore.QSize(0, 0))
        self.sidebar_material.setMaximumSize(QtCore.QSize(999999, 16777215))
        self.sidebar_material.setStyleSheet("QFrame { background: #eee; } QFrame>QLabel { text-transform: uppercase; color: #888;  background: transparent; }")
        self.sidebar_material.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.sidebar_material.setFrameShadow(QtWidgets.QFrame.Raised)
        self.sidebar_material.setObjectName("sidebar_material")
        self.label_2 = QtWidgets.QLabel(self.sidebar_material)
        self.label_2.setGeometry(QtCore.QRect(20, 20, 61, 16))
        self.label_2.setObjectName("label_2")
        self.cb_material = QtWidgets.QComboBox(self.sidebar_material)
        self.cb_material.setGeometry(QtCore.QRect(20, 40, 221, 30))
        self.cb_material.setObjectName("cb_material")
        self.cb_material.addItem("")
        self.label_14 = QtWidgets.QLabel(self.sidebar_material)
        self.label_14.setGeometry(QtCore.QRect(20, 80, 141, 16))
        self.label_14.setObjectName("label_14")
        self.cb_shading_model = QtWidgets.QComboBox(self.sidebar_material)
        self.cb_shading_model.setGeometry(QtCore.QRect(20, 100, 221, 30))
        self.cb_shading_model.setObjectName("cb_shading_model")
        self.cb_shading_model.addItem("")
        self.cb_shading_model.addItem("")
        self.cb_shading_model.addItem("")
        self.cb_metallic = QtWidgets.QCheckBox(self.sidebar_material)
        self.cb_metallic.setGeometry(QtCore.QRect(20, 140, 81, 17))
        self.cb_metallic.setObjectName("cb_metallic")
        self.horizontalLayoutWidget_3 = QtWidgets.QWidget(self.sidebar_material)
        self.horizontalLayoutWidget_3.setGeometry(QtCore.QRect(30, 240, 201, 73))
        self.horizontalLayoutWidget_3.setObjectName("horizontalLayoutWidget_3")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget_3)
        self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_4.setSpacing(6)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.lbl_basecolor_val2 = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_basecolor_val2.setMinimumSize(QtCore.QSize(30, 0))
        self.lbl_basecolor_val2.setMaximumSize(QtCore.QSize(30, 16777215))
        self.lbl_basecolor_val2.setStyleSheet("background: transparent;")
        self.lbl_basecolor_val2.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_basecolor_val2.setObjectName("lbl_basecolor_val2")
        self.gridLayout.addWidget(self.lbl_basecolor_val2, 1, 2, 1, 1)
        self.basecolor_3 = QtWidgets.QSlider(self.horizontalLayoutWidget_3)
        self.basecolor_3.setMaximum(100)
        self.basecolor_3.setProperty("value", 53)
        self.basecolor_3.setOrientation(QtCore.Qt.Horizontal)
        self.basecolor_3.setObjectName("basecolor_3")
        self.gridLayout.addWidget(self.basecolor_3, 2, 1, 1, 1)
        self.basecolor_1 = QtWidgets.QSlider(self.horizontalLayoutWidget_3)
        self.basecolor_1.setMaximum(100)
        self.basecolor_1.setProperty("value", 12)
        self.basecolor_1.setOrientation(QtCore.Qt.Horizontal)
        self.basecolor_1.setObjectName("basecolor_1")
        self.gridLayout.addWidget(self.basecolor_1, 0, 1, 1, 1)
        self.basecolor_2 = QtWidgets.QSlider(self.horizontalLayoutWidget_3)
        self.basecolor_2.setMaximum(100)
        self.basecolor_2.setProperty("value", 43)
        self.basecolor_2.setOrientation(QtCore.Qt.Horizontal)
        self.basecolor_2.setObjectName("basecolor_2")
        self.gridLayout.addWidget(self.basecolor_2, 1, 1, 1, 1)
        self.lbl_basecolor_val3 = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_basecolor_val3.setMinimumSize(QtCore.QSize(30, 0))
        self.lbl_basecolor_val3.setMaximumSize(QtCore.QSize(30, 16777215))
        self.lbl_basecolor_val3.setStyleSheet("background: transparent;")
        self.lbl_basecolor_val3.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_basecolor_val3.setObjectName("lbl_basecolor_val3")
        self.gridLayout.addWidget(self.lbl_basecolor_val3, 2, 2, 1, 1)
        self.lbl_basecolor_val1 = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_basecolor_val1.setMinimumSize(QtCore.QSize(30, 0))
        self.lbl_basecolor_val1.setMaximumSize(QtCore.QSize(30, 16777215))
        self.lbl_basecolor_val1.setStyleSheet("background: transparent;")
        self.lbl_basecolor_val1.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_basecolor_val1.setObjectName("lbl_basecolor_val1")
        self.gridLayout.addWidget(self.lbl_basecolor_val1, 0, 2, 1, 1)
        self.lbl_basecolor1 = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_basecolor1.setMinimumSize(QtCore.QSize(11, 0))
        self.lbl_basecolor1.setStyleSheet("background: transparent; color: #555; ")
        self.lbl_basecolor1.setObjectName("lbl_basecolor1")
        self.gridLayout.addWidget(self.lbl_basecolor1, 0, 0, 1, 1)
        self.lbl_basecolor2 = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_basecolor2.setMinimumSize(QtCore.QSize(11, 0))
        self.lbl_basecolor2.setStyleSheet("background: transparent; color: #555; ")
        self.lbl_basecolor2.setObjectName("lbl_basecolor2")
        self.gridLayout.addWidget(self.lbl_basecolor2, 1, 0, 1, 1)
        self.lbl_basecolor3 = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_basecolor3.setMinimumSize(QtCore.QSize(11, 0))
        self.lbl_basecolor3.setStyleSheet("background: transparent; color: #555; ")
        self.lbl_basecolor3.setObjectName("lbl_basecolor3")
        self.gridLayout.addWidget(self.lbl_basecolor3, 2, 0, 1, 1)
        self.horizontalLayout_4.addLayout(self.gridLayout)
        self.lbl_color_preview = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_color_preview.setMinimumSize(QtCore.QSize(30, 0))
        self.lbl_color_preview.setMaximumSize(QtCore.QSize(30, 16777215))
        self.lbl_color_preview.setStyleSheet("background: rgba(60, 120, 255);")
        self.lbl_color_preview.setText("")
        self.lbl_color_preview.setObjectName("lbl_color_preview")
        self.horizontalLayout_4.addWidget(self.lbl_color_preview)
        self.label_15 = QtWidgets.QLabel(self.sidebar_material)
        self.label_15.setGeometry(QtCore.QRect(20, 180, 131, 16))
        self.label_15.setObjectName("label_15")
        self.label_16 = QtWidgets.QLabel(self.sidebar_material)
        self.label_16.setGeometry(QtCore.QRect(20, 340, 131, 16))
        self.label_16.setObjectName("label_16")
        self.slider_roughness = QtWidgets.QSlider(self.sidebar_material)
        self.slider_roughness.setGeometry(QtCore.QRect(20, 360, 191, 19))
        self.slider_roughness.setMaximum(100)
        self.slider_roughness.setProperty("value", 32)
        self.slider_roughness.setOrientation(QtCore.Qt.Horizontal)
        self.slider_roughness.setObjectName("slider_roughness")
        self.label_17 = QtWidgets.QLabel(self.sidebar_material)
        self.label_17.setGeometry(QtCore.QRect(20, 390, 131, 16))
        self.label_17.setObjectName("label_17")
        self.slider_specular = QtWidgets.QSlider(self.sidebar_material)
        self.slider_specular.setGeometry(QtCore.QRect(20, 410, 191, 19))
        self.slider_specular.setMaximum(100)
        self.slider_specular.setSliderPosition(20)
        self.slider_specular.setOrientation(QtCore.Qt.Horizontal)
        self.slider_specular.setObjectName("slider_specular")
        self.label_18 = QtWidgets.QLabel(self.sidebar_material)
        self.label_18.setGeometry(QtCore.QRect(20, 440, 131, 16))
        self.label_18.setObjectName("label_18")
        self.slider_normal = QtWidgets.QSlider(self.sidebar_material)
        self.slider_normal.setGeometry(QtCore.QRect(20, 460, 191, 19))
        self.slider_normal.setMaximum(100)
        self.slider_normal.setSliderPosition(80)
        self.slider_normal.setOrientation(QtCore.Qt.Horizontal)
        self.slider_normal.setObjectName("slider_normal")
        self.lbl_roughness = QtWidgets.QLabel(self.sidebar_material)
        self.lbl_roughness.setGeometry(QtCore.QRect(220, 360, 31, 20))
        self.lbl_roughness.setStyleSheet("color: #333;")
        self.lbl_roughness.setObjectName("lbl_roughness")
        self.lbl_specular = QtWidgets.QLabel(self.sidebar_material)
        self.lbl_specular.setGeometry(QtCore.QRect(220, 410, 31, 20))
        self.lbl_specular.setStyleSheet("color: #333;")
        self.lbl_specular.setObjectName("lbl_specular")
        self.lbl_normal = QtWidgets.QLabel(self.sidebar_material)
        self.lbl_normal.setGeometry(QtCore.QRect(220, 459, 31, 20))
        self.lbl_normal.setStyleSheet("color: #333;")
        self.lbl_normal.setObjectName("lbl_normal")
        self.frame_2 = QtWidgets.QFrame(self.sidebar_material)
        self.frame_2.setGeometry(QtCore.QRect(-10, 166, 311, 561))
        self.frame_2.setStyleSheet("QFrame { background: #fff; }")
        self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.lbl_param1 = QtWidgets.QLabel(self.frame_2)
        self.lbl_param1.setGeometry(QtCore.QRect(230, 339, 31, 20))
        self.lbl_param1.setStyleSheet("color: #333;")
        self.lbl_param1.setObjectName("lbl_param1")
        self.slider_param1 = QtWidgets.QSlider(self.frame_2)
        self.slider_param1.setEnabled(False)
        self.slider_param1.setGeometry(QtCore.QRect(30, 340, 191, 19))
        self.slider_param1.setMaximum(100)
        self.slider_param1.setSliderPosition(80)
        self.slider_param1.setOrientation(QtCore.Qt.Horizontal)
        self.slider_param1.setObjectName("slider_param1")
        self.lbl_shading_model_param1 = QtWidgets.QLabel(self.frame_2)
        self.lbl_shading_model_param1.setGeometry(QtCore.QRect(30, 320, 141, 16))
        self.lbl_shading_model_param1.setObjectName("lbl_shading_model_param1")
        self.cb_rgb = QtWidgets.QRadioButton(self.frame_2)
        self.cb_rgb.setGeometry(QtCore.QRect(30, 34, 60, 27))
        self.cb_rgb.setChecked(True)
        self.cb_rgb.setObjectName("cb_rgb")
        self.cb_srgb = QtWidgets.QRadioButton(self.frame_2)
        self.cb_srgb.setGeometry(QtCore.QRect(92, 34, 71, 27))
        self.cb_srgb.setObjectName("cb_srgb")
        self.cb_hsv = QtWidgets.QRadioButton(self.frame_2)
        self.cb_hsv.setGeometry(QtCore.QRect(165, 34, 62, 27))
        self.cb_hsv.setObjectName("cb_hsv")
        self.frame_3 = QtWidgets.QFrame(self.frame_2)
        self.frame_3.setGeometry(QtCore.QRect(30, 59, 220, 96))
        self.frame_3.setStyleSheet("QFrame { background: #eee; }")
        self.frame_3.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_3.setObjectName("frame_3")
        self.lbl_param1.raise_()
        self.slider_param1.raise_()
        self.lbl_shading_model_param1.raise_()
        self.cb_rgb.raise_()
        self.cb_srgb.raise_()
        self.lbl_basecolor_val1.raise_()
        self.cb_hsv.raise_()
        self.frame_3.raise_()
        self.frame_2.raise_()
        self.label_2.raise_()
        self.cb_material.raise_()
        self.label_14.raise_()
        self.cb_shading_model.raise_()
        self.cb_metallic.raise_()
        self.horizontalLayoutWidget_3.raise_()
        self.label_15.raise_()
        self.label_16.raise_()
        self.slider_roughness.raise_()
        self.label_17.raise_()
        self.slider_specular.raise_()
        self.label_18.raise_()
        self.slider_normal.raise_()
        self.lbl_roughness.raise_()
        self.lbl_specular.raise_()
        self.lbl_normal.raise_()
        self.horizontalLayout.addWidget(self.sidebar_material)
        self.verticalLayout.addLayout(self.horizontalLayout)
        MainWindow.setCentralWidget(self.centralwidget)

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

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "Render Pipeline Material Editor"))
        self.label.setText(_translate("MainWindow", "MATERIAL EDITOR"))
        self.label_9.setText(_translate("MainWindow", "RENDER PIPELINE"))
        self.label_2.setText(_translate("MainWindow", "Material"))
        self.cb_material.setItemText(0, _translate("MainWindow", "tree01"))
        self.label_14.setText(_translate("MainWindow", "Shading model"))
        self.cb_shading_model.setItemText(0, _translate("MainWindow", "Default"))
        self.cb_shading_model.setItemText(1, _translate("MainWindow", "Emissive"))
        self.cb_shading_model.setItemText(2, _translate("MainWindow", "Transparent"))
        self.cb_metallic.setText(_translate("MainWindow", "Metallic"))
        self.lbl_basecolor_val2.setText(_translate("MainWindow", "0.43"))
        self.lbl_basecolor_val3.setText(_translate("MainWindow", "0.53"))
        self.lbl_basecolor_val1.setText(_translate("MainWindow", "0.12"))
        self.lbl_basecolor1.setText(_translate("MainWindow", "R"))
        self.lbl_basecolor2.setText(_translate("MainWindow", "G"))
        self.lbl_basecolor3.setText(_translate("MainWindow", "B"))
        self.label_15.setText(_translate("MainWindow", "Basecolor"))
        self.label_16.setText(_translate("MainWindow", "Roughness"))
        self.label_17.setText(_translate("MainWindow", "Specular IOR"))
        self.label_18.setText(_translate("MainWindow", "Normal-Strength"))
        self.lbl_roughness.setText(_translate("MainWindow", "0.32"))
        self.lbl_specular.setText(_translate("MainWindow", "1.43"))
        self.lbl_normal.setText(_translate("MainWindow", "0.80"))
        self.lbl_param1.setText(_translate("MainWindow", "0.20"))
        self.lbl_shading_model_param1.setText(_translate("MainWindow", "Shading-model-param"))
        self.cb_rgb.setText(_translate("MainWindow", "RGB"))
        self.cb_srgb.setText(_translate("MainWindow", "SRGB"))
        self.cb_hsv.setText(_translate("MainWindow", "HSV"))

from . import resources_rc

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'main_window.ui'
#
# Created by: PyQt5 UI code generator 5.7
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(262, 608)
        MainWindow.setMinimumSize(QtCore.QSize(262, 608))
        MainWindow.setMaximumSize(QtCore.QSize(262, 5560))
        MainWindow.setStyleSheet("QMainWindow { background: #fff;}\n"
"*, QLabel { font-family: Roboto; font-weight: 300; }\n"
"\n"
"QSlider::groove:horizontal {\n"
"    border: 0;\n"
"    height: 4px;\n"
"    background: rgba(0, 0, 0, 15);\n"
"}\n"
"\n"
"QSlider::handle:horizonal {\n"
"    background: #666;\n"
"    width: 8px;\n"
"    margin: -6px 0;\n"
"}\n"
"\n"
"QSlider::handle:horizontal:disabled {\n"
"    background: #ccc;\n"
"}\n"
"QSlider::groove:horizontal:disabled {\n"
"    background: rgba(0, 0, 0, 8);\n"
"}\n"
"\n"
"QRadioButton {\n"
"    background: #fafafa;\n"
"    padding: 4px 6px 3px;\n"
"   font-size: 12px;\n"
"    color: #333;\n"
"}\n"
"\n"
"QRadioButton::indicator {\n"
"    width: 15px;\n"
"    height: 15px;\n"
"    margin-top: -1px;\n"
"}\n"
"\n"
"QRadioButton:checked {\n"
"background: #eee;\n"
"}\n"
"\n"
"QRadioButton:hover {\n"
"background: #eaeaea;\n"
"}\n"
"\n"
"QComboBox {\n"
"border: 0;\n"
"background: #fff;\n"
"padding: 7px 10px 3px;\n"
"font-family: Roboto;\n"
"color: #777;\n"
"font-size: 12px;\n"
"}\n"
"\n"
"QComboBox::down-arrow {\n"
"    border: 0;\n"
"    margin: -3px;\n"
"    background: #ddd;\n"
"    margin-left: -16px;\n"
"margin-bottom: -4px;\n"
"    image: url(\":/img/down-arrow.png\");\n"
"}\n"
"\n"
"QCheckBox::indicator {\n"
"    border: 1px solid #aaa;\n"
"    background: #39f;\n"
"    width: 14px;\n"
"    height: 14px;\n"
"    image: url(\":/img/checked.png\");\n"
"}\n"
"\n"
"QCheckBox {\n"
"text-transform: uppercase;\n"
"color: #555;\n"
"}\n"
"\n"
"QCheckBox::indicator:unchecked {\n"
"    background: #fff;\n"
"    image: none;\n"
"}")
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.frame = QtWidgets.QFrame(self.centralwidget)
        self.frame.setMinimumSize(QtCore.QSize(0, 65))
        self.frame.setMaximumSize(QtCore.QSize(16777215, 65))
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.label = QtWidgets.QLabel(self.frame)
        self.label.setGeometry(QtCore.QRect(20, 26, 261, 31))
        self.label.setStyleSheet("font-size: 20px; color: #03C03C;\n"
"font-weight: 100;")
        self.label.setObjectName("label")
        self.label_9 = QtWidgets.QLabel(self.frame)
        self.label_9.setGeometry(QtCore.QRect(20, 6, 261, 31))
        self.label_9.setStyleSheet("font-size: 13px;\n"
"color: #aaa;\n"
"font-weight: 600;")
        self.label_9.setObjectName("label_9")
        self.verticalLayout.addWidget(self.frame)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.sidebar_material = QtWidgets.QFrame(self.centralwidget)
        self.sidebar_material.setMinimumSize(QtCore.QSize(0, 0))
        self.sidebar_material.setMaximumSize(QtCore.QSize(999999, 16777215))
        self.sidebar_material.setStyleSheet("QFrame { background: #eee; } QFrame>QLabel { text-transform: uppercase; color: #888;  background: transparent; }")
        self.sidebar_material.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.sidebar_material.setFrameShadow(QtWidgets.QFrame.Raised)
        self.sidebar_material.setObjectName("sidebar_material")
        self.label_2 = QtWidgets.QLabel(self.sidebar_material)
        self.label_2.setGeometry(QtCore.QRect(20, 20, 61, 16))
        self.label_2.setObjectName("label_2")
        self.cb_material = QtWidgets.QComboBox(self.sidebar_material)
        self.cb_material.setGeometry(QtCore.QRect(20, 40, 221, 30))
        self.cb_material.setObjectName("cb_material")
        self.cb_material.addItem("")
        self.label_14 = QtWidgets.QLabel(self.sidebar_material)
        self.label_14.setGeometry(QtCore.QRect(20, 80, 141, 16))
        self.label_14.setObjectName("label_14")
        self.cb_shading_model = QtWidgets.QComboBox(self.sidebar_material)
        self.cb_shading_model.setGeometry(QtCore.QRect(20, 100, 221, 30))
        self.cb_shading_model.setObjectName("cb_shading_model")
        self.cb_shading_model.addItem("")
        self.cb_shading_model.addItem("")
        self.cb_shading_model.addItem("")
        self.cb_metallic = QtWidgets.QCheckBox(self.sidebar_material)
        self.cb_metallic.setGeometry(QtCore.QRect(20, 140, 81, 17))
        self.cb_metallic.setObjectName("cb_metallic")
        self.horizontalLayoutWidget_3 = QtWidgets.QWidget(self.sidebar_material)
        self.horizontalLayoutWidget_3.setGeometry(QtCore.QRect(30, 240, 201, 73))
        self.horizontalLayoutWidget_3.setObjectName("horizontalLayoutWidget_3")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget_3)
        self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_4.setSpacing(6)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.lbl_basecolor_val2 = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_basecolor_val2.setMinimumSize(QtCore.QSize(30, 0))
        self.lbl_basecolor_val2.setMaximumSize(QtCore.QSize(30, 16777215))
        self.lbl_basecolor_val2.setStyleSheet("background: transparent;")
        self.lbl_basecolor_val2.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_basecolor_val2.setObjectName("lbl_basecolor_val2")
        self.gridLayout.addWidget(self.lbl_basecolor_val2, 1, 2, 1, 1)
        self.basecolor_3 = QtWidgets.QSlider(self.horizontalLayoutWidget_3)
        self.basecolor_3.setMaximum(100)
        self.basecolor_3.setProperty("value", 53)
        self.basecolor_3.setOrientation(QtCore.Qt.Horizontal)
        self.basecolor_3.setObjectName("basecolor_3")
        self.gridLayout.addWidget(self.basecolor_3, 2, 1, 1, 1)
        self.basecolor_1 = QtWidgets.QSlider(self.horizontalLayoutWidget_3)
        self.basecolor_1.setMaximum(100)
        self.basecolor_1.setProperty("value", 12)
        self.basecolor_1.setOrientation(QtCore.Qt.Horizontal)
        self.basecolor_1.setObjectName("basecolor_1")
        self.gridLayout.addWidget(self.basecolor_1, 0, 1, 1, 1)
        self.basecolor_2 = QtWidgets.QSlider(self.horizontalLayoutWidget_3)
        self.basecolor_2.setMaximum(100)
        self.basecolor_2.setProperty("value", 43)
        self.basecolor_2.setOrientation(QtCore.Qt.Horizontal)
        self.basecolor_2.setObjectName("basecolor_2")
        self.gridLayout.addWidget(self.basecolor_2, 1, 1, 1, 1)
        self.lbl_basecolor_val3 = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_basecolor_val3.setMinimumSize(QtCore.QSize(30, 0))
        self.lbl_basecolor_val3.setMaximumSize(QtCore.QSize(30, 16777215))
        self.lbl_basecolor_val3.setStyleSheet("background: transparent;")
        self.lbl_basecolor_val3.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_basecolor_val3.setObjectName("lbl_basecolor_val3")
        self.gridLayout.addWidget(self.lbl_basecolor_val3, 2, 2, 1, 1)
        self.lbl_basecolor_val1 = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_basecolor_val1.setMinimumSize(QtCore.QSize(30, 0))
        self.lbl_basecolor_val1.setMaximumSize(QtCore.QSize(30, 16777215))
        self.lbl_basecolor_val1.setStyleSheet("background: transparent;")
        self.lbl_basecolor_val1.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_basecolor_val1.setObjectName("lbl_basecolor_val1")
        self.gridLayout.addWidget(self.lbl_basecolor_val1, 0, 2, 1, 1)
        self.lbl_basecolor1 = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_basecolor1.setMinimumSize(QtCore.QSize(11, 0))
        self.lbl_basecolor1.setStyleSheet("background: transparent; color: #555; ")
        self.lbl_basecolor1.setObjectName("lbl_basecolor1")
        self.gridLayout.addWidget(self.lbl_basecolor1, 0, 0, 1, 1)
        self.lbl_basecolor2 = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_basecolor2.setMinimumSize(QtCore.QSize(11, 0))
        self.lbl_basecolor2.setStyleSheet("background: transparent; color: #555; ")
        self.lbl_basecolor2.setObjectName("lbl_basecolor2")
        self.gridLayout.addWidget(self.lbl_basecolor2, 1, 0, 1, 1)
        self.lbl_basecolor3 = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_basecolor3.setMinimumSize(QtCore.QSize(11, 0))
        self.lbl_basecolor3.setStyleSheet("background: transparent; color: #555; ")
        self.lbl_basecolor3.setObjectName("lbl_basecolor3")
        self.gridLayout.addWidget(self.lbl_basecolor3, 2, 0, 1, 1)
        self.horizontalLayout_4.addLayout(self.gridLayout)
        self.lbl_color_preview = QtWidgets.QLabel(self.horizontalLayoutWidget_3)
        self.lbl_color_preview.setMinimumSize(QtCore.QSize(30, 0))
        self.lbl_color_preview.setMaximumSize(QtCore.QSize(30, 16777215))
        self.lbl_color_preview.setStyleSheet("background: rgba(60, 120, 255);")
        self.lbl_color_preview.setText("")
        self.lbl_color_preview.setObjectName("lbl_color_preview")
        self.horizontalLayout_4.addWidget(self.lbl_color_preview)
        self.label_15 = QtWidgets.QLabel(self.sidebar_material)
        self.label_15.setGeometry(QtCore.QRect(20, 180, 131, 16))
        self.label_15.setObjectName("label_15")
        self.label_16 = QtWidgets.QLabel(self.sidebar_material)
        self.label_16.setGeometry(QtCore.QRect(20, 340, 131, 16))
        self.label_16.setObjectName("label_16")
        self.slider_roughness = QtWidgets.QSlider(self.sidebar_material)
        self.slider_roughness.setGeometry(QtCore.QRect(20, 360, 191, 19))
        self.slider_roughness.setMaximum(100)
        self.slider_roughness.setProperty("value", 32)
        self.slider_roughness.setOrientation(QtCore.Qt.Horizontal)
        self.slider_roughness.setObjectName("slider_roughness")
        self.label_17 = QtWidgets.QLabel(self.sidebar_material)
        self.label_17.setGeometry(QtCore.QRect(20, 390, 131, 16))
        self.label_17.setObjectName("label_17")
        self.slider_specular = QtWidgets.QSlider(self.sidebar_material)
        self.slider_specular.setGeometry(QtCore.QRect(20, 410, 191, 19))
        self.slider_specular.setMaximum(100)
        self.slider_specular.setSliderPosition(20)
        self.slider_specular.setOrientation(QtCore.Qt.Horizontal)
        self.slider_specular.setObjectName("slider_specular")
        self.label_18 = QtWidgets.QLabel(self.sidebar_material)
        self.label_18.setGeometry(QtCore.QRect(20, 440, 131, 16))
        self.label_18.setObjectName("label_18")
        self.slider_normal = QtWidgets.QSlider(self.sidebar_material)
        self.slider_normal.setGeometry(QtCore.QRect(20, 460, 191, 19))
        self.slider_normal.setMaximum(100)
        self.slider_normal.setSliderPosition(80)
        self.slider_normal.setOrientation(QtCore.Qt.Horizontal)
        self.slider_normal.setObjectName("slider_normal")
        self.lbl_roughness = QtWidgets.QLabel(self.sidebar_material)
        self.lbl_roughness.setGeometry(QtCore.QRect(220, 360, 31, 20))
        self.lbl_roughness.setStyleSheet("color: #333;")
        self.lbl_roughness.setObjectName("lbl_roughness")
        self.lbl_specular = QtWidgets.QLabel(self.sidebar_material)
        self.lbl_specular.setGeometry(QtCore.QRect(220, 410, 31, 20))
        self.lbl_specular.setStyleSheet("color: #333;")
        self.lbl_specular.setObjectName("lbl_specular")
        self.lbl_normal = QtWidgets.QLabel(self.sidebar_material)
        self.lbl_normal.setGeometry(QtCore.QRect(220, 459, 31, 20))
        self.lbl_normal.setStyleSheet("color: #333;")
        self.lbl_normal.setObjectName("lbl_normal")
        self.frame_2 = QtWidgets.QFrame(self.sidebar_material)
        self.frame_2.setGeometry(QtCore.QRect(-10, 166, 311, 561))
        self.frame_2.setStyleSheet("QFrame { background: #fff; }")
        self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.lbl_param1 = QtWidgets.QLabel(self.frame_2)
        self.lbl_param1.setGeometry(QtCore.QRect(230, 339, 31, 20))
        self.lbl_param1.setStyleSheet("color: #333;")
        self.lbl_param1.setObjectName("lbl_param1")
        self.slider_param1 = QtWidgets.QSlider(self.frame_2)
        self.slider_param1.setEnabled(False)
        self.slider_param1.setGeometry(QtCore.QRect(30, 340, 191, 19))
        self.slider_param1.setMaximum(100)
        self.slider_param1.setSliderPosition(80)
        self.slider_param1.setOrientation(QtCore.Qt.Horizontal)
        self.slider_param1.setObjectName("slider_param1")
        self.lbl_shading_model_param1 = QtWidgets.QLabel(self.frame_2)
        self.lbl_shading_model_param1.setGeometry(QtCore.QRect(30, 320, 141, 16))
        self.lbl_shading_model_param1.setObjectName("lbl_shading_model_param1")
        self.cb_rgb = QtWidgets.QRadioButton(self.frame_2)
        self.cb_rgb.setGeometry(QtCore.QRect(30, 34, 60, 27))
        self.cb_rgb.setChecked(True)
        self.cb_rgb.setObjectName("cb_rgb")
        self.cb_srgb = QtWidgets.QRadioButton(self.frame_2)
        self.cb_srgb.setGeometry(QtCore.QRect(92, 34, 71, 27))
        self.cb_srgb.setObjectName("cb_srgb")
        self.cb_hsv = QtWidgets.QRadioButton(self.frame_2)
        self.cb_hsv.setGeometry(QtCore.QRect(165, 34, 62, 27))
        self.cb_hsv.setObjectName("cb_hsv")
        self.frame_3 = QtWidgets.QFrame(self.frame_2)
        self.frame_3.setGeometry(QtCore.QRect(30, 59, 220, 96))
        self.frame_3.setStyleSheet("QFrame { background: #eee; }")
        self.frame_3.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_3.setObjectName("frame_3")
        self.lbl_param1.raise_()
        self.slider_param1.raise_()
        self.lbl_shading_model_param1.raise_()
        self.cb_rgb.raise_()
        self.cb_srgb.raise_()
        self.lbl_basecolor_val1.raise_()
        self.cb_hsv.raise_()
        self.frame_3.raise_()
        self.frame_2.raise_()
        self.label_2.raise_()
        self.cb_material.raise_()
        self.label_14.raise_()
        self.cb_shading_model.raise_()
        self.cb_metallic.raise_()
        self.horizontalLayoutWidget_3.raise_()
        self.label_15.raise_()
        self.label_16.raise_()
        self.slider_roughness.raise_()
        self.label_17.raise_()
        self.slider_specular.raise_()
        self.label_18.raise_()
        self.slider_normal.raise_()
        self.lbl_roughness.raise_()
        self.lbl_specular.raise_()
        self.lbl_normal.raise_()
        self.horizontalLayout.addWidget(self.sidebar_material)
        self.verticalLayout.addLayout(self.horizontalLayout)
        MainWindow.setCentralWidget(self.centralwidget)

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

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "Render Pipeline Material Editor"))
        self.label.setText(_translate("MainWindow", "MATERIAL EDITOR"))
        self.label_9.setText(_translate("MainWindow", "RENDER PIPELINE"))
        self.label_2.setText(_translate("MainWindow", "Material"))
        self.cb_material.setItemText(0, _translate("MainWindow", "tree01"))
        self.label_14.setText(_translate("MainWindow", "Shading model"))
        self.cb_shading_model.setItemText(0, _translate("MainWindow", "Default"))
        self.cb_shading_model.setItemText(1, _translate("MainWindow", "Emissive"))
        self.cb_shading_model.setItemText(2, _translate("MainWindow", "Transparent"))
        self.cb_metallic.setText(_translate("MainWindow", "Metallic"))
        self.lbl_basecolor_val2.setText(_translate("MainWindow", "0.43"))
        self.lbl_basecolor_val3.setText(_translate("MainWindow", "0.53"))
        self.lbl_basecolor_val1.setText(_translate("MainWindow", "0.12"))
        self.lbl_basecolor1.setText(_translate("MainWindow", "R"))
        self.lbl_basecolor2.setText(_translate("MainWindow", "G"))
        self.lbl_basecolor3.setText(_translate("MainWindow", "B"))
        self.label_15.setText(_translate("MainWindow", "Basecolor"))
        self.label_16.setText(_translate("MainWindow", "Roughness"))
        self.label_17.setText(_translate("MainWindow", "Specular IOR"))
        self.label_18.setText(_translate("MainWindow", "Normal-Strength"))
        self.lbl_roughness.setText(_translate("MainWindow", "0.32"))
        self.lbl_specular.setText(_translate("MainWindow", "1.43"))
        self.lbl_normal.setText(_translate("MainWindow", "0.80"))
        self.lbl_param1.setText(_translate("MainWindow", "0.20"))
        self.lbl_shading_model_param1.setText(_translate("MainWindow", "Shading-model-param"))
        self.cb_rgb.setText(_translate("MainWindow", "RGB"))
        self.cb_srgb.setText(_translate("MainWindow", "SRGB"))
        self.cb_hsv.setText(_translate("MainWindow", "HSV"))

from . import resources_rc
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'main_window.ui' # # Created by: PyQt5 UI code generator 5.7 # # WARNING! All changes made in this file will be lost! #fff;}\n" #666;\n" #ccc;\n" #fafafa;\n" #333;\n" #eee;\n" #eaeaea;\n" #fff;\n" #777;\n" #ddd;\n" #aaa;\n" #39f;\n" #555;\n" #fff;\n" #03C03C;\n" #aaa;\n" #eee; } QFrame>QLabel { text-transform: uppercase; color: #888;  background: transparent; }") #555; ") #555; ") #555; ") #333;") #333;") #333;") #fff; }") #333;") #eee; }")