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

# Form implementation generated from reading ui file 'LDMP/gui\DlgDataIO.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_DlgDataIO(object):
    def setupUi(self, DlgDataIO):
        DlgDataIO.setObjectName(_fromUtf8("DlgDataIO"))
        DlgDataIO.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgDataIO.resize(476, 201)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgDataIO.sizePolicy().hasHeightForWidth())
        DlgDataIO.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(DlgDataIO)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox_2 = QtGui.QGroupBox(DlgDataIO)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btn_te = QtGui.QPushButton(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_te.sizePolicy().hasHeightForWidth())
        self.btn_te.setSizePolicy(sizePolicy)
        self.btn_te.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_te.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_te.setFont(font)
        self.btn_te.setObjectName(_fromUtf8("btn_te"))
        self.horizontalLayout_2.addWidget(self.btn_te)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.groupBox = QtGui.QGroupBox(DlgDataIO)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.btn_prod = QtGui.QPushButton(self.groupBox)
        self.btn_prod.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_prod.setObjectName(_fromUtf8("btn_prod"))
        self.horizontalLayout.addWidget(self.btn_prod)
        self.btn_lc = QtGui.QPushButton(self.groupBox)
        self.btn_lc.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_lc.setObjectName(_fromUtf8("btn_lc"))
        self.horizontalLayout.addWidget(self.btn_lc)
        self.btn_soc = QtGui.QPushButton(self.groupBox)
        self.btn_soc.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_soc.setObjectName(_fromUtf8("btn_soc"))
        self.horizontalLayout.addWidget(self.btn_soc)
        self.verticalLayout.addWidget(self.groupBox)

        self.retranslateUi(DlgDataIO)
        QtCore.QMetaObject.connectSlotsByName(DlgDataIO)

    def retranslateUi(self, DlgDataIO):
        DlgDataIO.setWindowTitle(_translate("DlgDataIO", "Load data", None))
        self.groupBox_2.setTitle(_translate("DlgDataIO", "Load a dataset produced by TRENDS.EARTH", None))
        self.btn_te.setText(_translate("DlgDataIO", "Load an existing TRENDS.EARTH output file", None))
        self.groupBox.setTitle(_translate("DlgDataIO", "Import a custom input dataset", None))
        self.btn_prod.setText(_translate("DlgDataIO", "Productivity", None))
        self.btn_lc.setText(_translate("DlgDataIO", "Land cover", None))
        self.btn_soc.setText(_translate("DlgDataIO", "Soil organic carbon", None))


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

