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

# Form implementation generated from reading ui file 'C:\Users\esymons\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\tuflow\forms\ArchBridgeEditorDock.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_archBridgeDock(object):
    def setupUi(self, archBridgeDock):
        archBridgeDock.setObjectName("archBridgeDock")
        archBridgeDock.resize(452, 843)
        archBridgeDock.setMinimumSize(QtCore.QSize(254, 187))
        self.dockWidgetContents = QtWidgets.QWidget()
        self.dockWidgetContents.setObjectName("dockWidgetContents")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_16.setObjectName("horizontalLayout_16")
        self.label_21 = QtWidgets.QLabel(self.dockWidgetContents)
        self.label_21.setText("")
        self.label_21.setPixmap(QtGui.QPixmap(":/logo/resources/TUFLOW_logo_resized.png"))
        self.label_21.setObjectName("label_21")
        self.horizontalLayout_16.addWidget(self.label_21)
        self.label_18 = QtWidgets.QLabel(self.dockWidgetContents)
        self.label_18.setTextFormat(QtCore.Qt.RichText)
        self.label_18.setOpenExternalLinks(True)
        self.label_18.setObjectName("label_18")
        self.horizontalLayout_16.addWidget(self.label_18)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_16.addItem(spacerItem)
        self.verticalLayout_3.addLayout(self.horizontalLayout_16)
        self.scrollArea = QtWidgets.QScrollArea(self.dockWidgetContents)
        self.scrollArea.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.scrollArea.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContentsOnFirstShow)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 431, 1011))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout_22 = QtWidgets.QVBoxLayout()
        self.verticalLayout_22.setObjectName("verticalLayout_22")
        self.label_19 = QtWidgets.QLabel(self.groupBox)
        self.label_19.setObjectName("label_19")
        self.verticalLayout_22.addWidget(self.label_19)
        self.cboNwkLayer = QtWidgets.QComboBox(self.groupBox)
        self.cboNwkLayer.setObjectName("cboNwkLayer")
        self.verticalLayout_22.addWidget(self.cboNwkLayer)
        self.label_20 = QtWidgets.QLabel(self.groupBox)
        self.label_20.setObjectName("label_20")
        self.verticalLayout_22.addWidget(self.label_20)
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.bridgeBySelection = QtWidgets.QToolButton(self.groupBox)
        self.bridgeBySelection.setObjectName("bridgeBySelection")
        self.horizontalLayout_9.addWidget(self.bridgeBySelection)
        self.cboNwkFeature = QtWidgets.QComboBox(self.groupBox)
        self.cboNwkFeature.setObjectName("cboNwkFeature")
        self.horizontalLayout_9.addWidget(self.cboNwkFeature)
        self.pbReloadBridge = QtWidgets.QPushButton(self.groupBox)
        self.pbReloadBridge.setMaximumSize(QtCore.QSize(150, 16777215))
        self.pbReloadBridge.setObjectName("pbReloadBridge")
        self.horizontalLayout_9.addWidget(self.pbReloadBridge)
        self.verticalLayout_22.addLayout(self.horizontalLayout_9)
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.verticalLayout_22.addWidget(self.label)
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.cboXsLayer = QtWidgets.QComboBox(self.groupBox)
        self.cboXsLayer.setObjectName("cboXsLayer")
        self.horizontalLayout_13.addWidget(self.cboXsLayer)
        self.pbReloadCrossSection = QtWidgets.QPushButton(self.groupBox)
        self.pbReloadCrossSection.setMaximumSize(QtCore.QSize(150, 16777215))
        self.pbReloadCrossSection.setObjectName("pbReloadCrossSection")
        self.horizontalLayout_13.addWidget(self.pbReloadCrossSection)
        self.verticalLayout_22.addLayout(self.horizontalLayout_13)
        self.verticalLayout_2.addLayout(self.verticalLayout_22)
        self.verticalLayout.addWidget(self.groupBox)
        self.featMsgLabel_1 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.featMsgLabel_1.setObjectName("featMsgLabel_1")
        self.verticalLayout.addWidget(self.featMsgLabel_1)
        self.featMsgLabel_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.featMsgLabel_2.setObjectName("featMsgLabel_2")
        self.verticalLayout.addWidget(self.featMsgLabel_2)
        self.tabWidget = QtWidgets.QTabWidget(self.scrollAreaWidgetContents)
        self.tabWidget.setObjectName("tabWidget")
        self.SectionData = QtWidgets.QWidget()
        self.SectionData.setObjectName("SectionData")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.SectionData)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout()
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_6 = QtWidgets.QLabel(self.SectionData)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_4.addWidget(self.label_6)
        self.verticalLayout_9.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_2 = QtWidgets.QLabel(self.SectionData)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_5.addWidget(self.label_2)
        self.leChannelName = QtWidgets.QLineEdit(self.SectionData)
        self.leChannelName.setObjectName("leChannelName")
        self.horizontalLayout_5.addWidget(self.leChannelName)
        self.btnAddChannelRow = QtWidgets.QToolButton(self.SectionData)
        self.btnAddChannelRow.setObjectName("btnAddChannelRow")
        self.horizontalLayout_5.addWidget(self.btnAddChannelRow)
        self.btnRemChannelRow = QtWidgets.QToolButton(self.SectionData)
        self.btnRemChannelRow.setObjectName("btnRemChannelRow")
        self.horizontalLayout_5.addWidget(self.btnRemChannelRow)
        self.verticalLayout_9.addLayout(self.horizontalLayout_5)
        self.twChannel = ChannelSectionTable(self.SectionData)
        self.twChannel.setMinimumSize(QtCore.QSize(0, 200))
        self.twChannel.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustIgnored)
        self.twChannel.setAlternatingRowColors(True)
        self.twChannel.setColumnCount(2)
        self.twChannel.setObjectName("twChannel")
        self.twChannel.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignVCenter)
        self.twChannel.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignVCenter)
        self.twChannel.setHorizontalHeaderItem(1, item)
        self.twChannel.horizontalHeader().setCascadingSectionResizes(True)
        self.twChannel.horizontalHeader().setDefaultSectionSize(128)
        self.twChannel.horizontalHeader().setStretchLastSection(True)
        self.twChannel.verticalHeader().setDefaultSectionSize(20)
        self.twChannel.verticalHeader().setMinimumSectionSize(20)
        self.verticalLayout_9.addWidget(self.twChannel)
        self.horizontalLayout_2.addLayout(self.verticalLayout_9)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.pbPlot = QtWidgets.QPushButton(self.SectionData)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pbPlot.sizePolicy().hasHeightForWidth())
        self.pbPlot.setSizePolicy(sizePolicy)
        self.pbPlot.setMinimumSize(QtCore.QSize(0, 0))
        self.pbPlot.setAutoDefault(True)
        self.pbPlot.setFlat(False)
        self.pbPlot.setObjectName("pbPlot")
        self.verticalLayout_4.addWidget(self.pbPlot)
        self.pbImport = QtWidgets.QPushButton(self.SectionData)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pbImport.sizePolicy().hasHeightForWidth())
        self.pbImport.setSizePolicy(sizePolicy)
        self.pbImport.setMinimumSize(QtCore.QSize(0, 0))
        self.pbImport.setObjectName("pbImport")
        self.verticalLayout_4.addWidget(self.pbImport)
        self.pbDem = QtWidgets.QPushButton(self.SectionData)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pbDem.sizePolicy().hasHeightForWidth())
        self.pbDem.setSizePolicy(sizePolicy)
        self.pbDem.setMinimumSize(QtCore.QSize(0, 0))
        self.pbDem.setObjectName("pbDem")
        self.verticalLayout_4.addWidget(self.pbDem)
        self.pbGraphicToVector = QtWidgets.QPushButton(self.SectionData)
        self.pbGraphicToVector.setObjectName("pbGraphicToVector")
        self.verticalLayout_4.addWidget(self.pbGraphicToVector)
        self.pbClearGraphic = QtWidgets.QPushButton(self.SectionData)
        self.pbClearGraphic.setObjectName("pbClearGraphic")
        self.verticalLayout_4.addWidget(self.pbClearGraphic)
        self.pbClearChannelTable = QtWidgets.QPushButton(self.SectionData)
        self.pbClearChannelTable.setObjectName("pbClearChannelTable")
        self.verticalLayout_4.addWidget(self.pbClearChannelTable)
        self.pbBridgeCurves = QtWidgets.QPushButton(self.SectionData)
        self.pbBridgeCurves.setObjectName("pbBridgeCurves")
        self.verticalLayout_4.addWidget(self.pbBridgeCurves)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem1)
        self.horizontalLayout_2.addLayout(self.verticalLayout_4)
        self.verticalLayout_7.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout()
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.label_7 = QtWidgets.QLabel(self.SectionData)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_10.addWidget(self.label_7)
        self.verticalLayout_10.addLayout(self.horizontalLayout_10)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_3 = QtWidgets.QLabel(self.SectionData)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_6.addWidget(self.label_3)
        self.leBridgeName = QtWidgets.QLineEdit(self.SectionData)
        self.leBridgeName.setObjectName("leBridgeName")
        self.horizontalLayout_6.addWidget(self.leBridgeName)
        self.btnAddBridgeRow = QtWidgets.QToolButton(self.SectionData)
        self.btnAddBridgeRow.setObjectName("btnAddBridgeRow")
        self.horizontalLayout_6.addWidget(self.btnAddBridgeRow)
        self.btnRemBridgeRow = QtWidgets.QToolButton(self.SectionData)
        self.btnRemBridgeRow.setObjectName("btnRemBridgeRow")
        self.horizontalLayout_6.addWidget(self.btnRemBridgeRow)
        self.verticalLayout_10.addLayout(self.horizontalLayout_6)
        self.twBridge = BridgeSectionTable(self.SectionData)
        self.twBridge.setMinimumSize(QtCore.QSize(0, 200))
        self.twBridge.setMaximumSize(QtCore.QSize(16777215, 16777211))
        self.twBridge.setAlternatingRowColors(True)
        self.twBridge.setGridStyle(QtCore.Qt.SolidLine)
        self.twBridge.setObjectName("twBridge")
        self.twBridge.setColumnCount(4)
        self.twBridge.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignVCenter)
        self.twBridge.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignVCenter)
        self.twBridge.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignVCenter)
        self.twBridge.setHorizontalHeaderItem(2, item)
        item = QtWidgets.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignVCenter)
        self.twBridge.setHorizontalHeaderItem(3, item)
        self.twBridge.horizontalHeader().setCascadingSectionResizes(True)
        self.twBridge.horizontalHeader().setDefaultSectionSize(90)
        self.twBridge.horizontalHeader().setMinimumSectionSize(1)
        self.twBridge.horizontalHeader().setStretchLastSection(True)
        self.twBridge.verticalHeader().setDefaultSectionSize(20)
        self.twBridge.verticalHeader().setMinimumSectionSize(1)
        self.verticalLayout_10.addWidget(self.twBridge)
        self.horizontalLayout_3.addLayout(self.verticalLayout_10)
        self.verticalLayout_7.addLayout(self.horizontalLayout_3)
        self.tabWidget.addTab(self.SectionData, "")
        self.GeneralData = QtWidgets.QWidget()
        self.GeneralData.setObjectName("GeneralData")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.GeneralData)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.verticalLayout_16 = QtWidgets.QVBoxLayout()
        self.verticalLayout_16.setObjectName("verticalLayout_16")
        self.label_13 = QtWidgets.QLabel(self.GeneralData)
        self.label_13.setObjectName("label_13")
        self.verticalLayout_16.addWidget(self.label_13)
        self.sbCalibCoeff = QtWidgets.QDoubleSpinBox(self.GeneralData)
        self.sbCalibCoeff.setWrapping(False)
        self.sbCalibCoeff.setFrame(True)
        self.sbCalibCoeff.setButtonSymbols(QtWidgets.QAbstractSpinBox.UpDownArrows)
        self.sbCalibCoeff.setDecimals(3)
        self.sbCalibCoeff.setMaximum(10.0)
        self.sbCalibCoeff.setProperty("value", 1.0)
        self.sbCalibCoeff.setObjectName("sbCalibCoeff")
        self.verticalLayout_16.addWidget(self.sbCalibCoeff)
        self.horizontalLayout_7.addLayout(self.verticalLayout_16)
        self.verticalLayout_17 = QtWidgets.QVBoxLayout()
        self.verticalLayout_17.setObjectName("verticalLayout_17")
        self.label_14 = QtWidgets.QLabel(self.GeneralData)
        self.label_14.setObjectName("label_14")
        self.verticalLayout_17.addWidget(self.label_14)
        self.sbSkewAngle = QtWidgets.QDoubleSpinBox(self.GeneralData)
        self.sbSkewAngle.setDecimals(1)
        self.sbSkewAngle.setMaximum(90.0)
        self.sbSkewAngle.setObjectName("sbSkewAngle")
        self.verticalLayout_17.addWidget(self.sbSkewAngle)
        self.horizontalLayout_7.addLayout(self.verticalLayout_17)
        self.verticalLayout_6.addLayout(self.horizontalLayout_7)
        self.gbOrificeFlow = QtWidgets.QGroupBox(self.GeneralData)
        self.gbOrificeFlow.setCheckable(True)
        self.gbOrificeFlow.setChecked(False)
        self.gbOrificeFlow.setObjectName("gbOrificeFlow")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.gbOrificeFlow)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.sbDischargeCoef = QtWidgets.QDoubleSpinBox(self.gbOrificeFlow)
        self.sbDischargeCoef.setMaximum(10.0)
        self.sbDischargeCoef.setObjectName("sbDischargeCoef")
        self.horizontalLayout_8.addWidget(self.sbDischargeCoef)
        self.label_15 = QtWidgets.QLabel(self.gbOrificeFlow)
        self.label_15.setObjectName("label_15")
        self.horizontalLayout_8.addWidget(self.label_15)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem2)
        self.verticalLayout_5.addLayout(self.horizontalLayout_8)
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.sbLowerTransDepth = QtWidgets.QDoubleSpinBox(self.gbOrificeFlow)
        self.sbLowerTransDepth.setMaximum(10.0)
        self.sbLowerTransDepth.setObjectName("sbLowerTransDepth")
        self.horizontalLayout_14.addWidget(self.sbLowerTransDepth)
        self.label_16 = QtWidgets.QLabel(self.gbOrificeFlow)
        self.label_16.setObjectName("label_16")
        self.horizontalLayout_14.addWidget(self.label_16)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_14.addItem(spacerItem3)
        self.verticalLayout_5.addLayout(self.horizontalLayout_14)
        self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_15.setObjectName("horizontalLayout_15")
        self.sbUpperTransDepth = QtWidgets.QDoubleSpinBox(self.gbOrificeFlow)
        self.sbUpperTransDepth.setMaximum(10.0)
        self.sbUpperTransDepth.setObjectName("sbUpperTransDepth")
        self.horizontalLayout_15.addWidget(self.sbUpperTransDepth)
        self.label_17 = QtWidgets.QLabel(self.gbOrificeFlow)
        self.label_17.setObjectName("label_17")
        self.horizontalLayout_15.addWidget(self.label_17)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_15.addItem(spacerItem4)
        self.verticalLayout_5.addLayout(self.horizontalLayout_15)
        self.verticalLayout_6.addWidget(self.gbOrificeFlow)
        spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_6.addItem(spacerItem5)
        self.tabWidget.addTab(self.GeneralData, "")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.tab)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.groupBox_2 = QtWidgets.QGroupBox(self.tab)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.bridge_csv_loc_in_place = QtWidgets.QRadioButton(self.groupBox_2)
        self.bridge_csv_loc_in_place.setObjectName("bridge_csv_loc_in_place")
        self.buttonGroup = QtWidgets.QButtonGroup(archBridgeDock)
        self.buttonGroup.setObjectName("buttonGroup")
        self.buttonGroup.addButton(self.bridge_csv_loc_in_place)
        self.verticalLayout_11.addWidget(self.bridge_csv_loc_in_place)
        self.bridge_csv_loc_csv_folder = QtWidgets.QRadioButton(self.groupBox_2)
        self.bridge_csv_loc_csv_folder.setChecked(True)
        self.bridge_csv_loc_csv_folder.setObjectName("bridge_csv_loc_csv_folder")
        self.buttonGroup.addButton(self.bridge_csv_loc_csv_folder)
        self.verticalLayout_11.addWidget(self.bridge_csv_loc_csv_folder)
        self.bridge_csv_loc_custom_folder = QtWidgets.QRadioButton(self.groupBox_2)
        self.bridge_csv_loc_custom_folder.setObjectName("bridge_csv_loc_custom_folder")
        self.buttonGroup.addButton(self.bridge_csv_loc_custom_folder)
        self.verticalLayout_11.addWidget(self.bridge_csv_loc_custom_folder)
        self.horizontalLayout_17 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_17.setObjectName("horizontalLayout_17")
        spacerItem6 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_17.addItem(spacerItem6)
        self.label_23 = QtWidgets.QLabel(self.groupBox_2)
        self.label_23.setObjectName("label_23")
        self.horizontalLayout_17.addWidget(self.label_23)
        self.verticalLayout_11.addLayout(self.horizontalLayout_17)
        self.horizontalLayout_18 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_18.setObjectName("horizontalLayout_18")
        spacerItem7 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_18.addItem(spacerItem7)
        self.leCustomName = QtWidgets.QLineEdit(self.groupBox_2)
        self.leCustomName.setObjectName("leCustomName")
        self.horizontalLayout_18.addWidget(self.leCustomName)
        self.verticalLayout_11.addLayout(self.horizontalLayout_18)
        self.label_22 = QtWidgets.QLabel(self.groupBox_2)
        self.label_22.setObjectName("label_22")
        self.verticalLayout_11.addWidget(self.label_22)
        self.verticalLayout_8.addWidget(self.groupBox_2)
        spacerItem8 = QtWidgets.QSpacerItem(20, 333, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_8.addItem(spacerItem8)
        self.tabWidget.addTab(self.tab, "")
        self.verticalLayout.addWidget(self.tabWidget)
        self.label_12 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_12.setObjectName("label_12")
        self.verticalLayout.addWidget(self.label_12)
        self.label_10 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_10.setWordWrap(True)
        self.label_10.setObjectName("label_10")
        self.verticalLayout.addWidget(self.label_10)
        self.groupBox_3 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox_3.setObjectName("groupBox_3")
        self.formLayout = QtWidgets.QFormLayout(self.groupBox_3)
        self.formLayout.setObjectName("formLayout")
        self.label_8 = QtWidgets.QLabel(self.groupBox_3)
        self.label_8.setObjectName("label_8")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_8)
        self.cboOutputType = QtWidgets.QComboBox(self.groupBox_3)
        self.cboOutputType.setObjectName("cboOutputType")
        self.cboOutputType.addItem("")
        self.cboOutputType.addItem("")
        self.cboOutputType.addItem("")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.cboOutputType)
        self.label_9 = QtWidgets.QLabel(self.groupBox_3)
        self.label_9.setObjectName("label_9")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_9)
        self.cboXsLayerOut = QtWidgets.QComboBox(self.groupBox_3)
        self.cboXsLayerOut.setObjectName("cboXsLayerOut")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.cboXsLayerOut)
        self.label_4 = QtWidgets.QLabel(self.groupBox_3)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_4)
        self.cboOutFormat = QtWidgets.QComboBox(self.groupBox_3)
        self.cboOutFormat.setObjectName("cboOutFormat")
        self.cboOutFormat.addItem("")
        self.cboOutFormat.addItem("")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.cboOutFormat)
        self.label_5 = QtWidgets.QLabel(self.groupBox_3)
        self.label_5.setObjectName("label_5")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_5)
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.leOutDatabase = QtWidgets.QLineEdit(self.groupBox_3)
        self.leOutDatabase.setObjectName("leOutDatabase")
        self.horizontalLayout_11.addWidget(self.leOutDatabase)
        self.btnBrowseOutDatabase = QtWidgets.QToolButton(self.groupBox_3)
        self.btnBrowseOutDatabase.setObjectName("btnBrowseOutDatabase")
        self.horizontalLayout_11.addWidget(self.btnBrowseOutDatabase)
        self.formLayout.setLayout(3, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_11)
        self.label_11 = QtWidgets.QLabel(self.groupBox_3)
        self.label_11.setObjectName("label_11")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_11)
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.leOutName = QtWidgets.QLineEdit(self.groupBox_3)
        self.leOutName.setObjectName("leOutName")
        self.horizontalLayout_12.addWidget(self.leOutName)
        self.btnBrowseOutFile = QtWidgets.QToolButton(self.groupBox_3)
        self.btnBrowseOutFile.setObjectName("btnBrowseOutFile")
        self.horizontalLayout_12.addWidget(self.btnBrowseOutFile)
        self.formLayout.setLayout(4, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_12)
        self.verticalLayout.addWidget(self.groupBox_3)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_3.addWidget(self.scrollArea)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem9 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem9)
        self.pbReset = QtWidgets.QPushButton(self.dockWidgetContents)
        self.pbReset.setObjectName("pbReset")
        self.horizontalLayout.addWidget(self.pbReset)
        self.pbRun = QtWidgets.QPushButton(self.dockWidgetContents)
        self.pbRun.setObjectName("pbRun")
        self.horizontalLayout.addWidget(self.pbRun)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        archBridgeDock.setWidget(self.dockWidgetContents)

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

    def retranslateUi(self, archBridgeDock):
        _translate = QtCore.QCoreApplication.translate
        archBridgeDock.setWindowTitle(_translate("archBridgeDock", "Arch Bridge Editor (Beta)"))
        self.label_18.setText(_translate("archBridgeDock", "<html><head/><body><p><a href=\"https://wiki.tuflow.com/index.php?title=QGIS_TUFLOW_Arch_Bridge_Editor\"><span style=\" text-decoration: underline; color:#0000ff;\">Documentation</span></a></p></body></html>"))
        self.groupBox.setTitle(_translate("archBridgeDock", "Inputs"))
        self.label_19.setText(_translate("archBridgeDock", "1d_nwk Layer (required):"))
        self.label_20.setText(_translate("archBridgeDock", "1d_nwk arch bridge channel (required)"))
        self.bridgeBySelection.setToolTip(_translate("archBridgeDock", "Select feature on map"))
        self.bridgeBySelection.setText(_translate("archBridgeDock", "..."))
        self.pbReloadBridge.setText(_translate("archBridgeDock", "Reload Bridge Table"))
        self.label.setText(_translate("archBridgeDock", "1d_xs Layer (if existing)"))
        self.pbReloadCrossSection.setText(_translate("archBridgeDock", "Reload Cross Section"))
        self.featMsgLabel_1.setText(_translate("archBridgeDock", "No bridge selected"))
        self.featMsgLabel_2.setText(_translate("archBridgeDock", "TextLabel"))
        self.label_6.setText(_translate("archBridgeDock", "Cross-Section:"))
        self.label_2.setText(_translate("archBridgeDock", "Name:"))
        self.btnAddChannelRow.setText(_translate("archBridgeDock", "..."))
        self.btnRemChannelRow.setText(_translate("archBridgeDock", "..."))
        item = self.twChannel.horizontalHeaderItem(0)
        item.setText(_translate("archBridgeDock", "Chainage (m)"))
        item = self.twChannel.horizontalHeaderItem(1)
        item.setText(_translate("archBridgeDock", "Elevation (m AHD)"))
        self.pbPlot.setText(_translate("archBridgeDock", "Plot..."))
        self.pbImport.setText(_translate("archBridgeDock", "Import..."))
        self.pbDem.setText(_translate("archBridgeDock", "From DEM..."))
        self.pbGraphicToVector.setText(_translate("archBridgeDock", "Graphic -> Layer"))
        self.pbClearGraphic.setText(_translate("archBridgeDock", "Clear Graphic"))
        self.pbClearChannelTable.setText(_translate("archBridgeDock", "Clear Table"))
        self.pbBridgeCurves.setText(_translate("archBridgeDock", "Bridge Curves"))
        self.label_7.setText(_translate("archBridgeDock", "Bridge:"))
        self.label_3.setText(_translate("archBridgeDock", "Name:"))
        self.btnAddBridgeRow.setText(_translate("archBridgeDock", "..."))
        self.btnRemBridgeRow.setText(_translate("archBridgeDock", "..."))
        item = self.twBridge.horizontalHeaderItem(0)
        item.setText(_translate("archBridgeDock", "Start (m)"))
        item = self.twBridge.horizontalHeaderItem(1)
        item.setText(_translate("archBridgeDock", "Finish (m)"))
        item = self.twBridge.horizontalHeaderItem(2)
        item.setText(_translate("archBridgeDock", "Springing Level (m RL)"))
        item = self.twBridge.horizontalHeaderItem(3)
        item.setText(_translate("archBridgeDock", "Soffit Level (m RL)"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.SectionData), _translate("archBridgeDock", "Section Data"))
        self.label_13.setText(_translate("archBridgeDock", "Calibration Coefficient:"))
        self.label_14.setText(_translate("archBridgeDock", "Skew Angle:"))
        self.gbOrificeFlow.setTitle(_translate("archBridgeDock", "Use Orifice Flow"))
        self.label_15.setText(_translate("archBridgeDock", "Discharge Coefficient (Cd)"))
        self.label_16.setText(_translate("archBridgeDock", "Lower transition zone (depth below soffit)"))
        self.label_17.setText(_translate("archBridgeDock", "Upper transition zone (depth above soffit)"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.GeneralData), _translate("archBridgeDock", "General Data"))
        self.groupBox_2.setTitle(_translate("archBridgeDock", "Bridge CSV Location"))
        self.bridge_csv_loc_in_place.setText(_translate("archBridgeDock", "Same location as 1d_nwk"))
        self.bridge_csv_loc_csv_folder.setText(_translate("archBridgeDock", "CSV folder (Up one level i.e. ../csv/bridge.csv)"))
        self.bridge_csv_loc_custom_folder.setText(_translate("archBridgeDock", "Custom location (e.g \"..\\bg\")"))
        self.label_23.setText(_translate("archBridgeDock", "Custom Name"))
        self.label_22.setText(_translate("archBridgeDock", "To customise location further use \'Inlet_Type\' attribute field"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("archBridgeDock", "Settings"))
        self.label_12.setText(_translate("archBridgeDock", "<html><head/><body><p><span style=\" font-weight:600;\">OUTPUT</span></p></body></html>"))
        self.label_10.setText(_translate("archBridgeDock", "Output nwk attributes will be assigned to currently selected 1d_nwk layer and bridge feature"))
        self.groupBox_3.setTitle(_translate("archBridgeDock", "Output XS"))
        self.label_8.setText(_translate("archBridgeDock", "Output Type:"))
        self.cboOutputType.setItemText(0, _translate("archBridgeDock", "New Layer"))
        self.cboOutputType.setItemText(1, _translate("archBridgeDock", "Append to existing layer"))
        self.cboOutputType.setItemText(2, _translate("archBridgeDock", "Overwrite existing items (otherwise will create a new feature)"))
        self.label_9.setText(_translate("archBridgeDock", "Layer: "))
        self.label_4.setText(_translate("archBridgeDock", "Format: "))
        self.cboOutFormat.setItemText(0, _translate("archBridgeDock", "ESRI Shapefile"))
        self.cboOutFormat.setItemText(1, _translate("archBridgeDock", "GPKG"))
        self.label_5.setText(_translate("archBridgeDock", "Database:"))
        self.btnBrowseOutDatabase.setText(_translate("archBridgeDock", "..."))
        self.label_11.setText(_translate("archBridgeDock", "Layer Name:"))
        self.btnBrowseOutFile.setText(_translate("archBridgeDock", "..."))
        self.pbReset.setText(_translate("archBridgeDock", "Reset"))
        self.pbRun.setText(_translate("archBridgeDock", "Output To TUFLOW"))
from ..bridge_editor.BridgeEditorTable import BridgeSectionTable, ChannelSectionTable
import tuflow.resources.tuflow
