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

# Form implementation generated from reading ui file 'ui/vector_data_dialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# 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_vectorDataDialog(object):
    def setupUi(self, vectorDataDialog):
        vectorDataDialog.setObjectName("vectorDataDialog")
        vectorDataDialog.resize(325, 430)
        vectorDataDialog.setMinimumSize(QtCore.QSize(0, 430))
        vectorDataDialog.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.gridLayout_4 = QtWidgets.QGridLayout(vectorDataDialog)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.frame_2 = QtWidgets.QFrame(vectorDataDialog)
        self.frame_2.setMinimumSize(QtCore.QSize(0, 31))
        self.frame_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame_2)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.nameLabel = QtWidgets.QLabel(self.frame_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.nameLabel.sizePolicy().hasHeightForWidth())
        self.nameLabel.setSizePolicy(sizePolicy)
        self.nameLabel.setMinimumSize(QtCore.QSize(35, 16))
        self.nameLabel.setMaximumSize(QtCore.QSize(16777215, 20))
        self.nameLabel.setScaledContents(True)
        self.nameLabel.setWordWrap(False)
        self.nameLabel.setObjectName("nameLabel")
        self.horizontalLayout_2.addWidget(self.nameLabel)
        self.nameValue = QtWidgets.QLineEdit(self.frame_2)
        self.nameValue.setMinimumSize(QtCore.QSize(0, 26))
        self.nameValue.setMaximumSize(QtCore.QSize(16777215, 20))
        self.nameValue.setObjectName("nameValue")
        self.horizontalLayout_2.addWidget(self.nameValue)
        self.gridLayout_4.addWidget(self.frame_2, 0, 0, 1, 1)
        self.vectorButtons = QtWidgets.QDialogButtonBox(vectorDataDialog)
        self.vectorButtons.setOrientation(QtCore.Qt.Horizontal)
        self.vectorButtons.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Save)
        self.vectorButtons.setObjectName("vectorButtons")
        self.gridLayout_4.addWidget(self.vectorButtons, 5, 0, 1, 1)
        self.optionsGroupBox = QtWidgets.QGroupBox(vectorDataDialog)
        self.optionsGroupBox.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.optionsGroupBox.sizePolicy().hasHeightForWidth())
        self.optionsGroupBox.setSizePolicy(sizePolicy)
        self.optionsGroupBox.setMinimumSize(QtCore.QSize(0, 85))
        self.optionsGroupBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.optionsGroupBox.setObjectName("optionsGroupBox")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.optionsGroupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.bufferLabel = QtWidgets.QLabel(self.optionsGroupBox)
        self.bufferLabel.setObjectName("bufferLabel")
        self.gridLayout_2.addWidget(self.bufferLabel, 1, 2, 1, 1)
        self.vectorBufferValue = gui.QgsDoubleSpinBox(self.optionsGroupBox)
        self.vectorBufferValue.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.vectorBufferValue.sizePolicy().hasHeightForWidth())
        self.vectorBufferValue.setSizePolicy(sizePolicy)
        self.vectorBufferValue.setMinimumSize(QtCore.QSize(87, 27))
        self.vectorBufferValue.setMaximumSize(QtCore.QSize(16777215, 30))
        font = QtGui.QFont()
        font.setPointSize(7)
        self.vectorBufferValue.setFont(font)
        self.vectorBufferValue.setDecimals(3)
        self.vectorBufferValue.setObjectName("vectorBufferValue")
        self.gridLayout_2.addWidget(self.vectorBufferValue, 1, 1, 1, 1)
        self.vectorAllTouch = QtWidgets.QCheckBox(self.optionsGroupBox)
        self.vectorAllTouch.setEnabled(True)
        self.vectorAllTouch.setObjectName("vectorAllTouch")
        self.gridLayout_2.addWidget(self.vectorAllTouch, 0, 0, 1, 1)
        self.vectorBufferMode = QtWidgets.QCheckBox(self.optionsGroupBox)
        self.vectorBufferMode.setObjectName("vectorBufferMode")
        self.gridLayout_2.addWidget(self.vectorBufferMode, 0, 1, 1, 2)
        self.gridLayout_4.addWidget(self.optionsGroupBox, 4, 0, 1, 1)
        self.frame = QtWidgets.QFrame(vectorDataDialog)
        self.frame.setMinimumSize(QtCore.QSize(0, 31))
        self.frame.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.fileLabel = QtWidgets.QLabel(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fileLabel.sizePolicy().hasHeightForWidth())
        self.fileLabel.setSizePolicy(sizePolicy)
        self.fileLabel.setMinimumSize(QtCore.QSize(0, 16))
        self.fileLabel.setMaximumSize(QtCore.QSize(16777215, 20))
        self.fileLabel.setScaledContents(True)
        self.fileLabel.setObjectName("fileLabel")
        self.horizontalLayout.addWidget(self.fileLabel)
        self.vectorLayerCombo = gui.QgsMapLayerComboBox(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.vectorLayerCombo.sizePolicy().hasHeightForWidth())
        self.vectorLayerCombo.setSizePolicy(sizePolicy)
        self.vectorLayerCombo.setMinimumSize(QtCore.QSize(0, 26))
        self.vectorLayerCombo.setMaximumSize(QtCore.QSize(16777215, 20))
        self.vectorLayerCombo.setObjectName("vectorLayerCombo")
        self.horizontalLayout.addWidget(self.vectorLayerCombo)
        self.vectorLayerFile = QtWidgets.QToolButton(self.frame)
        self.vectorLayerFile.setMinimumSize(QtCore.QSize(26, 26))
        self.vectorLayerFile.setMaximumSize(QtCore.QSize(26, 26))
        self.vectorLayerFile.setObjectName("vectorLayerFile")
        self.horizontalLayout.addWidget(self.vectorLayerFile)
        self.gridLayout_4.addWidget(self.frame, 1, 0, 1, 1)
        self.valueGroupBox_3 = QtWidgets.QGroupBox(vectorDataDialog)
        self.valueGroupBox_3.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.valueGroupBox_3.sizePolicy().hasHeightForWidth())
        self.valueGroupBox_3.setSizePolicy(sizePolicy)
        self.valueGroupBox_3.setMinimumSize(QtCore.QSize(0, 93))
        self.valueGroupBox_3.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.valueGroupBox_3.setObjectName("valueGroupBox_3")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.valueGroupBox_3)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.typeLabel_4 = QtWidgets.QLabel(self.valueGroupBox_3)
        self.typeLabel_4.setEnabled(False)
        self.typeLabel_4.setMaximumSize(QtCore.QSize(16777215, 20))
        self.typeLabel_4.setScaledContents(True)
        self.typeLabel_4.setObjectName("typeLabel_4")
        self.gridLayout_3.addWidget(self.typeLabel_4, 0, 0, 1, 1)
        self.vectorDefaultSetting = QtWidgets.QComboBox(self.valueGroupBox_3)
        self.vectorDefaultSetting.setEnabled(False)
        self.vectorDefaultSetting.setMinimumSize(QtCore.QSize(0, 26))
        self.vectorDefaultSetting.setObjectName("vectorDefaultSetting")
        self.gridLayout_3.addWidget(self.vectorDefaultSetting, 0, 1, 1, 1)
        self.typeLabel_3 = QtWidgets.QLabel(self.valueGroupBox_3)
        self.typeLabel_3.setEnabled(True)
        self.typeLabel_3.setMaximumSize(QtCore.QSize(16777215, 20))
        self.typeLabel_3.setScaledContents(True)
        self.typeLabel_3.setObjectName("typeLabel_3")
        self.gridLayout_3.addWidget(self.typeLabel_3, 1, 0, 1, 1)
        self.vectorSelectionExpression = gui.QgsFieldExpressionWidget(self.valueGroupBox_3)
        self.vectorSelectionExpression.setEnabled(True)
        self.vectorSelectionExpression.setMinimumSize(QtCore.QSize(0, 26))
        self.vectorSelectionExpression.setMaximumSize(QtCore.QSize(16777215, 20))
        self.vectorSelectionExpression.setObjectName("vectorSelectionExpression")
        self.gridLayout_3.addWidget(self.vectorSelectionExpression, 1, 1, 1, 1)
        self.gridLayout_4.addWidget(self.valueGroupBox_3, 2, 0, 1, 1)
        self.valueGroupBox_2 = QtWidgets.QGroupBox(vectorDataDialog)
        self.valueGroupBox_2.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.valueGroupBox_2.sizePolicy().hasHeightForWidth())
        self.valueGroupBox_2.setSizePolicy(sizePolicy)
        self.valueGroupBox_2.setMinimumSize(QtCore.QSize(0, 100))
        self.valueGroupBox_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.valueGroupBox_2.setObjectName("valueGroupBox_2")
        self.gridLayout = QtWidgets.QGridLayout(self.valueGroupBox_2)
        self.gridLayout.setContentsMargins(-1, 6, -1, 6)
        self.gridLayout.setObjectName("gridLayout")
        self.vectorFieldMode = QtWidgets.QRadioButton(self.valueGroupBox_2)
        self.vectorFieldMode.setEnabled(True)
        self.vectorFieldMode.setMinimumSize(QtCore.QSize(0, 20))
        self.vectorFieldMode.setChecked(True)
        self.vectorFieldMode.setObjectName("vectorFieldMode")
        self.gridLayout.addWidget(self.vectorFieldMode, 0, 0, 1, 1)
        self.vectorFixedMode = QtWidgets.QRadioButton(self.valueGroupBox_2)
        self.vectorFixedMode.setEnabled(True)
        self.vectorFixedMode.setMinimumSize(QtCore.QSize(0, 20))
        self.vectorFixedMode.setObjectName("vectorFixedMode")
        self.gridLayout.addWidget(self.vectorFixedMode, 0, 1, 1, 1)
        self.vectorFieldCombo = gui.QgsFieldComboBox(self.valueGroupBox_2)
        self.vectorFieldCombo.setEnabled(True)
        self.vectorFieldCombo.setMinimumSize(QtCore.QSize(0, 27))
        self.vectorFieldCombo.setMaxVisibleItems(10)
        self.vectorFieldCombo.setObjectName("vectorFieldCombo")
        self.gridLayout.addWidget(self.vectorFieldCombo, 1, 0, 1, 1)
        self.vectorFixedValue = QtWidgets.QSpinBox(self.valueGroupBox_2)
        self.vectorFixedValue.setMinimumSize(QtCore.QSize(0, 27))
        self.vectorFixedValue.setMaximum(255)
        self.vectorFixedValue.setObjectName("vectorFixedValue")
        self.gridLayout.addWidget(self.vectorFixedValue, 1, 1, 1, 1)
        self.keepValues = QtWidgets.QCheckBox(self.valueGroupBox_2)
        self.keepValues.setEnabled(True)
        self.keepValues.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.keepValues.setObjectName("keepValues")
        self.gridLayout.addWidget(self.keepValues, 2, 0, 1, 1)
        self.gridLayout_4.addWidget(self.valueGroupBox_2, 3, 0, 1, 1)

        self.retranslateUi(vectorDataDialog)
        self.vectorFieldCombo.setCurrentIndex(-1)
        self.vectorButtons.accepted.connect(vectorDataDialog.accept) # type: ignore
        self.vectorButtons.rejected.connect(vectorDataDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(vectorDataDialog)

    def retranslateUi(self, vectorDataDialog):
        _translate = QtCore.QCoreApplication.translate
        vectorDataDialog.setWindowTitle(_translate("vectorDataDialog", "Import vector data"))
        self.nameLabel.setText(_translate("vectorDataDialog", "Name"))
        self.optionsGroupBox.setTitle(_translate("vectorDataDialog", "Advanced options"))
        self.bufferLabel.setText(_translate("vectorDataDialog", "meters"))
        self.vectorAllTouch.setText(_translate("vectorDataDialog", "all pixels touch"))
        self.vectorBufferMode.setText(_translate("vectorDataDialog", "buffer"))
        self.fileLabel.setText(_translate("vectorDataDialog", "Select vector layer"))
        self.vectorLayerFile.setText(_translate("vectorDataDialog", "..."))
        self.valueGroupBox_3.setTitle(_translate("vectorDataDialog", "Features selection (all features by default)"))
        self.typeLabel_4.setText(_translate("vectorDataDialog", "Default settings"))
        self.typeLabel_3.setText(_translate("vectorDataDialog", "Expression"))
        self.valueGroupBox_2.setTitle(_translate("vectorDataDialog", "Burn mode"))
        self.vectorFieldMode.setText(_translate("vectorDataDialog", "By field value"))
        self.vectorFixedMode.setText(_translate("vectorDataDialog", "Fixed value"))
        self.keepValues.setText(_translate("vectorDataDialog", "Keep initial values"))
from qgis import gui
