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

# Form implementation generated from reading ui file 'CrossSectionWidget.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# 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_CrossSectionWidget(object):
    def setupUi(self, CrossSectionWidget):
        CrossSectionWidget.setObjectName("CrossSectionWidget")
        CrossSectionWidget.resize(450, 550)
        CrossSectionWidget.setMinimumSize(QtCore.QSize(450, 500))
        CrossSectionWidget.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
        CrossSectionWidget.setFeatures(QtWidgets.QDockWidget.NoDockWidgetFeatures)
        self.dockWidgetContents = QtWidgets.QWidget()
        self.dockWidgetContents.setObjectName("dockWidgetContents")
        self.frame_2 = QtWidgets.QFrame(self.dockWidgetContents)
        self.frame_2.setGeometry(QtCore.QRect(5, 290, 441, 231))
        self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.label_21 = QtWidgets.QLabel(self.frame_2)
        self.label_21.setEnabled(True)
        self.label_21.setGeometry(QtCore.QRect(50, 50, 251, 27))
        self.label_21.setObjectName("label_21")
        self.lineEdit_XSinterstep = QtWidgets.QLineEdit(self.frame_2)
        self.lineEdit_XSinterstep.setEnabled(False)
        self.lineEdit_XSinterstep.setGeometry(QtCore.QRect(310, 50, 51, 27))
        self.lineEdit_XSinterstep.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lineEdit_XSinterstep.setObjectName("lineEdit_XSinterstep")
        self.label_23 = QtWidgets.QLabel(self.frame_2)
        self.label_23.setGeometry(QtCore.QRect(370, 50, 16, 27))
        self.label_23.setObjectName("label_23")
        self.pushButton_projection = QtWidgets.QPushButton(self.frame_2)
        self.pushButton_projection.setGeometry(QtCore.QRect(340, 190, 80, 23))
        self.pushButton_projection.setObjectName("pushButton_projection")
        self.checkBox_interpolateXS = QtWidgets.QCheckBox(self.frame_2)
        self.checkBox_interpolateXS.setGeometry(QtCore.QRect(20, 10, 221, 21))
        self.checkBox_interpolateXS.setObjectName("checkBox_interpolateXS")
        self.checkBox_optimizeXS = QtWidgets.QCheckBox(self.frame_2)
        self.checkBox_optimizeXS.setGeometry(QtCore.QRect(20, 100, 161, 21))
        self.checkBox_optimizeXS.setObjectName("checkBox_optimizeXS")
        self.label_16 = QtWidgets.QLabel(self.frame_2)
        self.label_16.setGeometry(QtCore.QRect(240, 180, 16, 27))
        self.label_16.setObjectName("label_16")
        self.label_20 = QtWidgets.QLabel(self.frame_2)
        self.label_20.setGeometry(QtCore.QRect(50, 180, 121, 27))
        self.label_20.setObjectName("label_20")
        self.lineEdit_distSearchMin = QtWidgets.QLineEdit(self.frame_2)
        self.lineEdit_distSearchMin.setGeometry(QtCore.QRect(180, 180, 51, 27))
        self.lineEdit_distSearchMin.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lineEdit_distSearchMin.setObjectName("lineEdit_distSearchMin")
        self.comboBox_interpolateXS = QtWidgets.QComboBox(self.frame_2)
        self.comboBox_interpolateXS.setEnabled(False)
        self.comboBox_interpolateXS.setGeometry(QtCore.QRect(260, 10, 121, 25))
        self.comboBox_interpolateXS.setObjectName("comboBox_interpolateXS")
        self.comboBox_interpolateXS.addItem("")
        self.comboBox_interpolateXS.addItem("")
        self.comboBox_optimizeXS = QtWidgets.QComboBox(self.frame_2)
        self.comboBox_optimizeXS.setEnabled(False)
        self.comboBox_optimizeXS.setGeometry(QtCore.QRect(260, 100, 121, 25))
        self.comboBox_optimizeXS.setObjectName("comboBox_optimizeXS")
        self.comboBox_optimizeXS.addItem("")
        self.comboBox_optimizeXS.addItem("")
        self.label_22 = QtWidgets.QLabel(self.frame_2)
        self.label_22.setGeometry(QtCore.QRect(20, 150, 161, 27))
        self.label_22.setObjectName("label_22")
        self.label_2 = QtWidgets.QLabel(self.dockWidgetContents)
        self.label_2.setGeometry(QtCore.QRect(10, 260, 211, 16))
        self.label_2.setObjectName("label_2")
        self.tabWidget = QtWidgets.QTabWidget(self.dockWidgetContents)
        self.tabWidget.setGeometry(QtCore.QRect(5, 0, 441, 251))
        self.tabWidget.setObjectName("tabWidget")
        self.tab_generation = QtWidgets.QWidget()
        self.tab_generation.setObjectName("tab_generation")
        self.label_12 = QtWidgets.QLabel(self.tab_generation)
        self.label_12.setGeometry(QtCore.QRect(280, 10, 16, 27))
        self.label_12.setObjectName("label_12")
        self.label_8 = QtWidgets.QLabel(self.tab_generation)
        self.label_8.setGeometry(QtCore.QRect(10, 10, 201, 27))
        self.label_8.setObjectName("label_8")
        self.lineEdit_creation_step = QtWidgets.QLineEdit(self.tab_generation)
        self.lineEdit_creation_step.setGeometry(QtCore.QRect(210, 10, 61, 27))
        self.lineEdit_creation_step.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lineEdit_creation_step.setObjectName("lineEdit_creation_step")
        self.lineEdit_number_of_points = QtWidgets.QLineEdit(self.tab_generation)
        self.lineEdit_number_of_points.setGeometry(QtCore.QRect(210, 110, 61, 27))
        self.lineEdit_number_of_points.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lineEdit_number_of_points.setObjectName("lineEdit_number_of_points")
        self.label_13 = QtWidgets.QLabel(self.tab_generation)
        self.label_13.setGeometry(QtCore.QRect(10, 60, 151, 27))
        self.label_13.setObjectName("label_13")
        self.lineEdit_width = QtWidgets.QLineEdit(self.tab_generation)
        self.lineEdit_width.setGeometry(QtCore.QRect(210, 60, 61, 27))
        self.lineEdit_width.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lineEdit_width.setObjectName("lineEdit_width")
        self.label_14 = QtWidgets.QLabel(self.tab_generation)
        self.label_14.setGeometry(QtCore.QRect(10, 110, 111, 27))
        self.label_14.setObjectName("label_14")
        self.label_15 = QtWidgets.QLabel(self.tab_generation)
        self.label_15.setGeometry(QtCore.QRect(280, 60, 16, 27))
        self.label_15.setObjectName("label_15")
        self.pushButton_generate = QtWidgets.QPushButton(self.tab_generation)
        self.pushButton_generate.setGeometry(QtCore.QRect(340, 180, 80, 23))
        self.pushButton_generate.setObjectName("pushButton_generate")
        self.comboBox_layerBank_1 = gui.QgsMapLayerComboBox(self.tab_generation)
        self.comboBox_layerBank_1.setEnabled(True)
        self.comboBox_layerBank_1.setGeometry(QtCore.QRect(30, 180, 271, 27))
        self.comboBox_layerBank_1.setObjectName("comboBox_layerBank_1")
        self.checkBox_widthFromBanks_1 = QtWidgets.QCheckBox(self.tab_generation)
        self.checkBox_widthFromBanks_1.setGeometry(QtCore.QRect(10, 150, 131, 21))
        self.checkBox_widthFromBanks_1.setObjectName("checkBox_widthFromBanks_1")
        self.tabWidget.addTab(self.tab_generation, "")
        self.tab_import = QtWidgets.QWidget()
        self.tab_import.setObjectName("tab_import")
        self.pushButton_import = QtWidgets.QPushButton(self.tab_import)
        self.pushButton_import.setGeometry(QtCore.QRect(340, 150, 80, 23))
        self.pushButton_import.setObjectName("pushButton_import")
        self.comboBox_layerXS = gui.QgsMapLayerComboBox(self.tab_import)
        self.comboBox_layerXS.setEnabled(False)
        self.comboBox_layerXS.setGeometry(QtCore.QRect(100, 10, 321, 27))
        self.comboBox_layerXS.setObjectName("comboBox_layerXS")
        self.checkBox_widthFromBanks_2 = QtWidgets.QCheckBox(self.tab_import)
        self.checkBox_widthFromBanks_2.setGeometry(QtCore.QRect(20, 50, 131, 21))
        self.checkBox_widthFromBanks_2.setObjectName("checkBox_widthFromBanks_2")
        self.comboBox_layerBank_2 = gui.QgsMapLayerComboBox(self.tab_import)
        self.comboBox_layerBank_2.setEnabled(True)
        self.comboBox_layerBank_2.setGeometry(QtCore.QRect(80, 80, 341, 27))
        self.comboBox_layerBank_2.setObjectName("comboBox_layerBank_2")
        self.label_17 = QtWidgets.QLabel(self.tab_import)
        self.label_17.setGeometry(QtCore.QRect(20, 80, 41, 27))
        self.label_17.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_17.setObjectName("label_17")
        self.label_18 = QtWidgets.QLabel(self.tab_import)
        self.label_18.setGeometry(QtCore.QRect(0, 10, 91, 27))
        self.label_18.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_18.setObjectName("label_18")
        self.checkBox_resampleLines = QtWidgets.QCheckBox(self.tab_import)
        self.checkBox_resampleLines.setGeometry(QtCore.QRect(20, 120, 161, 21))
        self.checkBox_resampleLines.setObjectName("checkBox_resampleLines")
        self.lineEdit_number_of_points_resample = QtWidgets.QLineEdit(self.tab_import)
        self.lineEdit_number_of_points_resample.setGeometry(QtCore.QRect(160, 150, 61, 27))
        self.lineEdit_number_of_points_resample.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lineEdit_number_of_points_resample.setObjectName("lineEdit_number_of_points_resample")
        self.label_19 = QtWidgets.QLabel(self.tab_import)
        self.label_19.setGeometry(QtCore.QRect(40, 150, 111, 27))
        self.label_19.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_19.setObjectName("label_19")
        self.tabWidget.addTab(self.tab_import, "")
        CrossSectionWidget.setWidget(self.dockWidgetContents)

        self.retranslateUi(CrossSectionWidget)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(CrossSectionWidget)

    def retranslateUi(self, CrossSectionWidget):
        _translate = QtCore.QCoreApplication.translate
        self.label_21.setToolTip(_translate("CrossSectionWidget", " Pas d\'espace d\'interpolation des sections"))
        self.label_21.setText(_translate("CrossSectionWidget", "Maximum distance between cross sections"))
        self.lineEdit_XSinterstep.setText(_translate("CrossSectionWidget", "100"))
        self.label_23.setText(_translate("CrossSectionWidget", "m"))
        self.pushButton_projection.setText(_translate("CrossSectionWidget", "Projection"))
        self.checkBox_interpolateXS.setText(_translate("CrossSectionWidget", "Add interpolated cross sections"))
        self.checkBox_optimizeXS.setText(_translate("CrossSectionWidget", "Optimize cross sections"))
        self.label_16.setText(_translate("CrossSectionWidget", "m"))
        self.label_20.setToolTip(_translate("CrossSectionWidget", " Position transversale du 0 des sections en travers"))
        self.label_20.setText(_translate("CrossSectionWidget", "Maximum distance"))
        self.lineEdit_distSearchMin.setText(_translate("CrossSectionWidget", "100"))
        self.comboBox_interpolateXS.setItemText(0, _translate("CrossSectionWidget", "CEPHEE"))
        self.comboBox_interpolateXS.setItemText(1, _translate("CrossSectionWidget", "TATOOINE"))
        self.comboBox_optimizeXS.setItemText(0, _translate("CrossSectionWidget", "angle"))
        self.comboBox_optimizeXS.setItemText(1, _translate("CrossSectionWidget", "overbank"))
        self.label_22.setToolTip(_translate("CrossSectionWidget", " Position transversale du 0 des sections en travers"))
        self.label_22.setText(_translate("CrossSectionWidget", "Cross section origin search:"))
        self.label_2.setText(_translate("CrossSectionWidget", "Interpolation and projection"))
        self.label_12.setText(_translate("CrossSectionWidget", "m"))
        self.label_8.setToolTip(_translate("CrossSectionWidget", "Distance entre les sections sur un bief"))
        self.label_8.setText(_translate("CrossSectionWidget", "Distance between cross sections"))
        self.lineEdit_creation_step.setText(_translate("CrossSectionWidget", "500"))
        self.lineEdit_number_of_points.setText(_translate("CrossSectionWidget", "100"))
        self.label_13.setToolTip(_translate("CrossSectionWidget", "Demi largeur des sections en travers "))
        self.label_13.setText(_translate("CrossSectionWidget", "Cross-section half-width"))
        self.lineEdit_width.setText(_translate("CrossSectionWidget", "100"))
        self.label_14.setToolTip(_translate("CrossSectionWidget", "Nombre de points topo des sections en travers"))
        self.label_14.setText(_translate("CrossSectionWidget", "Number of points"))
        self.label_15.setText(_translate("CrossSectionWidget", "m"))
        self.pushButton_generate.setText(_translate("CrossSectionWidget", "Generate"))
        self.checkBox_widthFromBanks_1.setText(_translate("CrossSectionWidget", "Width from banks"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_generation), _translate("CrossSectionWidget", "Cross section generation"))
        self.pushButton_import.setText(_translate("CrossSectionWidget", "Import"))
        self.checkBox_widthFromBanks_2.setText(_translate("CrossSectionWidget", "Width from banks"))
        self.label_17.setToolTip(_translate("CrossSectionWidget", "Ordre maximum du réseau hydrographique"))
        self.label_17.setText(_translate("CrossSectionWidget", "Banks"))
        self.label_18.setToolTip(_translate("CrossSectionWidget", "Ordre maximum du réseau hydrographique"))
        self.label_18.setText(_translate("CrossSectionWidget", "Cross sections :"))
        self.checkBox_resampleLines.setText(_translate("CrossSectionWidget", "Resample cross sections"))
        self.lineEdit_number_of_points_resample.setText(_translate("CrossSectionWidget", "100"))
        self.label_19.setToolTip(_translate("CrossSectionWidget", "Ordre maximum du réseau hydrographique"))
        self.label_19.setText(_translate("CrossSectionWidget", "Number of points"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_import), _translate("CrossSectionWidget", "Using QGIS layer"))
from qgis import gui
