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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateSummaryTablePolygons.ui'
#
# Created by: PyQt4 UI code generator 4.11.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_DlgCalculateSummaryTablePolygons(object):
    def setupUi(self, DlgCalculateSummaryTablePolygons):
        DlgCalculateSummaryTablePolygons.setObjectName(_fromUtf8("DlgCalculateSummaryTablePolygons"))
        DlgCalculateSummaryTablePolygons.resize(682, 1129)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateSummaryTablePolygons.sizePolicy().hasHeightForWidth())
        DlgCalculateSummaryTablePolygons.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(DlgCalculateSummaryTablePolygons)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.TabBox = QtGui.QTabWidget(DlgCalculateSummaryTablePolygons)
        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.Minimum)
        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.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_traj = QtGui.QComboBox(self.groupBox)
        self.combo_layer_traj.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        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, 3, 0, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(self.InputTab)
        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.setTitle(_fromUtf8(""))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.lineEdit_output_file = QtGui.QLineEdit(self.groupBox_2)
        self.lineEdit_output_file.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_output_file.sizePolicy().hasHeightForWidth())
        self.lineEdit_output_file.setSizePolicy(sizePolicy)
        self.lineEdit_output_file.setMinimumSize(QtCore.QSize(0, 30))
        self.lineEdit_output_file.setReadOnly(True)
        self.lineEdit_output_file.setObjectName(_fromUtf8("lineEdit_output_file"))
        self.gridLayout_2.addWidget(self.lineEdit_output_file, 1, 0, 1, 1)
        self.btn_output_file_browse = QtGui.QPushButton(self.groupBox_2)
        self.btn_output_file_browse.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_output_file_browse.sizePolicy().hasHeightForWidth())
        self.btn_output_file_browse.setSizePolicy(sizePolicy)
        self.btn_output_file_browse.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_output_file_browse.setMaximumSize(QtCore.QSize(120, 16777215))
        self.btn_output_file_browse.setObjectName(_fromUtf8("btn_output_file_browse"))
        self.gridLayout_2.addWidget(self.btn_output_file_browse, 1, 1, 1, 1)
        self.mode_lpd_jrc_2 = QtGui.QRadioButton(self.groupBox_2)
        self.mode_lpd_jrc_2.setEnabled(True)
        self.mode_lpd_jrc_2.setChecked(False)
        self.mode_lpd_jrc_2.setObjectName(_fromUtf8("mode_lpd_jrc_2"))
        self.gridLayout_2.addWidget(self.mode_lpd_jrc_2, 0, 0, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        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)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.output_file_layer.sizePolicy().hasHeightForWidth())
        self.output_file_layer.setSizePolicy(sizePolicy)
        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)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.browse_output_file_layer.sizePolicy().hasHeightForWidth())
        self.browse_output_file_layer.setSizePolicy(sizePolicy)
        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)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.output_file_table.sizePolicy().hasHeightForWidth())
        self.output_file_table.setSizePolicy(sizePolicy)
        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)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.browse_output_file_table.sizePolicy().hasHeightForWidth())
        self.browse_output_file_table.setSizePolicy(sizePolicy)
        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)
        spacerItem1 = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem1)
        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_next = QtGui.QPushButton(DlgCalculateSummaryTablePolygons)
        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, 0, 1, 1, 1)
        self.button_calculate = QtGui.QPushButton(DlgCalculateSummaryTablePolygons)
        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, 1, 0, 1, 2)
        self.button_prev = QtGui.QPushButton(DlgCalculateSummaryTablePolygons)
        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, 0, 0, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_3)

        self.retranslateUi(DlgCalculateSummaryTablePolygons)
        self.TabBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(DlgCalculateSummaryTablePolygons)
        DlgCalculateSummaryTablePolygons.setTabOrder(self.TabBox, self.mode_te_prod)
        DlgCalculateSummaryTablePolygons.setTabOrder(self.mode_te_prod, self.button_prev)
        DlgCalculateSummaryTablePolygons.setTabOrder(self.button_prev, self.button_next)
        DlgCalculateSummaryTablePolygons.setTabOrder(self.button_next, self.button_calculate)
        DlgCalculateSummaryTablePolygons.setTabOrder(self.button_calculate, self.combo_layer_traj)
        DlgCalculateSummaryTablePolygons.setTabOrder(self.combo_layer_traj, self.browse_output_file_layer)
        DlgCalculateSummaryTablePolygons.setTabOrder(self.browse_output_file_layer, self.browse_output_file_table)
        DlgCalculateSummaryTablePolygons.setTabOrder(self.browse_output_file_table, self.output_file_layer)
        DlgCalculateSummaryTablePolygons.setTabOrder(self.output_file_layer, self.output_file_table)

    def retranslateUi(self, DlgCalculateSummaryTablePolygons):
        DlgCalculateSummaryTablePolygons.setWindowTitle(_translate("DlgCalculateSummaryTablePolygons", "Calculate SDG 15.3.1 Indicator", None))
        self.groupBox.setTitle(_translate("DlgCalculateSummaryTablePolygons", "Select raster layer input", None))
        self.mode_te_prod.setText(_translate("DlgCalculateSummaryTablePolygons", "Trends.Earth layer", None))
        self.lineEdit_output_file.setPlaceholderText(_translate("DlgCalculateSummaryTablePolygons", "Click \"Browse\" to choose a file...", None))
        self.btn_output_file_browse.setText(_translate("DlgCalculateSummaryTablePolygons", "Browse", None))
        self.mode_lpd_jrc_2.setText(_translate("DlgCalculateSummaryTablePolygons", "Upload raster layer (.tif)", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.InputTab), _translate("DlgCalculateSummaryTablePolygons", "Input", None))
        self.groupBox_6.setTitle(_translate("DlgCalculateSummaryTablePolygons", "Output file for indicator layer", None))
        self.output_file_layer.setPlaceholderText(_translate("DlgCalculateSummaryTablePolygons", "Click \"Browse\" to choose a file...", None))
        self.browse_output_file_layer.setText(_translate("DlgCalculateSummaryTablePolygons", "Browse", None))
        self.groupBox_7.setTitle(_translate("DlgCalculateSummaryTablePolygons", "Output file for summary table", None))
        self.output_file_table.setPlaceholderText(_translate("DlgCalculateSummaryTablePolygons", "Click \"Browse\" to choose a file...", None))
        self.browse_output_file_table.setText(_translate("DlgCalculateSummaryTablePolygons", "Browse", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.OutputTab), _translate("DlgCalculateSummaryTablePolygons", "Output", None))
        self.button_next.setText(_translate("DlgCalculateSummaryTablePolygons", "Next", None))
        self.button_calculate.setText(_translate("DlgCalculateSummaryTablePolygons", "Calculate", None))
        self.button_prev.setText(_translate("DlgCalculateSummaryTablePolygons", "Previous", None))


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

