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

# Form implementation generated from reading ui file 'C:\Users\esymons\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\tuflow\forms\ui_tuflowqgis_configure_tuflow_project.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 qgis.PyQt import QtCore, QtGui, QtWidgets



from ..compatibility_routines import QT_SIZE_POLICY_MINIMUM, QT_SIZE_POLICY_EXPANDING


class Ui_tuflowqgis_configure_tf(object):
    def setupUi(self, tuflowqgis_configure_tf):
        tuflowqgis_configure_tf.setObjectName("tuflowqgis_configure_tf")
        tuflowqgis_configure_tf.resize(362, 584)
        self.gridLayout_2 = QtWidgets.QGridLayout(tuflowqgis_configure_tf)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_5 = QtWidgets.QLabel(tuflowqgis_configure_tf)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1)
        self.browseoutfile = QtWidgets.QPushButton(tuflowqgis_configure_tf)
        self.browseoutfile.setObjectName("browseoutfile")
        self.gridLayout.addWidget(self.browseoutfile, 7, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QT_SIZE_POLICY_MINIMUM, QT_SIZE_POLICY_EXPANDING)
        self.gridLayout.addItem(spacerItem, 16, 0, 1, 1)
        self.sourcelayer = QtWidgets.QComboBox(tuflowqgis_configure_tf)
        self.sourcelayer.setObjectName("sourcelayer")
        self.gridLayout.addWidget(self.sourcelayer, 1, 0, 1, 2)
        self.label_3 = QtWidgets.QLabel(tuflowqgis_configure_tf)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 6, 0, 1, 1)
        self.form_crsID = QtWidgets.QLineEdit(tuflowqgis_configure_tf)
        self.form_crsID.setDragEnabled(False)
        self.form_crsID.setReadOnly(True)
        self.form_crsID.setObjectName("form_crsID")
        self.gridLayout.addWidget(self.form_crsID, 3, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(tuflowqgis_configure_tf)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 8, 0, 1, 1)
        self.outdir = QtWidgets.QLineEdit(tuflowqgis_configure_tf)
        self.outdir.setReadOnly(False)
        self.outdir.setObjectName("outdir")
        self.gridLayout.addWidget(self.outdir, 7, 0, 1, 1)
        self.TUFLOW_exe = QtWidgets.QLineEdit(tuflowqgis_configure_tf)
        self.TUFLOW_exe.setReadOnly(False)
        self.TUFLOW_exe.setObjectName("TUFLOW_exe")
        self.gridLayout.addWidget(self.TUFLOW_exe, 9, 0, 1, 1)
        self.cbGlobal = QtWidgets.QCheckBox(tuflowqgis_configure_tf)
        self.cbGlobal.setObjectName("cbGlobal")
        self.gridLayout.addWidget(self.cbGlobal, 12, 0, 1, 2)
        self.pbSelectCRS = QtWidgets.QPushButton(tuflowqgis_configure_tf)
        self.pbSelectCRS.setObjectName("pbSelectCRS")
        self.gridLayout.addWidget(self.pbSelectCRS, 5, 1, 1, 1)
        self.crsDesc = QtWidgets.QLineEdit(tuflowqgis_configure_tf)
        self.crsDesc.setDragEnabled(False)
        self.crsDesc.setReadOnly(True)
        self.crsDesc.setObjectName("crsDesc")
        self.gridLayout.addWidget(self.crsDesc, 5, 0, 1, 1)
        self.gbGisFormat = QtWidgets.QGroupBox(tuflowqgis_configure_tf)
        self.gbGisFormat.setObjectName("gbGisFormat")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.gbGisFormat)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.rbSHP = QtWidgets.QRadioButton(self.gbGisFormat)
        self.rbSHP.setChecked(True)
        self.rbSHP.setObjectName("rbSHP")
        self.buttonGroup = QtWidgets.QButtonGroup(tuflowqgis_configure_tf)
        self.buttonGroup.setObjectName("buttonGroup")
        self.buttonGroup.addButton(self.rbSHP)
        self.horizontalLayout.addWidget(self.rbSHP)
        self.rbGPKG = QtWidgets.QRadioButton(self.gbGisFormat)
        self.rbGPKG.setObjectName("rbGPKG")
        self.buttonGroup.addButton(self.rbGPKG)
        self.horizontalLayout.addWidget(self.rbGPKG)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.gridLayout.addWidget(self.gbGisFormat, 10, 0, 1, 2)
        self.browseexe = QtWidgets.QPushButton(tuflowqgis_configure_tf)
        self.browseexe.setObjectName("browseexe")
        self.gridLayout.addWidget(self.browseexe, 9, 1, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(tuflowqgis_configure_tf)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.rbTuflowCla = QtWidgets.QRadioButton(self.groupBox)
        self.rbTuflowCla.setChecked(True)
        self.rbTuflowCla.setObjectName("rbTuflowCla")
        self.engine = QtWidgets.QButtonGroup(tuflowqgis_configure_tf)
        self.engine.setObjectName("engine")
        self.engine.addButton(self.rbTuflowCla)
        self.verticalLayout.addWidget(self.rbTuflowCla)
        self.rbTuflowFM = QtWidgets.QRadioButton(self.groupBox)
        self.rbTuflowFM.setObjectName("rbTuflowFM")
        self.engine.addButton(self.rbTuflowFM)
        self.verticalLayout.addWidget(self.rbTuflowFM)
        self.gridLayout.addWidget(self.groupBox, 11, 0, 1, 2)
        self.label_2 = QtWidgets.QLabel(tuflowqgis_configure_tf)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 4, 0, 1, 1)
        self.cbRun = QtWidgets.QCheckBox(tuflowqgis_configure_tf)
        self.cbRun.setObjectName("cbRun")
        self.gridLayout.addWidget(self.cbRun, 14, 0, 1, 2)
        self.cbTutorial = QtWidgets.QCheckBox(tuflowqgis_configure_tf)
        self.cbTutorial.setObjectName("cbTutorial")
        self.gridLayout.addWidget(self.cbTutorial, 15, 0, 1, 1)
        self.label_1 = QtWidgets.QLabel(tuflowqgis_configure_tf)
        self.label_1.setObjectName("label_1")
        self.gridLayout.addWidget(self.label_1, 0, 0, 1, 1)
        self.cbCreate = QtWidgets.QCheckBox(tuflowqgis_configure_tf)
        self.cbCreate.setObjectName("cbCreate")
        self.gridLayout.addWidget(self.cbCreate, 13, 0, 1, 2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.pbOk = QtWidgets.QPushButton(tuflowqgis_configure_tf)
        self.pbOk.setObjectName("pbOk")
        self.horizontalLayout_3.addWidget(self.pbOk)
        self.pbCancel = QtWidgets.QPushButton(tuflowqgis_configure_tf)
        self.pbCancel.setObjectName("pbCancel")
        self.horizontalLayout_3.addWidget(self.pbCancel)
        self.gridLayout.addLayout(self.horizontalLayout_3, 17, 0, 1, 2)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)

        self.retranslateUi(tuflowqgis_configure_tf)
        QtCore.QMetaObject.connectSlotsByName(tuflowqgis_configure_tf)

    def retranslateUi(self, tuflowqgis_configure_tf):
        _translate = QtCore.QCoreApplication.translate
        tuflowqgis_configure_tf.setWindowTitle(_translate("tuflowqgis_configure_tf", "Configure TUFLOW Project"))
        self.label_5.setText(_translate("tuflowqgis_configure_tf", "Projection ID (display only)"))
        self.browseoutfile.setText(_translate("tuflowqgis_configure_tf", "Browse..."))
        self.label_3.setText(_translate("tuflowqgis_configure_tf", "Folder which contains TUFLOW / TUFLOWFV"))
        self.form_crsID.setText(_translate("tuflowqgis_configure_tf", "<projection id>"))
        self.label_4.setText(_translate("tuflowqgis_configure_tf", "TUFLOW / TUFLOW FV Executable"))
        self.outdir.setText(_translate("tuflowqgis_configure_tf", "<directory>"))
        self.TUFLOW_exe.setText(_translate("tuflowqgis_configure_tf", "<TUFLOW / TUFLOW FV exe>"))
        self.cbGlobal.setText(_translate("tuflowqgis_configure_tf", "Save Default Settings Globally (for all projects)"))
        self.pbSelectCRS.setText(_translate("tuflowqgis_configure_tf", "Select CRS"))
        self.crsDesc.setText(_translate("tuflowqgis_configure_tf", "<projection description>"))
        self.gbGisFormat.setTitle(_translate("tuflowqgis_configure_tf", "GIS Format"))
        self.rbSHP.setText(_translate("tuflowqgis_configure_tf", "SHP"))
        self.rbGPKG.setText(_translate("tuflowqgis_configure_tf", "GPKG"))
        self.browseexe.setText(_translate("tuflowqgis_configure_tf", "Browse..."))
        self.groupBox.setTitle(_translate("tuflowqgis_configure_tf", "TUFLOW Engine"))
        self.rbTuflowCla.setText(_translate("tuflowqgis_configure_tf", "TUFLOW Classic / HPC"))
        self.rbTuflowFM.setText(_translate("tuflowqgis_configure_tf", "TUFLOW Flexible Mesh (TUFLOW FV)"))
        self.label_2.setText(_translate("tuflowqgis_configure_tf", "Projection Description (display only)"))
        self.cbRun.setText(_translate("tuflowqgis_configure_tf", "Create Template Files"))
        self.cbTutorial.setText(_translate("tuflowqgis_configure_tf", "Tutorial Model"))
        self.label_1.setText(_translate("tuflowqgis_configure_tf", "Source Projection Layer"))
        self.cbCreate.setText(_translate("tuflowqgis_configure_tf", "Create Model Folder Structure"))
        self.pbOk.setText(_translate("tuflowqgis_configure_tf", "OK"))
        self.pbCancel.setText(_translate("tuflowqgis_configure_tf", "Cancel"))
