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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateRestBiomassData.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_DlgCalculateRestBiomassData(object):
    def setupUi(self, DlgCalculateRestBiomassData):
        DlgCalculateRestBiomassData.setObjectName("DlgCalculateRestBiomassData")
        DlgCalculateRestBiomassData.resize(258, 288)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateRestBiomassData.sizePolicy().hasHeightForWidth())
        DlgCalculateRestBiomassData.setSizePolicy(sizePolicy)
        self.verticalLayout = QtWidgets.QVBoxLayout(DlgCalculateRestBiomassData)
        self.verticalLayout.setObjectName("verticalLayout")
        self.TabBox = QtWidgets.QTabWidget(DlgCalculateRestBiomassData)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.TabBox.sizePolicy().hasHeightForWidth())
        self.TabBox.setSizePolicy(sizePolicy)
        self.TabBox.setTabShape(QtWidgets.QTabWidget.Rounded)
        self.TabBox.setObjectName("TabBox")
        self.ApproachTab = QtWidgets.QWidget()
        self.ApproachTab.setObjectName("ApproachTab")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.ApproachTab)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.groupBox = QtWidgets.QGroupBox(self.ApproachTab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.radioButton_rest_type_terrestrial = QtWidgets.QRadioButton(self.groupBox)
        self.radioButton_rest_type_terrestrial.setChecked(True)
        self.radioButton_rest_type_terrestrial.setObjectName("radioButton_rest_type_terrestrial")
        self.verticalLayout_3.addWidget(self.radioButton_rest_type_terrestrial)
        self.radioButton_rest_type_coastal = QtWidgets.QRadioButton(self.groupBox)
        self.radioButton_rest_type_coastal.setMinimumSize(QtCore.QSize(0, 30))
        self.radioButton_rest_type_coastal.setChecked(False)
        self.radioButton_rest_type_coastal.setObjectName("radioButton_rest_type_coastal")
        self.verticalLayout_3.addWidget(self.radioButton_rest_type_coastal)
        self.verticalLayout_4.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(self.ApproachTab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName("groupBox_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.spinBox_years = QtWidgets.QSpinBox(self.groupBox_2)
        self.spinBox_years.setMaximumSize(QtCore.QSize(50, 16777215))
        self.spinBox_years.setMinimum(1)
        self.spinBox_years.setMaximum(100)
        self.spinBox_years.setProperty("value", 20)
        self.spinBox_years.setObjectName("spinBox_years")
        self.horizontalLayout.addWidget(self.spinBox_years, 0, QtCore.Qt.AlignHCenter)
        self.verticalLayout_4.addWidget(self.groupBox_2)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem)
        self.TabBox.addTab(self.ApproachTab, "")
        self.verticalLayout.addWidget(self.TabBox)
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.button_calculate = QtWidgets.QPushButton(DlgCalculateRestBiomassData)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_calculate.sizePolicy().hasHeightForWidth())
        self.button_calculate.setSizePolicy(sizePolicy)
        self.button_calculate.setMinimumSize(QtCore.QSize(0, 30))
        self.button_calculate.setObjectName("button_calculate")
        self.gridLayout_3.addWidget(self.button_calculate, 2, 0, 1, 2)
        self.button_prev = QtWidgets.QPushButton(DlgCalculateRestBiomassData)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_prev.sizePolicy().hasHeightForWidth())
        self.button_prev.setSizePolicy(sizePolicy)
        self.button_prev.setMinimumSize(QtCore.QSize(0, 30))
        self.button_prev.setObjectName("button_prev")
        self.gridLayout_3.addWidget(self.button_prev, 1, 0, 1, 1)
        self.button_next = QtWidgets.QPushButton(DlgCalculateRestBiomassData)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_next.sizePolicy().hasHeightForWidth())
        self.button_next.setSizePolicy(sizePolicy)
        self.button_next.setMinimumSize(QtCore.QSize(0, 30))
        self.button_next.setObjectName("button_next")
        self.gridLayout_3.addWidget(self.button_next, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_3)

        self.retranslateUi(DlgCalculateRestBiomassData)
        self.TabBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(DlgCalculateRestBiomassData)
        DlgCalculateRestBiomassData.setTabOrder(self.TabBox, self.button_prev)
        DlgCalculateRestBiomassData.setTabOrder(self.button_prev, self.button_next)
        DlgCalculateRestBiomassData.setTabOrder(self.button_next, self.button_calculate)

    def retranslateUi(self, DlgCalculateRestBiomassData):
        _translate = QtCore.QCoreApplication.translate
        DlgCalculateRestBiomassData.setWindowTitle(_translate("DlgCalculateRestBiomassData", "Estimate Likely Change in Biomass Due to Restoration"))
        self.groupBox.setTitle(_translate("DlgCalculateRestBiomassData", "Type of restoration"))
        self.radioButton_rest_type_terrestrial.setText(_translate("DlgCalculateRestBiomassData", "Terrestrial"))
        self.radioButton_rest_type_coastal.setText(_translate("DlgCalculateRestBiomassData", "Coastal (mangrove)"))
        self.groupBox_2.setTitle(_translate("DlgCalculateRestBiomassData", "Planned longevity of intervention (years)"))
        self.TabBox.setTabText(self.TabBox.indexOf(self.ApproachTab), _translate("DlgCalculateRestBiomassData", "Approach"))
        self.button_calculate.setText(_translate("DlgCalculateRestBiomassData", "Calculate"))
        self.button_prev.setText(_translate("DlgCalculateRestBiomassData", "Previous"))
        self.button_next.setText(_translate("DlgCalculateRestBiomassData", "Next"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    DlgCalculateRestBiomassData = QtWidgets.QDialog()
    ui = Ui_DlgCalculateRestBiomassData()
    ui.setupUi(DlgCalculateRestBiomassData)
    DlgCalculateRestBiomassData.show()
    sys.exit(app.exec_())
