# -*- 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(496, 193)
        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.gridLayout_2 = QtGui.QGridLayout(self.groupBox_lc_agg)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.btn_agg_edit_def = QtGui.QPushButton(self.groupBox_lc_agg)
        self.btn_agg_edit_def.setEnabled(True)
        self.btn_agg_edit_def.setMinimumSize(QtCore.QSize(100, 30))
        self.btn_agg_edit_def.setMaximumSize(QtCore.QSize(150, 16777215))
        self.btn_agg_edit_def.setObjectName(_fromUtf8("btn_agg_edit_def"))
        self.gridLayout_2.addWidget(self.btn_agg_edit_def, 1, 0, 1, 1)
        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))

