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

# Form implementation generated from reading ui file 'D:\NextGIS\qgis_molusce\src\molusce\ui\moluscedialogbase.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 qgis.PyQt import QtCore, QtGui, QtWidgets


class Ui_MolusceDialogBase(object):
    def setupUi(self, MolusceDialogBase):
        MolusceDialogBase.setObjectName("MolusceDialogBase")
        MolusceDialogBase.resize(894, 756)
        self.gridLayout_10 = QtWidgets.QGridLayout(MolusceDialogBase)
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.tabWidget = QtWidgets.QTabWidget(MolusceDialogBase)
        self.tabWidget.setEnabled(True)
        self.tabWidget.setObjectName("tabWidget")
        self.tabInputs = QtWidgets.QWidget()
        self.tabInputs.setObjectName("tabInputs")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.tabInputs)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.splitter = QtWidgets.QSplitter(self.tabInputs)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName("splitter")
        self.lstLayers = QtWidgets.QListWidget(self.splitter)
        self.lstLayers.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.lstLayers.setAlternatingRowColors(True)
        self.lstLayers.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.lstLayers.setObjectName("lstLayers")
        self.widget = QtWidgets.QWidget(self.splitter)
        self.widget.setObjectName("widget")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.widget)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.btnSetInitialRaster = QtWidgets.QPushButton(self.widget)
        self.btnSetInitialRaster.setObjectName("btnSetInitialRaster")
        self.gridLayout_2.addWidget(self.btnSetInitialRaster, 0, 0, 1, 1)
        self.leInitRasterName = QtWidgets.QLineEdit(self.widget)
        self.leInitRasterName.setObjectName("leInitRasterName")
        self.gridLayout_2.addWidget(self.leInitRasterName, 0, 1, 1, 1)
        self.btnSetFinalRaster = QtWidgets.QPushButton(self.widget)
        self.btnSetFinalRaster.setObjectName("btnSetFinalRaster")
        self.gridLayout_2.addWidget(self.btnSetFinalRaster, 1, 0, 1, 1)
        self.leInitYear = QtWidgets.QLineEdit(self.widget)
        self.leInitYear.setObjectName("leInitYear")
        self.gridLayout_2.addWidget(self.leInitYear, 0, 2, 1, 1)
        self.leFinalRasterName = QtWidgets.QLineEdit(self.widget)
        self.leFinalRasterName.setObjectName("leFinalRasterName")
        self.gridLayout_2.addWidget(self.leFinalRasterName, 1, 1, 1, 1)
        self.leFinalYear = QtWidgets.QLineEdit(self.widget)
        self.leFinalYear.setObjectName("leFinalYear")
        self.gridLayout_2.addWidget(self.leFinalYear, 1, 2, 1, 1)
        self.lstFactors = QtWidgets.QListWidget(self.widget)
        self.lstFactors.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.lstFactors.setAlternatingRowColors(True)
        self.lstFactors.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.lstFactors.setObjectName("lstFactors")
        self.gridLayout_2.addWidget(self.lstFactors, 4, 1, 5, 2)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 2, 1, 1, 1)
        self.btnRemoveAllFactors = QtWidgets.QPushButton(self.widget)
        self.btnRemoveAllFactors.setObjectName("btnRemoveAllFactors")
        self.gridLayout_2.addWidget(self.btnRemoveAllFactors, 8, 0, 1, 1)
        self.btnRemoveFactor = QtWidgets.QPushButton(self.widget)
        self.btnRemoveFactor.setObjectName("btnRemoveFactor")
        self.gridLayout_2.addWidget(self.btnRemoveFactor, 7, 0, 1, 1)
        self.btnAddFactor = QtWidgets.QPushButton(self.widget)
        self.btnAddFactor.setObjectName("btnAddFactor")
        self.gridLayout_2.addWidget(self.btnAddFactor, 6, 0, 1, 1)
        self.label = QtWidgets.QLabel(self.widget)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 3, 1, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout_2)
        self.btnCheckGeometry = QtWidgets.QPushButton(self.widget)
        self.btnCheckGeometry.setObjectName("btnCheckGeometry")
        self.verticalLayout_3.addWidget(self.btnCheckGeometry)
        self.verticalLayout_2.addWidget(self.splitter)
        self.tabWidget.addTab(self.tabInputs, "")
        self.tabCorrelationChecking = QtWidgets.QWidget()
        self.tabCorrelationChecking.setObjectName("tabCorrelationChecking")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.tabCorrelationChecking)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.gridLayout_6 = QtWidgets.QGridLayout()
        self.gridLayout_6.setContentsMargins(9, 9, 9, 9)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.label_9 = QtWidgets.QLabel(self.tabCorrelationChecking)
        self.label_9.setObjectName("label_9")
        self.gridLayout_6.addWidget(self.label_9, 3, 0, 1, 1)
        self.cmbSecondRaster = QtWidgets.QComboBox(self.tabCorrelationChecking)
        self.cmbSecondRaster.setObjectName("cmbSecondRaster")
        self.gridLayout_6.addWidget(self.cmbSecondRaster, 1, 1, 1, 1)
        self.cmbCorrCheckMethod = QtWidgets.QComboBox(self.tabCorrelationChecking)
        self.cmbCorrCheckMethod.setObjectName("cmbCorrCheckMethod")
        self.gridLayout_6.addWidget(self.cmbCorrCheckMethod, 3, 1, 1, 1)
        self.cmbFirstRaster = QtWidgets.QComboBox(self.tabCorrelationChecking)
        self.cmbFirstRaster.setObjectName("cmbFirstRaster")
        self.gridLayout_6.addWidget(self.cmbFirstRaster, 0, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.tabCorrelationChecking)
        self.label_7.setObjectName("label_7")
        self.gridLayout_6.addWidget(self.label_7, 0, 0, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.tabCorrelationChecking)
        self.label_8.setObjectName("label_8")
        self.gridLayout_6.addWidget(self.label_8, 1, 0, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.tabCorrelationChecking)
        self.label_10.setObjectName("label_10")
        self.gridLayout_6.addWidget(self.label_10, 4, 0, 1, 1)
        self.tblCorrelation = QtWidgets.QTableWidget(self.tabCorrelationChecking)
        self.tblCorrelation.setObjectName("tblCorrelation")
        self.tblCorrelation.setColumnCount(0)
        self.tblCorrelation.setRowCount(0)
        self.gridLayout_6.addWidget(self.tblCorrelation, 4, 1, 1, 1)
        self.btnStartCorrChecking = QtWidgets.QPushButton(self.tabCorrelationChecking)
        self.btnStartCorrChecking.setObjectName("btnStartCorrChecking")
        self.gridLayout_6.addWidget(self.btnStartCorrChecking, 5, 1, 1, 1)
        self.chkAllCorr = QtWidgets.QCheckBox(self.tabCorrelationChecking)
        self.chkAllCorr.setObjectName("chkAllCorr")
        self.gridLayout_6.addWidget(self.chkAllCorr, 2, 1, 1, 1)
        self.gridLayout_7.addLayout(self.gridLayout_6, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabCorrelationChecking, "")
        self.tabAreaChanges = QtWidgets.QWidget()
        self.tabAreaChanges.setObjectName("tabAreaChanges")
        self.gridLayout = QtWidgets.QGridLayout(self.tabAreaChanges)
        self.gridLayout.setObjectName("gridLayout")
        self.label_2 = QtWidgets.QLabel(self.tabAreaChanges)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.tabAreaChanges)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.btnUpdateStatistics = QtWidgets.QPushButton(self.tabAreaChanges)
        self.btnUpdateStatistics.setObjectName("btnUpdateStatistics")
        self.gridLayout.addWidget(self.btnUpdateStatistics, 5, 0, 1, 1)
        self.btnCreateChangeMap = QtWidgets.QPushButton(self.tabAreaChanges)
        self.btnCreateChangeMap.setObjectName("btnCreateChangeMap")
        self.gridLayout.addWidget(self.btnCreateChangeMap, 5, 1, 1, 1)
        self.tblStatistics = MolusceTableWidget(self.tabAreaChanges)
        self.tblStatistics.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.tblStatistics.setSelectionMode(QtWidgets.QAbstractItemView.ContiguousSelection)
        self.tblStatistics.setObjectName("tblStatistics")
        self.tblStatistics.setColumnCount(0)
        self.tblStatistics.setRowCount(0)
        self.gridLayout.addWidget(self.tblStatistics, 2, 0, 1, 2)
        self.tblTransMatrix = MolusceTableWidget(self.tabAreaChanges)
        self.tblTransMatrix.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.tblTransMatrix.setSelectionMode(QtWidgets.QAbstractItemView.ContiguousSelection)
        self.tblTransMatrix.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectItems)
        self.tblTransMatrix.setObjectName("tblTransMatrix")
        self.tblTransMatrix.setColumnCount(0)
        self.tblTransMatrix.setRowCount(0)
        self.gridLayout.addWidget(self.tblTransMatrix, 4, 0, 1, 2)
        self.cmbUnits = QtWidgets.QComboBox(self.tabAreaChanges)
        self.cmbUnits.setObjectName("cmbUnits")
        self.gridLayout.addWidget(self.cmbUnits, 0, 1, 1, 1)
        self.tabWidget.addTab(self.tabAreaChanges, "")
        self.tabModel = QtWidgets.QWidget()
        self.tabModel.setObjectName("tabModel")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.tabModel)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.cmbSimulationMethod = QtWidgets.QComboBox(self.tabModel)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbSimulationMethod.sizePolicy().hasHeightForWidth())
        self.cmbSimulationMethod.setSizePolicy(sizePolicy)
        self.cmbSimulationMethod.setObjectName("cmbSimulationMethod")
        self.gridLayout_3.addWidget(self.cmbSimulationMethod, 4, 1, 1, 1)
        self.grpSampling = gui.QgsCollapsibleGroupBox(self.tabModel)
        self.grpSampling.setCheckable(False)
        self.grpSampling.setChecked(False)
        self.grpSampling.setCollapsed(True)
        self.grpSampling.setSaveCollapsedState(True)
        self.grpSampling.setSaveCheckedState(False)
        self.grpSampling.setObjectName("grpSampling")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.grpSampling)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_5 = QtWidgets.QLabel(self.grpSampling)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout.addWidget(self.label_5)
        self.cmbSamplingMode = QtWidgets.QComboBox(self.grpSampling)
        self.cmbSamplingMode.setObjectName("cmbSamplingMode")
        self.horizontalLayout.addWidget(self.cmbSamplingMode)
        self.label_6 = QtWidgets.QLabel(self.grpSampling)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout.addWidget(self.label_6)
        self.spnSamplesCount = QtWidgets.QSpinBox(self.grpSampling)
        self.spnSamplesCount.setMaximum(100000000)
        self.spnSamplesCount.setProperty("value", 1000)
        self.spnSamplesCount.setObjectName("spnSamplesCount")
        self.horizontalLayout.addWidget(self.spnSamplesCount)
        self.btnSelectSamples = QtWidgets.QPushButton(self.grpSampling)
        self.btnSelectSamples.setObjectName("btnSelectSamples")
        self.horizontalLayout.addWidget(self.btnSelectSamples)
        self.gridLayout_3.addWidget(self.grpSampling, 0, 0, 1, 4)
        self.widgetStackMethods = QtWidgets.QStackedWidget(self.tabModel)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widgetStackMethods.sizePolicy().hasHeightForWidth())
        self.widgetStackMethods.setSizePolicy(sizePolicy)
        self.widgetStackMethods.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.widgetStackMethods.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.widgetStackMethods.setObjectName("widgetStackMethods")
        self.gridLayout_3.addWidget(self.widgetStackMethods, 5, 0, 1, 6)
        self.label_4 = QtWidgets.QLabel(self.tabModel)
        self.label_4.setObjectName("label_4")
        self.gridLayout_3.addWidget(self.label_4, 4, 0, 1, 1)
        self.saveModelBtn = QtWidgets.QPushButton(self.tabModel)
        self.saveModelBtn.setMinimumSize(QtCore.QSize(140, 0))
        self.saveModelBtn.setMaximumSize(QtCore.QSize(200, 16777215))
        self.saveModelBtn.setObjectName("saveModelBtn")
        self.gridLayout_3.addWidget(self.saveModelBtn, 4, 3, 1, 1)
        self.loadModelBtn = QtWidgets.QPushButton(self.tabModel)
        self.loadModelBtn.setMinimumSize(QtCore.QSize(140, 0))
        self.loadModelBtn.setMaximumSize(QtCore.QSize(200, 16777215))
        self.loadModelBtn.setObjectName("loadModelBtn")
        self.gridLayout_3.addWidget(self.loadModelBtn, 4, 4, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem1, 4, 2, 1, 1)
        self.tabWidget.addTab(self.tabModel, "")
        self.tabSimulation = QtWidgets.QWidget()
        self.tabSimulation.setObjectName("tabSimulation")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.tabSimulation)
        self.verticalLayout.setObjectName("verticalLayout")
        self.chkTransitionPotentials = QtWidgets.QGroupBox(self.tabSimulation)
        self.chkTransitionPotentials.setMinimumSize(QtCore.QSize(0, 50))
        self.chkTransitionPotentials.setFlat(False)
        self.chkTransitionPotentials.setCheckable(True)
        self.chkTransitionPotentials.setChecked(False)
        self.chkTransitionPotentials.setObjectName("chkTransitionPotentials")
        self.formLayout = QtWidgets.QFormLayout(self.chkTransitionPotentials)
        self.formLayout.setContentsMargins(9, 9, 1, 9)
        self.formLayout.setObjectName("formLayout")
        self.label_14 = QtWidgets.QLabel(self.chkTransitionPotentials)
        self.label_14.setObjectName("label_14")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_14)
        self.label_15 = QtWidgets.QLabel(self.chkTransitionPotentials)
        self.label_15.setObjectName("label_15")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_15)
        self.leTransitionPotentialPrefix = QtWidgets.QLineEdit(self.chkTransitionPotentials)
        self.leTransitionPotentialPrefix.setObjectName("leTransitionPotentialPrefix")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.leTransitionPotentialPrefix)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.leTransitionPotentialDirectory = QtWidgets.QLineEdit(self.chkTransitionPotentials)
        self.leTransitionPotentialDirectory.setEnabled(False)
        self.leTransitionPotentialDirectory.setText("")
        self.leTransitionPotentialDirectory.setReadOnly(True)
        self.leTransitionPotentialDirectory.setObjectName("leTransitionPotentialDirectory")
        self.horizontalLayout_2.addWidget(self.leTransitionPotentialDirectory)
        self.btnSelectTransitionPrefix = QtWidgets.QPushButton(self.chkTransitionPotentials)
        self.btnSelectTransitionPrefix.setEnabled(False)
        self.btnSelectTransitionPrefix.setObjectName("btnSelectTransitionPrefix")
        self.horizontalLayout_2.addWidget(self.btnSelectTransitionPrefix)
        self.formLayout.setLayout(0, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_2)
        self.verticalLayout.addWidget(self.chkTransitionPotentials)
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.spnIterations = QtWidgets.QSpinBox(self.tabSimulation)
        self.spnIterations.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spnIterations.sizePolicy().hasHeightForWidth())
        self.spnIterations.setSizePolicy(sizePolicy)
        self.spnIterations.setMinimum(1)
        self.spnIterations.setMaximum(100)
        self.spnIterations.setProperty("value", 1)
        self.spnIterations.setObjectName("spnIterations")
        self.gridLayout_4.addWidget(self.spnIterations, 4, 2, 1, 1)
        self.btnSelectRiskFunction = QtWidgets.QPushButton(self.tabSimulation)
        self.btnSelectRiskFunction.setEnabled(False)
        self.btnSelectRiskFunction.setObjectName("btnSelectRiskFunction")
        self.gridLayout_4.addWidget(self.btnSelectRiskFunction, 1, 2, 1, 1)
        self.btnSelectMonteCarlo = QtWidgets.QPushButton(self.tabSimulation)
        self.btnSelectMonteCarlo.setEnabled(False)
        self.btnSelectMonteCarlo.setObjectName("btnSelectMonteCarlo")
        self.gridLayout_4.addWidget(self.btnSelectMonteCarlo, 2, 2, 1, 1)
        self.chkRiskFunction = QtWidgets.QCheckBox(self.tabSimulation)
        self.chkRiskFunction.setObjectName("chkRiskFunction")
        self.gridLayout_4.addWidget(self.chkRiskFunction, 1, 0, 1, 1)
        self.lblIterations = QtWidgets.QLabel(self.tabSimulation)
        self.lblIterations.setEnabled(False)
        self.lblIterations.setObjectName("lblIterations")
        self.gridLayout_4.addWidget(self.lblIterations, 4, 1, 1, 1)
        self.leMonteCarloPath = QtWidgets.QLineEdit(self.tabSimulation)
        self.leMonteCarloPath.setEnabled(False)
        self.leMonteCarloPath.setObjectName("leMonteCarloPath")
        self.gridLayout_4.addWidget(self.leMonteCarloPath, 2, 1, 1, 1)
        self.chkMonteCarlo = QtWidgets.QCheckBox(self.tabSimulation)
        self.chkMonteCarlo.setChecked(False)
        self.chkMonteCarlo.setObjectName("chkMonteCarlo")
        self.gridLayout_4.addWidget(self.chkMonteCarlo, 2, 0, 1, 1)
        self.leRiskFunctionPath = QtWidgets.QLineEdit(self.tabSimulation)
        self.leRiskFunctionPath.setEnabled(False)
        self.leRiskFunctionPath.setObjectName("leRiskFunctionPath")
        self.gridLayout_4.addWidget(self.leRiskFunctionPath, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_4)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.verticalLayout.addItem(spacerItem2)
        self.chkSeparateVars = QtWidgets.QGroupBox(self.tabSimulation)
        self.chkSeparateVars.setCheckable(True)
        self.chkSeparateVars.setChecked(False)
        self.chkSeparateVars.setObjectName("chkSeparateVars")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.chkSeparateVars)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.lstLayersSeparateVars = QtWidgets.QListWidget(self.chkSeparateVars)
        self.lstLayersSeparateVars.setObjectName("lstLayersSeparateVars")
        self.gridLayout_5.addWidget(self.lstLayersSeparateVars, 0, 0, 4, 1)
        self.btnAddFactorSeparateVars = QtWidgets.QPushButton(self.chkSeparateVars)
        self.btnAddFactorSeparateVars.setObjectName("btnAddFactorSeparateVars")
        self.gridLayout_5.addWidget(self.btnAddFactorSeparateVars, 0, 1, 1, 1)
        self.lstFactorsSeparateVars = QtWidgets.QListWidget(self.chkSeparateVars)
        self.lstFactorsSeparateVars.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.lstFactorsSeparateVars.setAlternatingRowColors(True)
        self.lstFactorsSeparateVars.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.lstFactorsSeparateVars.setObjectName("lstFactorsSeparateVars")
        self.gridLayout_5.addWidget(self.lstFactorsSeparateVars, 0, 2, 3, 1)
        self.btnRemoveFactorSeparateVars = QtWidgets.QPushButton(self.chkSeparateVars)
        self.btnRemoveFactorSeparateVars.setObjectName("btnRemoveFactorSeparateVars")
        self.gridLayout_5.addWidget(self.btnRemoveFactorSeparateVars, 1, 1, 1, 1)
        self.btnRemoveAllFactorsSeparateVars = QtWidgets.QPushButton(self.chkSeparateVars)
        self.btnRemoveAllFactorsSeparateVars.setObjectName("btnRemoveAllFactorsSeparateVars")
        self.gridLayout_5.addWidget(self.btnRemoveAllFactorsSeparateVars, 2, 1, 1, 1)
        self.btnCheckConsistencySeparateVars = QtWidgets.QPushButton(self.chkSeparateVars)
        self.btnCheckConsistencySeparateVars.setObjectName("btnCheckConsistencySeparateVars")
        self.gridLayout_5.addWidget(self.btnCheckConsistencySeparateVars, 3, 1, 1, 2)
        self.verticalLayout.addWidget(self.chkSeparateVars)
        spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem3)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem4)
        self.btnStartSimulation = QtWidgets.QPushButton(self.tabSimulation)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnStartSimulation.sizePolicy().hasHeightForWidth())
        self.btnStartSimulation.setSizePolicy(sizePolicy)
        self.btnStartSimulation.setObjectName("btnStartSimulation")
        self.horizontalLayout_3.addWidget(self.btnStartSimulation)
        spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem5)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.tabWidget.addTab(self.tabSimulation, "")
        self.tabValidation = QtWidgets.QWidget()
        self.tabValidation.setObjectName("tabValidation")
        self.gridLayout_11 = QtWidgets.QGridLayout(self.tabValidation)
        self.gridLayout_11.setObjectName("gridLayout_11")
        self.layoutValPlot = QtWidgets.QVBoxLayout()
        self.layoutValPlot.setObjectName("layoutValPlot")
        self.gridLayout_11.addLayout(self.layoutValPlot, 1, 0, 1, 2)
        self.gridLayout_9 = QtWidgets.QGridLayout()
        self.gridLayout_9.setObjectName("gridLayout_9")
        spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_9.addItem(spacerItem6, 1, 3, 1, 1)
        self.leKappaOveral = QtWidgets.QLineEdit(self.tabValidation)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.leKappaOveral.sizePolicy().hasHeightForWidth())
        self.leKappaOveral.setSizePolicy(sizePolicy)
        self.leKappaOveral.setReadOnly(True)
        self.leKappaOveral.setObjectName("leKappaOveral")
        self.gridLayout_9.addWidget(self.leKappaOveral, 2, 5, 1, 1)
        self.btnSelectRiskValidation = QtWidgets.QPushButton(self.tabValidation)
        self.btnSelectRiskValidation.setEnabled(False)
        self.btnSelectRiskValidation.setObjectName("btnSelectRiskValidation")
        self.gridLayout_9.addWidget(self.btnSelectRiskValidation, 3, 2, 1, 1)
        self.chkRiskValidation = QtWidgets.QCheckBox(self.tabValidation)
        self.chkRiskValidation.setObjectName("chkRiskValidation")
        self.gridLayout_9.addWidget(self.chkRiskValidation, 3, 0, 1, 1)
        self.label_12 = QtWidgets.QLabel(self.tabValidation)
        self.label_12.setObjectName("label_12")
        self.gridLayout_9.addWidget(self.label_12, 2, 0, 1, 1)
        self.btnSelectSimulatedMap = QtWidgets.QPushButton(self.tabValidation)
        self.btnSelectSimulatedMap.setObjectName("btnSelectSimulatedMap")
        self.gridLayout_9.addWidget(self.btnSelectSimulatedMap, 2, 2, 1, 1)
        self.label_11 = QtWidgets.QLabel(self.tabValidation)
        self.label_11.setObjectName("label_11")
        self.gridLayout_9.addWidget(self.label_11, 1, 0, 1, 1)
        self.leReferenceMapPath = QtWidgets.QLineEdit(self.tabValidation)
        self.leReferenceMapPath.setReadOnly(True)
        self.leReferenceMapPath.setObjectName("leReferenceMapPath")
        self.gridLayout_9.addWidget(self.leReferenceMapPath, 1, 1, 1, 1)
        self.btnSelectReferenceMap = QtWidgets.QPushButton(self.tabValidation)
        self.btnSelectReferenceMap.setObjectName("btnSelectReferenceMap")
        self.gridLayout_9.addWidget(self.btnSelectReferenceMap, 1, 2, 1, 1)
        self.leSimulatedMapPath = QtWidgets.QLineEdit(self.tabValidation)
        self.leSimulatedMapPath.setReadOnly(True)
        self.leSimulatedMapPath.setObjectName("leSimulatedMapPath")
        self.gridLayout_9.addWidget(self.leSimulatedMapPath, 2, 1, 1, 1)
        self.spnValIterCount = QtWidgets.QSpinBox(self.tabValidation)
        self.spnValIterCount.setMinimum(1)
        self.spnValIterCount.setMaximum(20)
        self.spnValIterCount.setProperty("value", 5)
        self.spnValIterCount.setObjectName("spnValIterCount")
        self.gridLayout_9.addWidget(self.spnValIterCount, 4, 2, 1, 1)
        self.label_13 = QtWidgets.QLabel(self.tabValidation)
        self.label_13.setObjectName("label_13")
        self.gridLayout_9.addWidget(self.label_13, 4, 1, 1, 1)
        self.chkCheckPersistentClasses = QtWidgets.QCheckBox(self.tabValidation)
        self.chkCheckPersistentClasses.setChecked(True)
        self.chkCheckPersistentClasses.setObjectName("chkCheckPersistentClasses")
        self.gridLayout_9.addWidget(self.chkCheckPersistentClasses, 3, 1, 1, 1)
        self.leKappaHisto = QtWidgets.QLineEdit(self.tabValidation)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.leKappaHisto.sizePolicy().hasHeightForWidth())
        self.leKappaHisto.setSizePolicy(sizePolicy)
        self.leKappaHisto.setObjectName("leKappaHisto")
        self.gridLayout_9.addWidget(self.leKappaHisto, 3, 5, 1, 1)
        self.label_21 = QtWidgets.QLabel(self.tabValidation)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_21.sizePolicy().hasHeightForWidth())
        self.label_21.setSizePolicy(sizePolicy)
        self.label_21.setObjectName("label_21")
        self.gridLayout_9.addWidget(self.label_21, 1, 4, 1, 1)
        self.leKappaCorrectness = QtWidgets.QLineEdit(self.tabValidation)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.leKappaCorrectness.sizePolicy().hasHeightForWidth())
        self.leKappaCorrectness.setSizePolicy(sizePolicy)
        self.leKappaCorrectness.setReadOnly(True)
        self.leKappaCorrectness.setObjectName("leKappaCorrectness")
        self.gridLayout_9.addWidget(self.leKappaCorrectness, 1, 5, 1, 1)
        self.label_20 = QtWidgets.QLabel(self.tabValidation)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_20.sizePolicy().hasHeightForWidth())
        self.label_20.setSizePolicy(sizePolicy)
        self.label_20.setObjectName("label_20")
        self.gridLayout_9.addWidget(self.label_20, 2, 4, 1, 1)
        self.leKappaLoc = QtWidgets.QLineEdit(self.tabValidation)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.leKappaLoc.sizePolicy().hasHeightForWidth())
        self.leKappaLoc.setSizePolicy(sizePolicy)
        self.leKappaLoc.setReadOnly(True)
        self.leKappaLoc.setObjectName("leKappaLoc")
        self.gridLayout_9.addWidget(self.leKappaLoc, 4, 5, 1, 1)
        self.label_22 = QtWidgets.QLabel(self.tabValidation)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_22.sizePolicy().hasHeightForWidth())
        self.label_22.setSizePolicy(sizePolicy)
        self.label_22.setObjectName("label_22")
        self.gridLayout_9.addWidget(self.label_22, 3, 4, 1, 1)
        self.label_23 = QtWidgets.QLabel(self.tabValidation)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_23.sizePolicy().hasHeightForWidth())
        self.label_23.setSizePolicy(sizePolicy)
        self.label_23.setObjectName("label_23")
        self.gridLayout_9.addWidget(self.label_23, 4, 4, 1, 1)
        self.btnKappaCalc = QtWidgets.QPushButton(self.tabValidation)
        self.btnKappaCalc.setObjectName("btnKappaCalc")
        self.gridLayout_9.addWidget(self.btnKappaCalc, 5, 5, 1, 1)
        self.btnStartValidation = QtWidgets.QPushButton(self.tabValidation)
        self.btnStartValidation.setObjectName("btnStartValidation")
        self.gridLayout_9.addWidget(self.btnStartValidation, 5, 1, 1, 1)
        self.gridLayout_9.setColumnStretch(1, 2)
        self.gridLayout_9.setColumnStretch(3, 1)
        self.gridLayout_11.addLayout(self.gridLayout_9, 0, 0, 1, 2)
        self.tabWidget.addTab(self.tabValidation, "")
        self.tabMessages = QtWidgets.QWidget()
        self.tabMessages.setObjectName("tabMessages")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.tabMessages)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.txtMessages = QtWidgets.QTextEdit(self.tabMessages)
        self.txtMessages.setUndoRedoEnabled(False)
        self.txtMessages.setReadOnly(True)
        self.txtMessages.setObjectName("txtMessages")
        self.verticalLayout_4.addWidget(self.txtMessages)
        self.tabWidget.addTab(self.tabMessages, "")
        self.gridLayout_10.addWidget(self.tabWidget, 0, 0, 1, 2)
        self.progressBar = QtWidgets.QProgressBar(MolusceDialogBase)
        self.progressBar.setEnabled(True)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setAlignment(QtCore.Qt.AlignCenter)
        self.progressBar.setObjectName("progressBar")
        self.gridLayout_10.addWidget(self.progressBar, 4, 0, 1, 2)

        self.retranslateUi(MolusceDialogBase)
        self.tabWidget.setCurrentIndex(0)
        self.widgetStackMethods.setCurrentIndex(-1)
        QtCore.QMetaObject.connectSlotsByName(MolusceDialogBase)

    def retranslateUi(self, MolusceDialogBase):
        _translate = QtCore.QCoreApplication.translate
        MolusceDialogBase.setWindowTitle(_translate("MolusceDialogBase", "MOLUSCE"))
        self.btnSetInitialRaster.setText(_translate("MolusceDialogBase", "Initial >>"))
        self.btnSetFinalRaster.setText(_translate("MolusceDialogBase", "Final >>"))
        self.btnRemoveAllFactors.setText(_translate("MolusceDialogBase", "<< Remove all"))
        self.btnRemoveFactor.setText(_translate("MolusceDialogBase", "<< Remove"))
        self.btnAddFactor.setText(_translate("MolusceDialogBase", "Add >>"))
        self.label.setText(_translate("MolusceDialogBase", "Spatial variables"))
        self.btnCheckGeometry.setText(_translate("MolusceDialogBase", "Check geometry"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabInputs), _translate("MolusceDialogBase", "Inputs"))
        self.label_9.setText(_translate("MolusceDialogBase", "Method"))
        self.label_7.setText(_translate("MolusceDialogBase", "First Raster"))
        self.label_8.setText(_translate("MolusceDialogBase", "Second Raster"))
        self.label_10.setText(_translate("MolusceDialogBase", "Result"))
        self.btnStartCorrChecking.setText(_translate("MolusceDialogBase", "Check"))
        self.chkAllCorr.setText(_translate("MolusceDialogBase", "Check all rasters"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCorrelationChecking), _translate("MolusceDialogBase", "Evaluating correlation"))
        self.label_2.setText(_translate("MolusceDialogBase", "Class statistics"))
        self.label_3.setText(_translate("MolusceDialogBase", "Transition matrix"))
        self.btnUpdateStatistics.setText(_translate("MolusceDialogBase", "Update tables"))
        self.btnCreateChangeMap.setText(_translate("MolusceDialogBase", "Create changes map"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAreaChanges), _translate("MolusceDialogBase", "Area Changes"))
        self.grpSampling.setTitle(_translate("MolusceDialogBase", "Define Samples"))
        self.label_5.setText(_translate("MolusceDialogBase", "Mode"))
        self.label_6.setText(_translate("MolusceDialogBase", "Number of samples"))
        self.btnSelectSamples.setText(_translate("MolusceDialogBase", "Save Samples..."))
        self.label_4.setText(_translate("MolusceDialogBase", "Method"))
        self.saveModelBtn.setText(_translate("MolusceDialogBase", "Save current model to file"))
        self.loadModelBtn.setText(_translate("MolusceDialogBase", "Load model from file"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabModel), _translate("MolusceDialogBase", "Transition Potential Modelling"))
        self.chkTransitionPotentials.setTitle(_translate("MolusceDialogBase", "Transition potential maps"))
        self.label_14.setText(_translate("MolusceDialogBase", "Directory path"))
        self.label_15.setText(_translate("MolusceDialogBase", "Filename prefix"))
        self.leTransitionPotentialPrefix.setText(_translate("MolusceDialogBase", "potential_"))
        self.btnSelectTransitionPrefix.setText(_translate("MolusceDialogBase", "Select Directory..."))
        self.btnSelectRiskFunction.setText(_translate("MolusceDialogBase", "Browse..."))
        self.btnSelectMonteCarlo.setText(_translate("MolusceDialogBase", "Browse..."))
        self.chkRiskFunction.setText(_translate("MolusceDialogBase", "Certainty function"))
        self.lblIterations.setText(_translate("MolusceDialogBase", "Number of simulation iterations"))
        self.chkMonteCarlo.setText(_translate("MolusceDialogBase", "Simulation result"))
        self.chkSeparateVars.setTitle(_translate("MolusceDialogBase", "Set separate spatial variables version for simulation"))
        self.btnAddFactorSeparateVars.setText(_translate("MolusceDialogBase", "Add >>"))
        self.btnRemoveFactorSeparateVars.setText(_translate("MolusceDialogBase", "<< Remove"))
        self.btnRemoveAllFactorsSeparateVars.setText(_translate("MolusceDialogBase", "<< Remove all"))
        self.btnCheckConsistencySeparateVars.setText(_translate("MolusceDialogBase", "Check consistency"))
        self.btnStartSimulation.setText(_translate("MolusceDialogBase", "Start"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSimulation), _translate("MolusceDialogBase", "Cellular Automata Simulation"))
        self.btnSelectRiskValidation.setText(_translate("MolusceDialogBase", "Create..."))
        self.chkRiskValidation.setText(_translate("MolusceDialogBase", "Validation Map"))
        self.label_12.setText(_translate("MolusceDialogBase", "Simulated Map"))
        self.btnSelectSimulatedMap.setText(_translate("MolusceDialogBase", "Browse..."))
        self.label_11.setText(_translate("MolusceDialogBase", "Reference Map"))
        self.btnSelectReferenceMap.setText(_translate("MolusceDialogBase", "Browse..."))
        self.label_13.setText(_translate("MolusceDialogBase", "Number of validation iterations"))
        self.chkCheckPersistentClasses.setText(_translate("MolusceDialogBase", "Check persistent classes"))
        self.label_21.setText(_translate("MolusceDialogBase", "% of Correctness"))
        self.label_20.setText(_translate("MolusceDialogBase", "Kappa (overall)"))
        self.label_22.setText(_translate("MolusceDialogBase", "Kappa (histogram)"))
        self.label_23.setText(_translate("MolusceDialogBase", "Kappa (location)"))
        self.btnKappaCalc.setText(_translate("MolusceDialogBase", "Calculate kappa"))
        self.btnStartValidation.setText(_translate("MolusceDialogBase", "Start validation"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabValidation), _translate("MolusceDialogBase", "Validation"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMessages), _translate("MolusceDialogBase", "Messages"))
from qgis import gui
from molusce.moluscetablewidget import MolusceTableWidget
