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

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

    def retranslateUi(self, DlgLoadDataLC):
        DlgLoadDataLC.setWindowTitle(_translate("DlgLoadDataLC", "Load a Custom Land Cover Dataset", None))
        self.groupBox_lc_agg.setTitle(_translate("DlgLoadDataLC", "Choose a land cover aggregation method", None))
        self.btn_agg_edit_def.setText(_translate("DlgLoadDataLC", "Edit definition", None))
        self.checkBox_use_sample.setText(_translate("DlgLoadDataLC", "Use sample when reading cover classes from input file", None))
        self.label.setText(_translate("DlgLoadDataLC", "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))

