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

# Form implementation generated from reading ui file 'LDMP/gui\DlgImportDataProd.ui'
#
# Created: Sat Apr 07 22:23:40 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_DlgImportProd(object):
    def setupUi(self, DlgImportProd):
        DlgImportProd.setObjectName(_fromUtf8("DlgImportProd"))
        DlgImportProd.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgImportProd.resize(700, 279)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgImportProd.sizePolicy().hasHeightForWidth())
        DlgImportProd.setSizePolicy(sizePolicy)
        DlgImportProd.setModal(True)
        self.verticalLayout = QtGui.QVBoxLayout(DlgImportProd)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox_lc_agg = QtGui.QGroupBox(DlgImportProd)
        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(DlgImportProd)
        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(DlgImportProd)
        QtCore.QObject.connect(self.btnBox, QtCore.SIGNAL(_fromUtf8("accepted()")), DlgImportProd.accept)
        QtCore.QObject.connect(self.btnBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DlgImportProd.reject)
        QtCore.QMetaObject.connectSlotsByName(DlgImportProd)

    def retranslateUi(self, DlgImportProd):
        DlgImportProd.setWindowTitle(_translate("DlgImportProd", "Load a Custom Land Productivity Dataset", None))
        self.groupBox_lc_agg.setTitle(_translate("DlgImportProd", "Productivity class definition", None))
        self.textBrowser.setHtml(_translate("DlgImportProd", "<!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)
    DlgImportProd = QtGui.QDialog()
    ui = Ui_DlgImportProd()
    ui.setupUi(DlgImportProd)
    DlgImportProd.show()
    sys.exit(app.exec_())

