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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateRestBiomassData.ui'
#
# Created: Fri Jan 18 08:54:39 2019
#      by: PyQt4 UI code generator 4.10.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_DlgCalculateRestBiomassData(object):
    def setupUi(self, DlgCalculateRestBiomassData):
        DlgCalculateRestBiomassData.setObjectName(_fromUtf8("DlgCalculateRestBiomassData"))
        DlgCalculateRestBiomassData.resize(496, 532)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateRestBiomassData.sizePolicy().hasHeightForWidth())
        DlgCalculateRestBiomassData.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(DlgCalculateRestBiomassData)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.TabBox = QtGui.QTabWidget(DlgCalculateRestBiomassData)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.TabBox.sizePolicy().hasHeightForWidth())
        self.TabBox.setSizePolicy(sizePolicy)
        self.TabBox.setTabShape(QtGui.QTabWidget.Rounded)
        self.TabBox.setObjectName(_fromUtf8("TabBox"))
        self.ApproachTab = QtGui.QWidget()
        self.ApproachTab.setObjectName(_fromUtf8("ApproachTab"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.ApproachTab)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.groupBox = QtGui.QGroupBox(self.ApproachTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.radioButton_rest_type_terrestrial = QtGui.QRadioButton(self.groupBox)
        self.radioButton_rest_type_terrestrial.setChecked(True)
        self.radioButton_rest_type_terrestrial.setObjectName(_fromUtf8("radioButton_rest_type_terrestrial"))
        self.verticalLayout_3.addWidget(self.radioButton_rest_type_terrestrial)
        self.radioButton_rest_type_coastal = QtGui.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(_fromUtf8("radioButton_rest_type_coastal"))
        self.verticalLayout_3.addWidget(self.radioButton_rest_type_coastal)
        self.verticalLayout_4.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(self.ApproachTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.spinBox_years = QtGui.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(_fromUtf8("spinBox_years"))
        self.horizontalLayout.addWidget(self.spinBox_years)
        self.verticalLayout_4.addWidget(self.groupBox_2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem)
        self.TabBox.addTab(self.ApproachTab, _fromUtf8(""))
        self.verticalLayout.addWidget(self.TabBox)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.button_calculate = QtGui.QPushButton(DlgCalculateRestBiomassData)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.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(_fromUtf8("button_calculate"))
        self.gridLayout_3.addWidget(self.button_calculate, 2, 0, 1, 2)
        self.button_prev = QtGui.QPushButton(DlgCalculateRestBiomassData)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.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(_fromUtf8("button_prev"))
        self.gridLayout_3.addWidget(self.button_prev, 1, 0, 1, 1)
        self.button_next = QtGui.QPushButton(DlgCalculateRestBiomassData)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.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(_fromUtf8("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):
        DlgCalculateRestBiomassData.setWindowTitle(_translate("DlgCalculateRestBiomassData", "Estimate Likely Change in Biomass Due to Restoration", None))
        self.groupBox.setTitle(_translate("DlgCalculateRestBiomassData", "Type of restoration", None))
        self.radioButton_rest_type_terrestrial.setText(_translate("DlgCalculateRestBiomassData", "Terrestrial", None))
        self.radioButton_rest_type_coastal.setText(_translate("DlgCalculateRestBiomassData", "Coastal (mangrove)", None))
        self.groupBox_2.setTitle(_translate("DlgCalculateRestBiomassData", "Planned longevity of intervention (years)", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.ApproachTab), _translate("DlgCalculateRestBiomassData", "Approach", None))
        self.button_calculate.setText(_translate("DlgCalculateRestBiomassData", "Calculate", None))
        self.button_prev.setText(_translate("DlgCalculateRestBiomassData", "Previous", None))
        self.button_next.setText(_translate("DlgCalculateRestBiomassData", "Next", None))


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

