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

# Form implementation generated from reading ui file 'D:\Documents\minorua\QGIS\plugins\Qgis2threejs\ui\pcproperties.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_PCPropertiesWidget(object):
    def setupUi(self, PCPropertiesWidget):
        PCPropertiesWidget.setObjectName("PCPropertiesWidget")
        PCPropertiesWidget.resize(452, 480)
        self.verticalLayout = QtWidgets.QVBoxLayout(PCPropertiesWidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox = QtWidgets.QGroupBox(PCPropertiesWidget)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 1, 0, 1, 1)
        self.url = QtWidgets.QLineEdit(self.groupBox)
        self.url.setStyleSheet("background-color: #F0F0F0;")
        self.url.setReadOnly(True)
        self.url.setObjectName("url")
        self.gridLayout_2.addWidget(self.url, 1, 1, 1, 1)
        self.textBrowser = QtWidgets.QTextBrowser(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textBrowser.sizePolicy().hasHeightForWidth())
        self.textBrowser.setSizePolicy(sizePolicy)
        self.textBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.textBrowser.setObjectName("textBrowser")
        self.gridLayout_2.addWidget(self.textBrowser, 2, 0, 1, 2)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(PCPropertiesWidget)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName("gridLayout")
        self.label_17 = QtWidgets.QLabel(self.groupBox_2)
        self.label_17.setObjectName("label_17")
        self.gridLayout.addWidget(self.label_17, 2, 0, 1, 1)
        self.horizontalSlider_Opacity = QtWidgets.QSlider(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.horizontalSlider_Opacity.sizePolicy().hasHeightForWidth())
        self.horizontalSlider_Opacity.setSizePolicy(sizePolicy)
        self.horizontalSlider_Opacity.setMinimumSize(QtCore.QSize(0, 22))
        self.horizontalSlider_Opacity.setMaximum(100)
        self.horizontalSlider_Opacity.setProperty("value", 100)
        self.horizontalSlider_Opacity.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider_Opacity.setObjectName("horizontalSlider_Opacity")
        self.gridLayout.addWidget(self.horizontalSlider_Opacity, 2, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.groupBox_2)
        self.label_4.setMinimumSize(QtCore.QSize(80, 0))
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.label_Color = QtWidgets.QLabel(self.groupBox_2)
        self.label_Color.setObjectName("label_Color")
        self.gridLayout.addWidget(self.label_Color, 1, 0, 1, 1)
        self.spinBox_Opacity = QtWidgets.QSpinBox(self.groupBox_2)
        self.spinBox_Opacity.setEnabled(True)
        self.spinBox_Opacity.setMinimumSize(QtCore.QSize(0, 22))
        self.spinBox_Opacity.setPrefix("")
        self.spinBox_Opacity.setMinimum(0)
        self.spinBox_Opacity.setMaximum(100)
        self.spinBox_Opacity.setSingleStep(1)
        self.spinBox_Opacity.setProperty("value", 100)
        self.spinBox_Opacity.setObjectName("spinBox_Opacity")
        self.gridLayout.addWidget(self.spinBox_Opacity, 2, 2, 1, 1)
        self.colorButton_Color = QgsColorButton(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.colorButton_Color.sizePolicy().hasHeightForWidth())
        self.colorButton_Color.setSizePolicy(sizePolicy)
        self.colorButton_Color.setMinimumSize(QtCore.QSize(0, 22))
        self.colorButton_Color.setObjectName("colorButton_Color")
        self.gridLayout.addWidget(self.colorButton_Color, 1, 1, 1, 2)
        self.comboBox_ColorType = QtWidgets.QComboBox(self.groupBox_2)
        self.comboBox_ColorType.setObjectName("comboBox_ColorType")
        self.gridLayout.addWidget(self.comboBox_ColorType, 0, 1, 1, 2)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.groupBox_3 = QtWidgets.QGroupBox(PCPropertiesWidget)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label = QtWidgets.QLabel(self.groupBox_3)
        self.label.setMinimumSize(QtCore.QSize(80, 0))
        self.label.setObjectName("label")
        self.gridLayout_3.addWidget(self.label, 0, 0, 1, 1)
        self.lineEdit_Name = QtWidgets.QLineEdit(self.groupBox_3)
        self.lineEdit_Name.setObjectName("lineEdit_Name")
        self.gridLayout_3.addWidget(self.lineEdit_Name, 0, 1, 1, 1)
        self.checkBox_BoxVisible = QtWidgets.QCheckBox(self.groupBox_3)
        self.checkBox_BoxVisible.setObjectName("checkBox_BoxVisible")
        self.gridLayout_3.addWidget(self.checkBox_BoxVisible, 2, 0, 1, 2)
        self.checkBox_Visible = QtWidgets.QCheckBox(self.groupBox_3)
        self.checkBox_Visible.setChecked(True)
        self.checkBox_Visible.setObjectName("checkBox_Visible")
        self.gridLayout_3.addWidget(self.checkBox_Visible, 3, 0, 1, 2)
        self.checkBox_Clickable = QtWidgets.QCheckBox(self.groupBox_3)
        self.checkBox_Clickable.setChecked(True)
        self.checkBox_Clickable.setObjectName("checkBox_Clickable")
        self.gridLayout_3.addWidget(self.checkBox_Clickable, 4, 0, 1, 2)
        self.verticalLayout.addWidget(self.groupBox_3)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)

        self.retranslateUi(PCPropertiesWidget)
        self.spinBox_Opacity.valueChanged['int'].connect(self.horizontalSlider_Opacity.setValue)
        self.horizontalSlider_Opacity.valueChanged['int'].connect(self.spinBox_Opacity.setValue)
        QtCore.QMetaObject.connectSlotsByName(PCPropertiesWidget)
        PCPropertiesWidget.setTabOrder(self.url, self.textBrowser)
        PCPropertiesWidget.setTabOrder(self.textBrowser, self.comboBox_ColorType)
        PCPropertiesWidget.setTabOrder(self.comboBox_ColorType, self.colorButton_Color)
        PCPropertiesWidget.setTabOrder(self.colorButton_Color, self.horizontalSlider_Opacity)
        PCPropertiesWidget.setTabOrder(self.horizontalSlider_Opacity, self.spinBox_Opacity)
        PCPropertiesWidget.setTabOrder(self.spinBox_Opacity, self.lineEdit_Name)
        PCPropertiesWidget.setTabOrder(self.lineEdit_Name, self.checkBox_BoxVisible)
        PCPropertiesWidget.setTabOrder(self.checkBox_BoxVisible, self.checkBox_Visible)
        PCPropertiesWidget.setTabOrder(self.checkBox_Visible, self.checkBox_Clickable)

    def retranslateUi(self, PCPropertiesWidget):
        _translate = QtCore.QCoreApplication.translate
        PCPropertiesWidget.setWindowTitle(_translate("PCPropertiesWidget", "Form"))
        self.groupBox.setTitle(_translate("PCPropertiesWidget", "&Information"))
        self.label_3.setText(_translate("PCPropertiesWidget", "URL"))
        self.groupBox_2.setTitle(_translate("PCPropertiesWidget", "&Material"))
        self.label_17.setText(_translate("PCPropertiesWidget", "Opacity (%)"))
        self.label_4.setText(_translate("PCPropertiesWidget", "Color type"))
        self.label_Color.setText(_translate("PCPropertiesWidget", "Color"))
        self.groupBox_3.setTitle(_translate("PCPropertiesWidget", "&Other Options"))
        self.label.setText(_translate("PCPropertiesWidget", "Name"))
        self.checkBox_BoxVisible.setText(_translate("PCPropertiesWidget", "Show bounding boxes"))
        self.checkBox_Visible.setText(_translate("PCPropertiesWidget", "Visible on load"))
        self.checkBox_Clickable.setText(_translate("PCPropertiesWidget", "Clickable"))
from qgis.gui import QgsColorButton
