# Form implementation generated from reading ui file 'demproperties.ui'
#
# Created by: PyQt6 UI code generator 6.11.0
#
# 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 qgis.PyQt import QtCore, QtGui, QtWidgets


class Ui_DEMPropertiesWidget(object):
    def setupUi(self, DEMPropertiesWidget):
        DEMPropertiesWidget.setObjectName("DEMPropertiesWidget")
        DEMPropertiesWidget.resize(382, 489)
        self.verticalLayout = QtWidgets.QVBoxLayout(DEMPropertiesWidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tabWidget = QtWidgets.QTabWidget(parent=DEMPropertiesWidget)
        self.tabWidget.setTabPosition(QtWidgets.QTabWidget.TabPosition.West)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.tab)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.scrollArea = QtWidgets.QScrollArea(parent=self.tab)
        self.scrollArea.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 357, 483))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.formLayout_Altitude = QtWidgets.QFormLayout()
        self.formLayout_Altitude.setObjectName("formLayout_Altitude")
        self.labelAltitude = QtWidgets.QLabel(parent=self.scrollAreaWidgetContents)
        self.labelAltitude.setMinimumSize(QtCore.QSize(138, 0))
        self.labelAltitude.setObjectName("labelAltitude")
        self.formLayout_Altitude.setWidget(0, QtWidgets.QFormLayout.ItemRole.LabelRole, self.labelAltitude)
        self.lineEdit_Altitude = QtWidgets.QLineEdit(parent=self.scrollAreaWidgetContents)
        self.lineEdit_Altitude.setObjectName("lineEdit_Altitude")
        self.formLayout_Altitude.setWidget(0, QtWidgets.QFormLayout.ItemRole.FieldRole, self.lineEdit_Altitude)
        self.verticalLayout_3.addLayout(self.formLayout_Altitude)
        self.groupBoxResampMethod = QtWidgets.QGroupBox(parent=self.scrollAreaWidgetContents)
        self.groupBoxResampMethod.setObjectName("groupBoxResampMethod")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBoxResampMethod)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.radioButton_Resampling = QtWidgets.QRadioButton(parent=self.groupBoxResampMethod)
        self.radioButton_Resampling.setChecked(True)
        self.radioButton_Resampling.setObjectName("radioButton_Resampling")
        self.verticalLayout_5.addWidget(self.radioButton_Resampling)
        self.horizontalLayoutResamp = QtWidgets.QHBoxLayout()
        self.horizontalLayoutResamp.setContentsMargins(20, -1, -1, -1)
        self.horizontalLayoutResamp.setObjectName("horizontalLayoutResamp")
        self.labelResamp = QtWidgets.QLabel(parent=self.groupBoxResampMethod)
        self.labelResamp.setMinimumSize(QtCore.QSize(110, 0))
        self.labelResamp.setObjectName("labelResamp")
        self.horizontalLayoutResamp.addWidget(self.labelResamp)
        self.horizontalSlider_DEMSize = QtWidgets.QSlider(parent=self.groupBoxResampMethod)
        self.horizontalSlider_DEMSize.setMinimum(1)
        self.horizontalSlider_DEMSize.setMaximum(6)
        self.horizontalSlider_DEMSize.setSingleStep(1)
        self.horizontalSlider_DEMSize.setPageStep(1)
        self.horizontalSlider_DEMSize.setProperty("value", 2)
        self.horizontalSlider_DEMSize.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.horizontalSlider_DEMSize.setTickPosition(QtWidgets.QSlider.TickPosition.TicksBelow)
        self.horizontalSlider_DEMSize.setTickInterval(1)
        self.horizontalSlider_DEMSize.setObjectName("horizontalSlider_DEMSize")
        self.horizontalLayoutResamp.addWidget(self.horizontalSlider_DEMSize)
        self.labelResampLevel = QtWidgets.QLabel(parent=self.groupBoxResampMethod)
        self.labelResampLevel.setMinimumSize(QtCore.QSize(10, 0))
        self.labelResampLevel.setObjectName("labelResampLevel")
        self.horizontalLayoutResamp.addWidget(self.labelResampLevel)
        self.verticalLayout_5.addLayout(self.horizontalLayoutResamp)
        self.radioButton_OriginalValues = QtWidgets.QRadioButton(parent=self.groupBoxResampMethod)
        self.radioButton_OriginalValues.setObjectName("radioButton_OriginalValues")
        self.verticalLayout_5.addWidget(self.radioButton_OriginalValues)
        self.formLayoutOriginalValues = QtWidgets.QFormLayout()
        self.formLayoutOriginalValues.setContentsMargins(20, -1, -1, -1)
        self.formLayoutOriginalValues.setObjectName("formLayoutOriginalValues")
        self.labelTileSize = QtWidgets.QLabel(parent=self.groupBoxResampMethod)
        self.labelTileSize.setMinimumSize(QtCore.QSize(110, 0))
        self.labelTileSize.setObjectName("labelTileSize")
        self.formLayoutOriginalValues.setWidget(0, QtWidgets.QFormLayout.ItemRole.LabelRole, self.labelTileSize)
        self.spinBox_TileSideSegments = QtWidgets.QSpinBox(parent=self.groupBoxResampMethod)
        self.spinBox_TileSideSegments.setMinimum(1)
        self.spinBox_TileSideSegments.setMaximum(10000)
        self.spinBox_TileSideSegments.setSingleStep(100)
        self.spinBox_TileSideSegments.setProperty("value", 500)
        self.spinBox_TileSideSegments.setObjectName("spinBox_TileSideSegments")
        self.formLayoutOriginalValues.setWidget(0, QtWidgets.QFormLayout.ItemRole.FieldRole, self.spinBox_TileSideSegments)
        self.labelOriginalValues = QtWidgets.QLabel(parent=self.groupBoxResampMethod)
        self.labelOriginalValues.setStyleSheet("font-style:italic;")
        self.labelOriginalValues.setWordWrap(True)
        self.labelOriginalValues.setObjectName("labelOriginalValues")
        self.formLayoutOriginalValues.setWidget(1, QtWidgets.QFormLayout.ItemRole.SpanningRole, self.labelOriginalValues)
        self.verticalLayout_5.addLayout(self.formLayoutOriginalValues)
        self.verticalLayout_3.addWidget(self.groupBoxResampMethod)
        self.groupBoxClip = QtWidgets.QGroupBox(parent=self.scrollAreaWidgetContents)
        self.groupBoxClip.setObjectName("groupBoxClip")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBoxClip)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.radioButton_ClipPolygon = QtWidgets.QRadioButton(parent=self.groupBoxClip)
        self.radioButton_ClipPolygon.setObjectName("radioButton_ClipPolygon")
        self.gridLayout_3.addWidget(self.radioButton_ClipPolygon, 2, 0, 1, 1)
        self.radioButton_ClipBaseExtent = QtWidgets.QRadioButton(parent=self.groupBoxClip)
        self.radioButton_ClipBaseExtent.setChecked(True)
        self.radioButton_ClipBaseExtent.setObjectName("radioButton_ClipBaseExtent")
        self.gridLayout_3.addWidget(self.radioButton_ClipBaseExtent, 1, 0, 1, 2)
        self.comboBox_ClipLayer = QtWidgets.QComboBox(parent=self.groupBoxClip)
        self.comboBox_ClipLayer.setEnabled(False)
        self.comboBox_ClipLayer.setObjectName("comboBox_ClipLayer")
        self.gridLayout_3.addWidget(self.comboBox_ClipLayer, 2, 1, 1, 1)
        self.radioButton_NoClip = QtWidgets.QRadioButton(parent=self.groupBoxClip)
        self.radioButton_NoClip.setObjectName("radioButton_NoClip")
        self.gridLayout_3.addWidget(self.radioButton_NoClip, 3, 0, 1, 1)
        self.verticalLayout_3.addWidget(self.groupBoxClip)
        self.groupBoxTiles = QtWidgets.QGroupBox(parent=self.scrollAreaWidgetContents)
        self.groupBoxTiles.setChecked(False)
        self.groupBoxTiles.setObjectName("groupBoxTiles")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBoxTiles)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.checkBox_Tiles = QtWidgets.QCheckBox(parent=self.groupBoxTiles)
        self.checkBox_Tiles.setObjectName("checkBox_Tiles")
        self.verticalLayout_4.addWidget(self.checkBox_Tiles)
        self.gridLayoutTiles = QtWidgets.QGridLayout()
        self.gridLayoutTiles.setObjectName("gridLayoutTiles")
        self.labelNumTiles = QtWidgets.QLabel(parent=self.groupBoxTiles)
        self.labelNumTiles.setMinimumSize(QtCore.QSize(70, 0))
        self.labelNumTiles.setObjectName("labelNumTiles")
        self.gridLayoutTiles.addWidget(self.labelNumTiles, 0, 0, 1, 1)
        self.spinBox_Size = QtWidgets.QSpinBox(parent=self.groupBoxTiles)
        self.spinBox_Size.setMinimumSize(QtCore.QSize(40, 0))
        self.spinBox_Size.setMinimum(3)
        self.spinBox_Size.setMaximum(99)
        self.spinBox_Size.setSingleStep(2)
        self.spinBox_Size.setProperty("value", 3)
        self.spinBox_Size.setObjectName("spinBox_Size")
        self.gridLayoutTiles.addWidget(self.spinBox_Size, 0, 1, 1, 1)
        self.spinBox_Roughening = QtWidgets.QSpinBox(parent=self.groupBoxTiles)
        self.spinBox_Roughening.setMinimumSize(QtCore.QSize(40, 0))
        self.spinBox_Roughening.setMaximum(64)
        self.spinBox_Roughening.setProperty("value", 1)
        self.spinBox_Roughening.setObjectName("spinBox_Roughening")
        self.gridLayoutTiles.addWidget(self.spinBox_Roughening, 0, 3, 1, 1)
        self.labelRoughness = QtWidgets.QLabel(parent=self.groupBoxTiles)
        self.labelRoughness.setMinimumSize(QtCore.QSize(70, 0))
        self.labelRoughness.setObjectName("labelRoughness")
        self.gridLayoutTiles.addWidget(self.labelRoughness, 0, 2, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayoutTiles)
        self.verticalLayout_3.addWidget(self.groupBoxTiles)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_2.addWidget(self.scrollArea)
        self.tabWidget.addTab(self.tab, "")
        self.tabMaterials = QtWidgets.QWidget()
        self.tabMaterials.setObjectName("tabMaterials")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.tabMaterials)
        self.verticalLayout_7.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.scrollArea_2 = QtWidgets.QScrollArea(parent=self.tabMaterials)
        self.scrollArea_2.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
        self.scrollArea_2.setWidgetResizable(True)
        self.scrollArea_2.setObjectName("scrollArea_2")
        self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 357, 483))
        self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_2)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.gridLayout_MtlBtns = QtWidgets.QGridLayout()
        self.gridLayout_MtlBtns.setObjectName("gridLayout_MtlBtns")
        self.toolButton_RemoveMtl = QtWidgets.QToolButton(parent=self.scrollAreaWidgetContents_2)
        self.toolButton_RemoveMtl.setObjectName("toolButton_RemoveMtl")
        self.gridLayout_MtlBtns.addWidget(self.toolButton_RemoveMtl, 0, 1, 1, 1)
        self.toolButton_AddMtl = QtWidgets.QToolButton(parent=self.scrollAreaWidgetContents_2)
        self.toolButton_AddMtl.setObjectName("toolButton_AddMtl")
        self.gridLayout_MtlBtns.addWidget(self.toolButton_AddMtl, 0, 0, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.gridLayout_MtlBtns.addItem(spacerItem1, 0, 2, 1, 1)
        self.verticalLayout_6.addLayout(self.gridLayout_MtlBtns)
        self.listWidget_Materials = QtWidgets.QListWidget(parent=self.scrollAreaWidgetContents_2)
        self.listWidget_Materials.setObjectName("listWidget_Materials")
        self.verticalLayout_6.addWidget(self.listWidget_Materials)
        self.gridLayout_Mtl = QtWidgets.QGridLayout()
        self.gridLayout_Mtl.setObjectName("gridLayout_Mtl")
        self.label_ImageFile = QtWidgets.QLabel(parent=self.scrollAreaWidgetContents_2)
        self.label_ImageFile.setObjectName("label_ImageFile")
        self.gridLayout_Mtl.addWidget(self.label_ImageFile, 4, 0, 1, 1)
        self.lineEdit_ImageFile = QtWidgets.QLineEdit(parent=self.scrollAreaWidgetContents_2)
        self.lineEdit_ImageFile.setObjectName("lineEdit_ImageFile")
        self.gridLayout_Mtl.addWidget(self.lineEdit_ImageFile, 4, 1, 1, 1)
        self.horizontalSlider_Opacity = QtWidgets.QSlider(parent=self.scrollAreaWidgetContents_2)
        self.horizontalSlider_Opacity.setMaximum(100)
        self.horizontalSlider_Opacity.setProperty("value", 100)
        self.horizontalSlider_Opacity.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.horizontalSlider_Opacity.setObjectName("horizontalSlider_Opacity")
        self.gridLayout_Mtl.addWidget(self.horizontalSlider_Opacity, 8, 1, 1, 1)
        self.label_17 = QtWidgets.QLabel(parent=self.scrollAreaWidgetContents_2)
        self.label_17.setObjectName("label_17")
        self.gridLayout_Mtl.addWidget(self.label_17, 8, 0, 1, 1)
        self.spinBox_Opacity = QtWidgets.QSpinBox(parent=self.scrollAreaWidgetContents_2)
        self.spinBox_Opacity.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBox_Opacity.sizePolicy().hasHeightForWidth())
        self.spinBox_Opacity.setSizePolicy(sizePolicy)
        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_Mtl.addWidget(self.spinBox_Opacity, 8, 2, 1, 1)
        self.toolButton_ImageFile = QtWidgets.QToolButton(parent=self.scrollAreaWidgetContents_2)
        self.toolButton_ImageFile.setObjectName("toolButton_ImageFile")
        self.gridLayout_Mtl.addWidget(self.toolButton_ImageFile, 4, 2, 1, 1)
        self.colorButton_Color = QgsColorButton(parent=self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.colorButton_Color.sizePolicy().hasHeightForWidth())
        self.colorButton_Color.setSizePolicy(sizePolicy)
        self.colorButton_Color.setObjectName("colorButton_Color")
        self.gridLayout_Mtl.addWidget(self.colorButton_Color, 5, 1, 1, 2)
        self.toolButton_SelectLayer = QtWidgets.QToolButton(parent=self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolButton_SelectLayer.sizePolicy().hasHeightForWidth())
        self.toolButton_SelectLayer.setSizePolicy(sizePolicy)
        self.toolButton_SelectLayer.setObjectName("toolButton_SelectLayer")
        self.gridLayout_Mtl.addWidget(self.toolButton_SelectLayer, 1, 2, 1, 1)
        self.label_LayerImage = QtWidgets.QLabel(parent=self.scrollAreaWidgetContents_2)
        self.label_LayerImage.setText("")
        self.label_LayerImage.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
        self.label_LayerImage.setObjectName("label_LayerImage")
        self.gridLayout_Mtl.addWidget(self.label_LayerImage, 1, 1, 1, 1)
        self.checkBox_Shading = QtWidgets.QCheckBox(parent=self.scrollAreaWidgetContents_2)
        self.checkBox_Shading.setChecked(True)
        self.checkBox_Shading.setObjectName("checkBox_Shading")
        self.gridLayout_Mtl.addWidget(self.checkBox_Shading, 10, 0, 1, 3)
        self.label_TextureSize = QtWidgets.QLabel(parent=self.scrollAreaWidgetContents_2)
        self.label_TextureSize.setMinimumSize(QtCore.QSize(110, 0))
        self.label_TextureSize.setObjectName("label_TextureSize")
        self.gridLayout_Mtl.addWidget(self.label_TextureSize, 2, 0, 1, 1)
        self.label_Color = QtWidgets.QLabel(parent=self.scrollAreaWidgetContents_2)
        self.label_Color.setObjectName("label_Color")
        self.gridLayout_Mtl.addWidget(self.label_Color, 5, 0, 1, 1)
        self.label_Layers = QtWidgets.QLabel(parent=self.scrollAreaWidgetContents_2)
        self.label_Layers.setObjectName("label_Layers")
        self.gridLayout_Mtl.addWidget(self.label_Layers, 1, 0, 1, 1)
        self.checkBox_TransparentBackground = QtWidgets.QCheckBox(parent=self.scrollAreaWidgetContents_2)
        self.checkBox_TransparentBackground.setObjectName("checkBox_TransparentBackground")
        self.gridLayout_Mtl.addWidget(self.checkBox_TransparentBackground, 9, 0, 1, 3)
        self.comboBox_TextureSize = QtWidgets.QComboBox(parent=self.scrollAreaWidgetContents_2)
        self.comboBox_TextureSize.setEditable(True)
        self.comboBox_TextureSize.setObjectName("comboBox_TextureSize")
        self.gridLayout_Mtl.addWidget(self.comboBox_TextureSize, 2, 1, 1, 2)
        self.label_Format = QtWidgets.QLabel(parent=self.scrollAreaWidgetContents_2)
        self.label_Format.setObjectName("label_Format")
        self.gridLayout_Mtl.addWidget(self.label_Format, 3, 0, 1, 1)
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.radioButton_PNG = QtWidgets.QRadioButton(parent=self.scrollAreaWidgetContents_2)
        self.radioButton_PNG.setObjectName("radioButton_PNG")
        self.gridLayout_2.addWidget(self.radioButton_PNG, 0, 1, 1, 1)
        self.radioButton_JPEG = QtWidgets.QRadioButton(parent=self.scrollAreaWidgetContents_2)
        self.radioButton_JPEG.setChecked(True)
        self.radioButton_JPEG.setObjectName("radioButton_JPEG")
        self.gridLayout_2.addWidget(self.radioButton_JPEG, 0, 0, 1, 1)
        self.gridLayout_Mtl.addLayout(self.gridLayout_2, 3, 1, 1, 2)
        self.verticalLayout_6.addLayout(self.gridLayout_Mtl)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout_6.addItem(spacerItem2)
        self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
        self.verticalLayout_7.addWidget(self.scrollArea_2)
        self.tabWidget.addTab(self.tabMaterials, "")
        self.tabOthers = QtWidgets.QWidget()
        self.tabOthers.setObjectName("tabOthers")
        self.gridLayout = QtWidgets.QGridLayout(self.tabOthers)
        self.gridLayout.setObjectName("gridLayout")
        self.colorButton_Edge = QgsColorButton(parent=self.tabOthers)
        self.colorButton_Edge.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.colorButton_Edge.sizePolicy().hasHeightForWidth())
        self.colorButton_Edge.setSizePolicy(sizePolicy)
        self.colorButton_Edge.setObjectName("colorButton_Edge")
        self.gridLayout.addWidget(self.colorButton_Edge, 2, 1, 1, 1)
        self.checkBox_Sides = QtWidgets.QCheckBox(parent=self.tabOthers)
        self.checkBox_Sides.setObjectName("checkBox_Sides")
        self.gridLayout.addWidget(self.checkBox_Sides, 0, 0, 1, 1)
        self.lineEdit_Bottom = QtWidgets.QLineEdit(parent=self.tabOthers)
        self.lineEdit_Bottom.setObjectName("lineEdit_Bottom")
        self.gridLayout.addWidget(self.lineEdit_Bottom, 1, 1, 1, 1)
        self.colorButton_Side = QgsColorButton(parent=self.tabOthers)
        self.colorButton_Side.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.colorButton_Side.sizePolicy().hasHeightForWidth())
        self.colorButton_Side.setSizePolicy(sizePolicy)
        self.colorButton_Side.setObjectName("colorButton_Side")
        self.gridLayout.addWidget(self.colorButton_Side, 0, 1, 1, 1)
        self.checkBox_Wireframe = QtWidgets.QCheckBox(parent=self.tabOthers)
        self.checkBox_Wireframe.setObjectName("checkBox_Wireframe")
        self.gridLayout.addWidget(self.checkBox_Wireframe, 3, 0, 1, 1)
        self.checkBox_Frame = QtWidgets.QCheckBox(parent=self.tabOthers)
        self.checkBox_Frame.setObjectName("checkBox_Frame")
        self.gridLayout.addWidget(self.checkBox_Frame, 2, 0, 1, 1)
        self.label_Bottom = QtWidgets.QLabel(parent=self.tabOthers)
        self.label_Bottom.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
        self.label_Bottom.setObjectName("label_Bottom")
        self.gridLayout.addWidget(self.label_Bottom, 1, 0, 1, 1)
        self.label = QtWidgets.QLabel(parent=self.tabOthers)
        self.label.setMinimumSize(QtCore.QSize(110, 0))
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 5, 0, 1, 1)
        self.lineEdit_Name = QtWidgets.QLineEdit(parent=self.tabOthers)
        self.lineEdit_Name.setObjectName("lineEdit_Name")
        self.gridLayout.addWidget(self.lineEdit_Name, 5, 1, 1, 1)
        self.colorButton_Wireframe = QgsColorButton(parent=self.tabOthers)
        self.colorButton_Wireframe.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.colorButton_Wireframe.sizePolicy().hasHeightForWidth())
        self.colorButton_Wireframe.setSizePolicy(sizePolicy)
        self.colorButton_Wireframe.setObjectName("colorButton_Wireframe")
        self.gridLayout.addWidget(self.colorButton_Wireframe, 3, 1, 1, 1)
        self.checkBox_Visible = QtWidgets.QCheckBox(parent=self.tabOthers)
        self.checkBox_Visible.setChecked(True)
        self.checkBox_Visible.setObjectName("checkBox_Visible")
        self.gridLayout.addWidget(self.checkBox_Visible, 6, 0, 1, 2)
        self.checkBox_Clickable = QtWidgets.QCheckBox(parent=self.tabOthers)
        self.checkBox_Clickable.setChecked(True)
        self.checkBox_Clickable.setObjectName("checkBox_Clickable")
        self.gridLayout.addWidget(self.checkBox_Clickable, 7, 0, 1, 2)
        spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.gridLayout.addItem(spacerItem3, 8, 0, 1, 2)
        self.line = QtWidgets.QFrame(parent=self.tabOthers)
        self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 4, 0, 1, 2)
        self.tabWidget.addTab(self.tabOthers, "")
        self.verticalLayout.addWidget(self.tabWidget)

        self.retranslateUi(DEMPropertiesWidget)
        self.tabWidget.setCurrentIndex(0)
        self.horizontalSlider_DEMSize.valueChanged['int'].connect(self.labelResampLevel.setNum) # type: ignore
        self.checkBox_Sides.toggled['bool'].connect(self.colorButton_Side.setEnabled) # type: ignore
        self.checkBox_Frame.toggled['bool'].connect(self.colorButton_Edge.setEnabled) # type: ignore
        self.checkBox_Wireframe.toggled['bool'].connect(self.colorButton_Wireframe.setEnabled) # type: ignore
        self.checkBox_Sides.toggled['bool'].connect(self.label_Bottom.setVisible) # type: ignore
        self.checkBox_Sides.toggled['bool'].connect(self.lineEdit_Bottom.setVisible) # type: ignore
        self.radioButton_ClipPolygon.toggled['bool'].connect(self.comboBox_ClipLayer.setEnabled) # type: ignore
        self.radioButton_Resampling.toggled['bool'].connect(self.groupBoxTiles.setEnabled) # type: ignore
        self.horizontalSlider_Opacity.valueChanged['int'].connect(self.spinBox_Opacity.setValue) # type: ignore
        self.spinBox_Opacity.valueChanged['int'].connect(self.horizontalSlider_Opacity.setValue) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(DEMPropertiesWidget)
        DEMPropertiesWidget.setTabOrder(self.tabWidget, self.lineEdit_Altitude)
        DEMPropertiesWidget.setTabOrder(self.lineEdit_Altitude, self.radioButton_Resampling)
        DEMPropertiesWidget.setTabOrder(self.radioButton_Resampling, self.horizontalSlider_DEMSize)
        DEMPropertiesWidget.setTabOrder(self.horizontalSlider_DEMSize, self.radioButton_OriginalValues)
        DEMPropertiesWidget.setTabOrder(self.radioButton_OriginalValues, self.spinBox_TileSideSegments)
        DEMPropertiesWidget.setTabOrder(self.spinBox_TileSideSegments, self.radioButton_ClipBaseExtent)
        DEMPropertiesWidget.setTabOrder(self.radioButton_ClipBaseExtent, self.radioButton_ClipPolygon)
        DEMPropertiesWidget.setTabOrder(self.radioButton_ClipPolygon, self.comboBox_ClipLayer)
        DEMPropertiesWidget.setTabOrder(self.comboBox_ClipLayer, self.radioButton_NoClip)
        DEMPropertiesWidget.setTabOrder(self.radioButton_NoClip, self.checkBox_Tiles)
        DEMPropertiesWidget.setTabOrder(self.checkBox_Tiles, self.spinBox_Size)
        DEMPropertiesWidget.setTabOrder(self.spinBox_Size, self.spinBox_Roughening)
        DEMPropertiesWidget.setTabOrder(self.spinBox_Roughening, self.toolButton_AddMtl)
        DEMPropertiesWidget.setTabOrder(self.toolButton_AddMtl, self.toolButton_RemoveMtl)
        DEMPropertiesWidget.setTabOrder(self.toolButton_RemoveMtl, self.toolButton_SelectLayer)
        DEMPropertiesWidget.setTabOrder(self.toolButton_SelectLayer, self.comboBox_TextureSize)
        DEMPropertiesWidget.setTabOrder(self.comboBox_TextureSize, self.radioButton_JPEG)
        DEMPropertiesWidget.setTabOrder(self.radioButton_JPEG, self.radioButton_PNG)
        DEMPropertiesWidget.setTabOrder(self.radioButton_PNG, self.lineEdit_ImageFile)
        DEMPropertiesWidget.setTabOrder(self.lineEdit_ImageFile, self.toolButton_ImageFile)
        DEMPropertiesWidget.setTabOrder(self.toolButton_ImageFile, self.colorButton_Color)
        DEMPropertiesWidget.setTabOrder(self.colorButton_Color, self.horizontalSlider_Opacity)
        DEMPropertiesWidget.setTabOrder(self.horizontalSlider_Opacity, self.spinBox_Opacity)
        DEMPropertiesWidget.setTabOrder(self.spinBox_Opacity, self.checkBox_TransparentBackground)
        DEMPropertiesWidget.setTabOrder(self.checkBox_TransparentBackground, self.checkBox_Shading)
        DEMPropertiesWidget.setTabOrder(self.checkBox_Shading, self.checkBox_Sides)
        DEMPropertiesWidget.setTabOrder(self.checkBox_Sides, self.colorButton_Side)
        DEMPropertiesWidget.setTabOrder(self.colorButton_Side, self.lineEdit_Bottom)
        DEMPropertiesWidget.setTabOrder(self.lineEdit_Bottom, self.checkBox_Frame)
        DEMPropertiesWidget.setTabOrder(self.checkBox_Frame, self.colorButton_Edge)
        DEMPropertiesWidget.setTabOrder(self.colorButton_Edge, self.checkBox_Wireframe)
        DEMPropertiesWidget.setTabOrder(self.checkBox_Wireframe, self.colorButton_Wireframe)
        DEMPropertiesWidget.setTabOrder(self.colorButton_Wireframe, self.lineEdit_Name)
        DEMPropertiesWidget.setTabOrder(self.lineEdit_Name, self.checkBox_Visible)
        DEMPropertiesWidget.setTabOrder(self.checkBox_Visible, self.checkBox_Clickable)

    def retranslateUi(self, DEMPropertiesWidget):
        _translate = QtCore.QCoreApplication.translate
        DEMPropertiesWidget.setWindowTitle(_translate("DEMPropertiesWidget", "Form"))
        self.labelAltitude.setText(_translate("DEMPropertiesWidget", "Altitude"))
        self.lineEdit_Altitude.setText(_translate("DEMPropertiesWidget", "0"))
        self.groupBoxResampMethod.setTitle(_translate("DEMPropertiesWidget", "Resampling Method"))
        self.radioButton_Resampling.setText(_translate("DEMPropertiesWidget", "Bilinear resampling"))
        self.labelResamp.setText(_translate("DEMPropertiesWidget", "Resampling level"))
        self.labelResampLevel.setText(_translate("DEMPropertiesWidget", "2"))
        self.radioButton_OriginalValues.setText(_translate("DEMPropertiesWidget", "Use original DEM values"))
        self.labelTileSize.setText(_translate("DEMPropertiesWidget", "Tile side segments"))
        self.groupBoxClip.setTitle(_translate("DEMPropertiesWidget", "Clipping"))
        self.radioButton_ClipPolygon.setText(_translate("DEMPropertiesWidget", "Clip DEM to polygon layer"))
        self.radioButton_ClipBaseExtent.setText(_translate("DEMPropertiesWidget", "Clip DEM to scene base extent"))
        self.radioButton_NoClip.setText(_translate("DEMPropertiesWidget", "Do not clip DEM"))
        self.groupBoxTiles.setTitle(_translate("DEMPropertiesWidget", "Surrounding Tiles"))
        self.checkBox_Tiles.setText(_translate("DEMPropertiesWidget", "Surrounding tiles"))
        self.labelNumTiles.setText(_translate("DEMPropertiesWidget", "Tiles per side"))
        self.spinBox_Size.setToolTip(_translate("DEMPropertiesWidget", "Number of tiles is square of this value. Should be an odd number."))
        self.spinBox_Roughening.setToolTip(_translate("DEMPropertiesWidget", "Grid roughness of tiles other than center tile"))
        self.labelRoughness.setText(_translate("DEMPropertiesWidget", "Roughness"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("DEMPropertiesWidget", "Geometry"))
        self.toolButton_RemoveMtl.setToolTip(_translate("DEMPropertiesWidget", "Remove selected material."))
        self.toolButton_RemoveMtl.setText(_translate("DEMPropertiesWidget", "-"))
        self.toolButton_AddMtl.setToolTip(_translate("DEMPropertiesWidget", "Add a material to this layer."))
        self.toolButton_AddMtl.setText(_translate("DEMPropertiesWidget", "+"))
        self.label_ImageFile.setText(_translate("DEMPropertiesWidget", "Image file"))
        self.label_17.setText(_translate("DEMPropertiesWidget", "Opacity (%)"))
        self.toolButton_ImageFile.setText(_translate("DEMPropertiesWidget", "Browse..."))
        self.toolButton_SelectLayer.setText(_translate("DEMPropertiesWidget", "Select..."))
        self.checkBox_Shading.setText(_translate("DEMPropertiesWidget", "Enable shading"))
        self.label_TextureSize.setText(_translate("DEMPropertiesWidget", "Image width (px)"))
        self.label_Color.setText(_translate("DEMPropertiesWidget", "Color"))
        self.label_Layers.setText(_translate("DEMPropertiesWidget", "Layers"))
        self.checkBox_TransparentBackground.setText(_translate("DEMPropertiesWidget", "Transparent background"))
        self.label_Format.setText(_translate("DEMPropertiesWidget", "Image format"))
        self.radioButton_PNG.setText(_translate("DEMPropertiesWidget", "PNG"))
        self.radioButton_JPEG.setText(_translate("DEMPropertiesWidget", "JPEG"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMaterials), _translate("DEMPropertiesWidget", "Material"))
        self.checkBox_Sides.setText(_translate("DEMPropertiesWidget", "Build sides"))
        self.checkBox_Wireframe.setText(_translate("DEMPropertiesWidget", "Add quad wireframe"))
        self.checkBox_Frame.setText(_translate("DEMPropertiesWidget", "Add edge lines"))
        self.label_Bottom.setText(_translate("DEMPropertiesWidget", "Bottom altitude"))
        self.label.setText(_translate("DEMPropertiesWidget", "Name"))
        self.checkBox_Visible.setText(_translate("DEMPropertiesWidget", "Visible on load"))
        self.checkBox_Clickable.setText(_translate("DEMPropertiesWidget", "Clickable"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabOthers), _translate("DEMPropertiesWidget", "Others"))
from qgis.gui import QgsColorButton
