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

# Form implementation generated from reading ui file 'LDMP/gui\WidgetLCDefineDegradation.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_WidgetLCDefineDegradation(object):
    def setupUi(self, WidgetLCDefineDegradation):
        WidgetLCDefineDegradation.setObjectName(_fromUtf8("WidgetLCDefineDegradation"))
        WidgetLCDefineDegradation.resize(866, 531)
        self.verticalLayout = QtGui.QVBoxLayout(WidgetLCDefineDegradation)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.lc_trans_table_layout = QtGui.QGridLayout()
        self.lc_trans_table_layout.setObjectName(_fromUtf8("lc_trans_table_layout"))
        self.label_lc_target_year = QtGui.QLabel(WidgetLCDefineDegradation)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_lc_target_year.sizePolicy().hasHeightForWidth())
        self.label_lc_target_year.setSizePolicy(sizePolicy)
        self.label_lc_target_year.setMinimumSize(QtCore.QSize(0, 35))
        self.label_lc_target_year.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_lc_target_year.setFont(font)
        self.label_lc_target_year.setObjectName(_fromUtf8("label_lc_target_year"))
        self.lc_trans_table_layout.addWidget(self.label_lc_target_year, 0, 1, 1, 1, QtCore.Qt.AlignHCenter)
        self.deg_def_matrix = QtGui.QTableWidget(WidgetLCDefineDegradation)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.deg_def_matrix.sizePolicy().hasHeightForWidth())
        self.deg_def_matrix.setSizePolicy(sizePolicy)
        self.deg_def_matrix.setMinimumSize(QtCore.QSize(800, 325))
        self.deg_def_matrix.setAutoFillBackground(False)
        self.deg_def_matrix.setFrameShape(QtGui.QFrame.Panel)
        self.deg_def_matrix.setFrameShadow(QtGui.QFrame.Sunken)
        self.deg_def_matrix.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.deg_def_matrix.setShowGrid(False)
        self.deg_def_matrix.setGridStyle(QtCore.Qt.SolidLine)
        self.deg_def_matrix.setRowCount(7)
        self.deg_def_matrix.setColumnCount(7)
        self.deg_def_matrix.setObjectName(_fromUtf8("deg_def_matrix"))
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setVerticalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setVerticalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setVerticalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setVerticalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setVerticalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setVerticalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setVerticalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setHorizontalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setHorizontalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(0, 0, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(0, 1, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(0, 2, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(0, 3, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(0, 4, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(0, 5, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setItem(0, 6, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(1, 0, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(1, 1, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(1, 2, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(1, 3, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(1, 4, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(1, 5, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setItem(1, 6, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(2, 0, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(2, 1, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(2, 2, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(2, 3, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(2, 4, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(2, 5, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setItem(2, 6, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(3, 0, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(3, 1, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(3, 2, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(3, 3, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(3, 4, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(3, 5, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setItem(3, 6, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(4, 0, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(4, 1, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(4, 2, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(4, 3, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(4, 4, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(4, 5, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setItem(4, 6, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(5, 0, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(5, 1, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(5, 2, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(5, 3, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(5, 4, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
        self.deg_def_matrix.setItem(5, 5, item)
        item = QtGui.QTableWidgetItem()
        self.deg_def_matrix.setItem(5, 6, item)
        self.deg_def_matrix.horizontalHeader().setCascadingSectionResizes(True)
        self.deg_def_matrix.horizontalHeader().setDefaultSectionSize(40)
        self.deg_def_matrix.horizontalHeader().setMinimumSectionSize(20)
        self.deg_def_matrix.horizontalHeader().setStretchLastSection(False)
        self.deg_def_matrix.verticalHeader().setCascadingSectionResizes(True)
        self.deg_def_matrix.verticalHeader().setDefaultSectionSize(40)
        self.deg_def_matrix.verticalHeader().setMinimumSectionSize(40)
        self.deg_def_matrix.verticalHeader().setStretchLastSection(False)
        self.lc_trans_table_layout.addWidget(self.deg_def_matrix, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.lc_trans_table_layout.addItem(spacerItem, 0, 0, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(WidgetLCDefineDegradation)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_5 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.label = QtGui.QLabel(self.groupBox_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_5.addWidget(self.label, 0, 0, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_5.addWidget(self.label_6, 0, 2, 1, 1)
        self.legend_deg = QtGui.QLineEdit(self.groupBox_2)
        self.legend_deg.setMinimumSize(QtCore.QSize(0, 30))
        self.legend_deg.setText(_fromUtf8("-"))
        self.legend_deg.setAlignment(QtCore.Qt.AlignCenter)
        self.legend_deg.setReadOnly(True)
        self.legend_deg.setPlaceholderText(_fromUtf8(""))
        self.legend_deg.setObjectName(_fromUtf8("legend_deg"))
        self.gridLayout_5.addWidget(self.legend_deg, 1, 0, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox_2)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_5.addWidget(self.label_5, 3, 0, 1, 3)
        self.legend_imp = QtGui.QLineEdit(self.groupBox_2)
        self.legend_imp.setMinimumSize(QtCore.QSize(0, 30))
        self.legend_imp.setText(_fromUtf8("+"))
        self.legend_imp.setAlignment(QtCore.Qt.AlignCenter)
        self.legend_imp.setReadOnly(True)
        self.legend_imp.setPlaceholderText(_fromUtf8(""))
        self.legend_imp.setObjectName(_fromUtf8("legend_imp"))
        self.gridLayout_5.addWidget(self.legend_imp, 1, 2, 1, 1)
        self.legend_stable = QtGui.QLineEdit(self.groupBox_2)
        self.legend_stable.setMinimumSize(QtCore.QSize(0, 30))
        self.legend_stable.setText(_fromUtf8("0"))
        self.legend_stable.setAlignment(QtCore.Qt.AlignCenter)
        self.legend_stable.setReadOnly(True)
        self.legend_stable.setPlaceholderText(_fromUtf8(""))
        self.legend_stable.setObjectName(_fromUtf8("legend_stable"))
        self.gridLayout_5.addWidget(self.legend_stable, 1, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.groupBox_2)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_5.addWidget(self.label_7, 0, 1, 1, 1)
        self.lc_trans_table_layout.addWidget(self.groupBox_2, 2, 0, 1, 2)
        self.verticalLayout.addLayout(self.lc_trans_table_layout)
        self.gridLayout_7 = QtGui.QGridLayout()
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.btn_transmatrix_savefile = QtGui.QPushButton(WidgetLCDefineDegradation)
        self.btn_transmatrix_savefile.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_transmatrix_savefile.setObjectName(_fromUtf8("btn_transmatrix_savefile"))
        self.gridLayout_7.addWidget(self.btn_transmatrix_savefile, 0, 2, 1, 1)
        self.btn_transmatrix_reset = QtGui.QPushButton(WidgetLCDefineDegradation)
        self.btn_transmatrix_reset.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_transmatrix_reset.setObjectName(_fromUtf8("btn_transmatrix_reset"))
        self.gridLayout_7.addWidget(self.btn_transmatrix_reset, 0, 0, 1, 1)
        self.btn_transmatrix_loadfile = QtGui.QPushButton(WidgetLCDefineDegradation)
        self.btn_transmatrix_loadfile.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_transmatrix_loadfile.setObjectName(_fromUtf8("btn_transmatrix_loadfile"))
        self.gridLayout_7.addWidget(self.btn_transmatrix_loadfile, 0, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_7)

        self.retranslateUi(WidgetLCDefineDegradation)
        QtCore.QMetaObject.connectSlotsByName(WidgetLCDefineDegradation)

    def retranslateUi(self, WidgetLCDefineDegradation):
        WidgetLCDefineDegradation.setWindowTitle(_translate("WidgetLCDefineDegradation", "Form", None))
        self.label_lc_target_year.setText(_translate("WidgetLCDefineDegradation", "Land cover in target year ", None))
        item = self.deg_def_matrix.verticalHeaderItem(0)
        item.setText(_translate("WidgetLCDefineDegradation", "Forest", None))
        item = self.deg_def_matrix.verticalHeaderItem(1)
        item.setText(_translate("WidgetLCDefineDegradation", "Grassland*", None))
        item = self.deg_def_matrix.verticalHeaderItem(2)
        item.setText(_translate("WidgetLCDefineDegradation", "Cropland", None))
        item = self.deg_def_matrix.verticalHeaderItem(3)
        item.setText(_translate("WidgetLCDefineDegradation", "Wetland", None))
        item = self.deg_def_matrix.verticalHeaderItem(4)
        item.setText(_translate("WidgetLCDefineDegradation", "Artificial area", None))
        item = self.deg_def_matrix.verticalHeaderItem(5)
        item.setText(_translate("WidgetLCDefineDegradation", "Other land", None))
        item = self.deg_def_matrix.verticalHeaderItem(6)
        item.setText(_translate("WidgetLCDefineDegradation", "Water body", None))
        item = self.deg_def_matrix.horizontalHeaderItem(0)
        item.setText(_translate("WidgetLCDefineDegradation", "Forest", None))
        item = self.deg_def_matrix.horizontalHeaderItem(1)
        item.setText(_translate("WidgetLCDefineDegradation", "Grassland*", None))
        item = self.deg_def_matrix.horizontalHeaderItem(2)
        item.setText(_translate("WidgetLCDefineDegradation", "Cropland", None))
        item = self.deg_def_matrix.horizontalHeaderItem(3)
        item.setText(_translate("WidgetLCDefineDegradation", "Wetland", None))
        item = self.deg_def_matrix.horizontalHeaderItem(4)
        item.setText(_translate("WidgetLCDefineDegradation", "Artificial area", None))
        item = self.deg_def_matrix.horizontalHeaderItem(5)
        item.setText(_translate("WidgetLCDefineDegradation", "Other land", None))
        item = self.deg_def_matrix.horizontalHeaderItem(6)
        item.setText(_translate("WidgetLCDefineDegradation", "Water body", None))
        __sortingEnabled = self.deg_def_matrix.isSortingEnabled()
        self.deg_def_matrix.setSortingEnabled(False)
        self.deg_def_matrix.setSortingEnabled(__sortingEnabled)
        self.groupBox_2.setTitle(_translate("WidgetLCDefineDegradation", "Legend", None))
        self.label.setText(_translate("WidgetLCDefineDegradation", "Degradation", None))
        self.label_6.setText(_translate("WidgetLCDefineDegradation", "Improvement", None))
        self.label_5.setText(_translate("WidgetLCDefineDegradation", "*The \"Grassland\" class consists of grassland, shrub, and sparsely vegetated areas (if the default aggregation is used).", None))
        self.label_7.setText(_translate("WidgetLCDefineDegradation", "Stable", None))
        self.btn_transmatrix_savefile.setText(_translate("WidgetLCDefineDegradation", "Save table to file...", None))
        self.btn_transmatrix_reset.setText(_translate("WidgetLCDefineDegradation", "Reset table", None))
        self.btn_transmatrix_loadfile.setText(_translate("WidgetLCDefineDegradation", "Load saved table...", None))

