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

# Form implementation generated from reading ui file 'LDMP/gui\DlgDataIOImportProd.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_DlgDataIOImportProd(object):
    def setupUi(self, DlgDataIOImportProd):
        DlgDataIOImportProd.setObjectName(_fromUtf8("DlgDataIOImportProd"))
        DlgDataIOImportProd.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgDataIOImportProd.resize(489, 200)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgDataIOImportProd.sizePolicy().hasHeightForWidth())
        DlgDataIOImportProd.setSizePolicy(sizePolicy)
        DlgDataIOImportProd.setModal(True)
        self.verticalLayout = QtGui.QVBoxLayout(DlgDataIOImportProd)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox_lc_agg = QtGui.QGroupBox(DlgDataIOImportProd)
        self.groupBox_lc_agg.setEnabled(True)
        self.groupBox_lc_agg.setObjectName(_fromUtf8("groupBox_lc_agg"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_lc_agg)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.textBrowser = QtGui.QTextBrowser(self.groupBox_lc_agg)
        self.textBrowser.setMinimumSize(QtCore.QSize(0, 120))
        self.textBrowser.setAutoFillBackground(False)
        self.textBrowser.setFrameShape(QtGui.QFrame.StyledPanel)
        self.textBrowser.setObjectName(_fromUtf8("textBrowser"))
        self.gridLayout_2.addWidget(self.textBrowser, 0, 0, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_lc_agg)
        self.btnBox = QtGui.QDialogButtonBox(DlgDataIOImportProd)
        self.btnBox.setOrientation(QtCore.Qt.Horizontal)
        self.btnBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.btnBox.setObjectName(_fromUtf8("btnBox"))
        self.verticalLayout.addWidget(self.btnBox)

        self.retranslateUi(DlgDataIOImportProd)
        QtCore.QObject.connect(self.btnBox, QtCore.SIGNAL(_fromUtf8("accepted()")), DlgDataIOImportProd.accept)
        QtCore.QObject.connect(self.btnBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DlgDataIOImportProd.reject)
        QtCore.QMetaObject.connectSlotsByName(DlgDataIOImportProd)

    def retranslateUi(self, DlgDataIOImportProd):
        DlgDataIOImportProd.setWindowTitle(_translate("DlgDataIOImportProd", "Load a Custom Land Productivity Dataset", None))
        self.groupBox_lc_agg.setTitle(_translate("DlgDataIOImportProd", "Productivity class definition", None))
        self.textBrowser.setHtml(_translate("DlgDataIOImportProd", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt; font-weight:600;\">Productivity classes in the input data must be coded as follows:</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">1: Declining</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">2: Early signs of decline</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">3: Stable but stressed</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">4: Stable</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">5: Increasing</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">0 or -32768: No data</span></p></body></html>", None))


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

