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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateSummaryTableAdmin.ui'
#
# Created: Sat Apr 07 22:23:36 2018
#      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_DlgCalculateSummaryTableAdmin(object):
    def setupUi(self, DlgCalculateSummaryTableAdmin):
        DlgCalculateSummaryTableAdmin.setObjectName(_fromUtf8("DlgCalculateSummaryTableAdmin"))
        DlgCalculateSummaryTableAdmin.resize(928, 705)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateSummaryTableAdmin.sizePolicy().hasHeightForWidth())
        DlgCalculateSummaryTableAdmin.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(DlgCalculateSummaryTableAdmin)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.TabBox = QtGui.QTabWidget(DlgCalculateSummaryTableAdmin)
        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.InputTab = QtGui.QWidget()
        self.InputTab.setObjectName(_fromUtf8("InputTab"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.InputTab)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.groupBox = QtGui.QGroupBox(self.InputTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.groupBox.setFont(font)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.combo_layer_traj = WidgetDataIOSelectTELayerExisting(self.groupBox)
        self.combo_layer_traj.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_traj.sizePolicy().hasHeightForWidth())
        self.combo_layer_traj.setSizePolicy(sizePolicy)
        self.combo_layer_traj.setMinimumSize(QtCore.QSize(0, 30))
        self.combo_layer_traj.setObjectName(_fromUtf8("combo_layer_traj"))
        self.gridLayout.addWidget(self.combo_layer_traj, 4, 0, 1, 1)
        self.combo_layer_perf = WidgetDataIOSelectTELayerExisting(self.groupBox)
        self.combo_layer_perf.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_perf.sizePolicy().hasHeightForWidth())
        self.combo_layer_perf.setSizePolicy(sizePolicy)
        self.combo_layer_perf.setMinimumSize(QtCore.QSize(0, 30))
        self.combo_layer_perf.setObjectName(_fromUtf8("combo_layer_perf"))
        self.gridLayout.addWidget(self.combo_layer_perf, 6, 0, 1, 1)
        self.combo_layer_state = WidgetDataIOSelectTELayerExisting(self.groupBox)
        self.combo_layer_state.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_state.sizePolicy().hasHeightForWidth())
        self.combo_layer_state.setSizePolicy(sizePolicy)
        self.combo_layer_state.setMinimumSize(QtCore.QSize(0, 30))
        self.combo_layer_state.setObjectName(_fromUtf8("combo_layer_state"))
        self.gridLayout.addWidget(self.combo_layer_state, 8, 0, 1, 1)
        self.mode_te_prod = QtGui.QRadioButton(self.groupBox)
        self.mode_te_prod.setChecked(True)
        self.mode_te_prod.setObjectName(_fromUtf8("mode_te_prod"))
        self.gridLayout.addWidget(self.mode_te_prod, 2, 0, 1, 1)
        self.combo_layer_perf_label = QtGui.QLabel(self.groupBox)
        self.combo_layer_perf_label.setEnabled(True)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.combo_layer_perf_label.setFont(font)
        self.combo_layer_perf_label.setObjectName(_fromUtf8("combo_layer_perf_label"))
        self.gridLayout.addWidget(self.combo_layer_perf_label, 5, 0, 1, 1)
        self.combo_layer_state_label = QtGui.QLabel(self.groupBox)
        self.combo_layer_state_label.setEnabled(True)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.combo_layer_state_label.setFont(font)
        self.combo_layer_state_label.setObjectName(_fromUtf8("combo_layer_state_label"))
        self.gridLayout.addWidget(self.combo_layer_state_label, 7, 0, 1, 1)
        self.combo_layer_traj_label = QtGui.QLabel(self.groupBox)
        self.combo_layer_traj_label.setEnabled(True)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.combo_layer_traj_label.setFont(font)
        self.combo_layer_traj_label.setObjectName(_fromUtf8("combo_layer_traj_label"))
        self.gridLayout.addWidget(self.combo_layer_traj_label, 3, 0, 1, 1)
        self.combo_layer_lpd = WidgetDataIOSelectTELayerImport(self.groupBox)
        self.combo_layer_lpd.setEnabled(False)
        self.combo_layer_lpd.setMinimumSize(QtCore.QSize(0, 30))
        self.combo_layer_lpd.setObjectName(_fromUtf8("combo_layer_lpd"))
        self.gridLayout.addWidget(self.combo_layer_lpd, 10, 0, 1, 1)
        self.mode_lpd_jrc = QtGui.QRadioButton(self.groupBox)
        self.mode_lpd_jrc.setEnabled(True)
        self.mode_lpd_jrc.setChecked(False)
        self.mode_lpd_jrc.setObjectName(_fromUtf8("mode_lpd_jrc"))
        self.gridLayout.addWidget(self.mode_lpd_jrc, 9, 0, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(self.InputTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.groupBox_2.setFont(font)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.combo_layer_lc = WidgetDataIOSelectTELayerExisting(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_lc.sizePolicy().hasHeightForWidth())
        self.combo_layer_lc.setSizePolicy(sizePolicy)
        self.combo_layer_lc.setMinimumSize(QtCore.QSize(0, 30))
        self.combo_layer_lc.setObjectName(_fromUtf8("combo_layer_lc"))
        self.verticalLayout_6.addWidget(self.combo_layer_lc)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.groupBox_3 = QtGui.QGroupBox(self.InputTab)
        self.groupBox_3.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.groupBox_3.setFont(font)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.combo_layer_soc = WidgetDataIOSelectTELayerExisting(self.groupBox_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_soc.sizePolicy().hasHeightForWidth())
        self.combo_layer_soc.setSizePolicy(sizePolicy)
        self.combo_layer_soc.setMinimumSize(QtCore.QSize(275, 30))
        self.combo_layer_soc.setObjectName(_fromUtf8("combo_layer_soc"))
        self.verticalLayout_7.addWidget(self.combo_layer_soc)
        self.verticalLayout_2.addWidget(self.groupBox_3)
        self.TabBox.addTab(self.InputTab, _fromUtf8(""))
        self.OutputTab = QtGui.QWidget()
        self.OutputTab.setObjectName(_fromUtf8("OutputTab"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.OutputTab)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.groupBox_6 = QtGui.QGroupBox(self.OutputTab)
        self.groupBox_6.setObjectName(_fromUtf8("groupBox_6"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox_6)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.output_file_layer = QtGui.QLineEdit(self.groupBox_6)
        self.output_file_layer.setMinimumSize(QtCore.QSize(0, 35))
        self.output_file_layer.setReadOnly(True)
        self.output_file_layer.setObjectName(_fromUtf8("output_file_layer"))
        self.horizontalLayout.addWidget(self.output_file_layer)
        self.browse_output_file_layer = QtGui.QPushButton(self.groupBox_6)
        self.browse_output_file_layer.setMinimumSize(QtCore.QSize(0, 35))
        self.browse_output_file_layer.setObjectName(_fromUtf8("browse_output_file_layer"))
        self.horizontalLayout.addWidget(self.browse_output_file_layer)
        self.verticalLayout_3.addWidget(self.groupBox_6)
        self.groupBox_7 = QtGui.QGroupBox(self.OutputTab)
        self.groupBox_7.setObjectName(_fromUtf8("groupBox_7"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.groupBox_7)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.output_file_table = QtGui.QLineEdit(self.groupBox_7)
        self.output_file_table.setMinimumSize(QtCore.QSize(0, 35))
        self.output_file_table.setReadOnly(True)
        self.output_file_table.setObjectName(_fromUtf8("output_file_table"))
        self.horizontalLayout_2.addWidget(self.output_file_table)
        self.browse_output_file_table = QtGui.QPushButton(self.groupBox_7)
        self.browse_output_file_table.setMinimumSize(QtCore.QSize(0, 35))
        self.browse_output_file_table.setObjectName(_fromUtf8("browse_output_file_table"))
        self.horizontalLayout_2.addWidget(self.browse_output_file_table)
        self.verticalLayout_3.addWidget(self.groupBox_7)
        spacerItem = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.TabBox.addTab(self.OutputTab, _fromUtf8(""))
        self.verticalLayout.addWidget(self.TabBox)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.button_prev = QtGui.QPushButton(DlgCalculateSummaryTableAdmin)
        self.button_prev.setMinimumSize(QtCore.QSize(0, 30))
        self.button_prev.setObjectName(_fromUtf8("button_prev"))
        self.gridLayout_3.addWidget(self.button_prev, 0, 0, 1, 1)
        self.button_next = QtGui.QPushButton(DlgCalculateSummaryTableAdmin)
        self.button_next.setMinimumSize(QtCore.QSize(0, 30))
        self.button_next.setObjectName(_fromUtf8("button_next"))
        self.gridLayout_3.addWidget(self.button_next, 0, 1, 1, 1)
        self.button_calculate = QtGui.QPushButton(DlgCalculateSummaryTableAdmin)
        self.button_calculate.setMinimumSize(QtCore.QSize(0, 30))
        self.button_calculate.setObjectName(_fromUtf8("button_calculate"))
        self.gridLayout_3.addWidget(self.button_calculate, 1, 0, 1, 2)
        self.verticalLayout.addLayout(self.gridLayout_3)

        self.retranslateUi(DlgCalculateSummaryTableAdmin)
        self.TabBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(DlgCalculateSummaryTableAdmin)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.TabBox, self.mode_te_prod)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.mode_te_prod, self.mode_lpd_jrc)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.mode_lpd_jrc, self.combo_layer_lc)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.combo_layer_lc, self.combo_layer_soc)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.combo_layer_soc, self.button_prev)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.button_prev, self.button_next)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.button_next, self.button_calculate)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.button_calculate, self.combo_layer_traj)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.combo_layer_traj, self.combo_layer_perf)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.combo_layer_perf, self.combo_layer_state)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.combo_layer_state, self.combo_layer_lpd)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.combo_layer_lpd, self.browse_output_file_layer)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.browse_output_file_layer, self.browse_output_file_table)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.browse_output_file_table, self.output_file_layer)
        DlgCalculateSummaryTableAdmin.setTabOrder(self.output_file_layer, self.output_file_table)

    def retranslateUi(self, DlgCalculateSummaryTableAdmin):
        DlgCalculateSummaryTableAdmin.setWindowTitle(_translate("DlgCalculateSummaryTableAdmin", "Calculate SDG 15.3.1 Indicator", None))
        self.groupBox.setTitle(_translate("DlgCalculateSummaryTableAdmin", "Productivity", None))
        self.combo_layer_traj.setProperty("layer_type", _translate("DlgCalculateSummaryTableAdmin", "Productivity trajectory (significance)", None))
        self.combo_layer_perf.setProperty("layer_type", _translate("DlgCalculateSummaryTableAdmin", "Productivity performance (degradation)", None))
        self.combo_layer_state.setProperty("layer_type", _translate("DlgCalculateSummaryTableAdmin", "Productivity state (degradation)", None))
        self.mode_te_prod.setText(_translate("DlgCalculateSummaryTableAdmin", "Trends.Earth land productivity", None))
        self.combo_layer_perf_label.setText(_translate("DlgCalculateSummaryTableAdmin", "Performance (degradation):", None))
        self.combo_layer_state_label.setText(_translate("DlgCalculateSummaryTableAdmin", "State (degradation):", None))
        self.combo_layer_traj_label.setText(_translate("DlgCalculateSummaryTableAdmin", "Trajectory (degradation):", None))
        self.combo_layer_lpd.setProperty("layer_type", _translate("DlgCalculateSummaryTableAdmin", "Land Productivity Dynamics (LPD)", None))
        self.mode_lpd_jrc.setText(_translate("DlgCalculateSummaryTableAdmin", "UNCCD default data (Land Productivity Dynamics (LPD) 1999-2013 Product from Joint Research Commission)", None))
        self.groupBox_2.setTitle(_translate("DlgCalculateSummaryTableAdmin", "Land cover (degradation)", None))
        self.combo_layer_lc.setProperty("layer_type", _translate("DlgCalculateSummaryTableAdmin", "Land cover (degradation)", None))
        self.groupBox_3.setTitle(_translate("DlgCalculateSummaryTableAdmin", "Soil carbon (degradation)", None))
        self.combo_layer_soc.setProperty("layer_type", _translate("DlgCalculateSummaryTableAdmin", "Soil organic carbon (degradation)", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.InputTab), _translate("DlgCalculateSummaryTableAdmin", "Input", None))
        self.groupBox_6.setTitle(_translate("DlgCalculateSummaryTableAdmin", "Output file for indicator layer", None))
        self.output_file_layer.setPlaceholderText(_translate("DlgCalculateSummaryTableAdmin", "Click \"Browse\" to choose a file...", None))
        self.browse_output_file_layer.setText(_translate("DlgCalculateSummaryTableAdmin", "Browse", None))
        self.groupBox_7.setTitle(_translate("DlgCalculateSummaryTableAdmin", "Output file for summary table", None))
        self.output_file_table.setPlaceholderText(_translate("DlgCalculateSummaryTableAdmin", "Click \"Browse\" to choose a file...", None))
        self.browse_output_file_table.setText(_translate("DlgCalculateSummaryTableAdmin", "Browse", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.OutputTab), _translate("DlgCalculateSummaryTableAdmin", "Output", None))
        self.button_prev.setText(_translate("DlgCalculateSummaryTableAdmin", "Previous", None))
        self.button_next.setText(_translate("DlgCalculateSummaryTableAdmin", "Next", None))
        self.button_calculate.setText(_translate("DlgCalculateSummaryTableAdmin", "Calculate", None))

from LDMP.data_io import WidgetDataIOSelectTELayerExisting, WidgetDataIOSelectTELayerImport

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

