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

# Form implementation generated from reading ui file 'LDMP/gui\DlgImportDataLC.ui'
#
# Created: Sat Apr 07 22:23:39 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_DlgImportLC(object):
    def setupUi(self, DlgImportLC):
        DlgImportLC.setObjectName(_fromUtf8("DlgImportLC"))
        DlgImportLC.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgImportLC.resize(700, 352)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgImportLC.sizePolicy().hasHeightForWidth())
        DlgImportLC.setSizePolicy(sizePolicy)
        DlgImportLC.setModal(True)
        self.verticalLayout = QtGui.QVBoxLayout(DlgImportLC)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox_lc_agg = QtGui.QGroupBox(DlgImportLC)
        self.groupBox_lc_agg.setEnabled(True)
        self.groupBox_lc_agg.setObjectName(_fromUtf8("groupBox_lc_agg"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_lc_agg)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.btn_agg_edit_def = QtGui.QPushButton(self.groupBox_lc_agg)
        self.btn_agg_edit_def.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_agg_edit_def.sizePolicy().hasHeightForWidth())
        self.btn_agg_edit_def.setSizePolicy(sizePolicy)
        self.btn_agg_edit_def.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_agg_edit_def.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.btn_agg_edit_def.setObjectName(_fromUtf8("btn_agg_edit_def"))
        self.verticalLayout_2.addWidget(self.btn_agg_edit_def)
        self.checkBox_use_sample = QtGui.QCheckBox(self.groupBox_lc_agg)
        self.checkBox_use_sample.setChecked(True)
        self.checkBox_use_sample.setObjectName(_fromUtf8("checkBox_use_sample"))
        self.verticalLayout_2.addWidget(self.checkBox_use_sample)
        self.label = QtGui.QLabel(self.groupBox_lc_agg)
        self.label.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setMinimumSize(QtCore.QSize(0, 0))
        self.label.setBaseSize(QtCore.QSize(0, 0))
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_2.addWidget(self.label)
        self.verticalLayout.addWidget(self.groupBox_lc_agg)
        self.btnBox = QtGui.QDialogButtonBox(DlgImportLC)
        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(DlgImportLC)
        QtCore.QObject.connect(self.btnBox, QtCore.SIGNAL(_fromUtf8("accepted()")), DlgImportLC.accept)
        QtCore.QObject.connect(self.btnBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DlgImportLC.reject)
        QtCore.QMetaObject.connectSlotsByName(DlgImportLC)

    def retranslateUi(self, DlgImportLC):
        DlgImportLC.setWindowTitle(_translate("DlgImportLC", "Load a Custom Land Cover Dataset", None))
        self.groupBox_lc_agg.setTitle(_translate("DlgImportLC", "Choose a land cover aggregation method", None))
        self.btn_agg_edit_def.setText(_translate("DlgImportLC", "Edit definition", None))
        self.checkBox_use_sample.setText(_translate("DlgImportLC", "Use sample when reading cover classes from input file", None))
        self.label.setText(_translate("DlgImportLC", "Note: If reading a large file it is recommended that the above option be checked, as it will singificantly speed the process of reading the input classes from the dataset. However, if you find that Trends.Earth is not identifying all of the classes in the input file, it may be necessary to turn off this option.", None))


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

