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

# Form implementation generated from reading ui file 'LDMP/gui\DlgDataIO.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_DlgDataIO(object):
    def setupUi(self, DlgDataIO):
        DlgDataIO.setObjectName("DlgDataIO")
        DlgDataIO.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgDataIO.resize(362, 150)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgDataIO.sizePolicy().hasHeightForWidth())
        DlgDataIO.setSizePolicy(sizePolicy)
        self.verticalLayout = QtWidgets.QVBoxLayout(DlgDataIO)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox_2 = QtWidgets.QGroupBox(DlgDataIO)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName("groupBox_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.btn_te = QtWidgets.QPushButton(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        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("btn_te")
        self.horizontalLayout_2.addWidget(self.btn_te)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.groupBox = QtWidgets.QGroupBox(DlgDataIO)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.btn_prod = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_prod.sizePolicy().hasHeightForWidth())
        self.btn_prod.setSizePolicy(sizePolicy)
        self.btn_prod.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_prod.setObjectName("btn_prod")
        self.horizontalLayout.addWidget(self.btn_prod)
        self.btn_lc = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_lc.sizePolicy().hasHeightForWidth())
        self.btn_lc.setSizePolicy(sizePolicy)
        self.btn_lc.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_lc.setObjectName("btn_lc")
        self.horizontalLayout.addWidget(self.btn_lc)
        self.btn_soc = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_soc.sizePolicy().hasHeightForWidth())
        self.btn_soc.setSizePolicy(sizePolicy)
        self.btn_soc.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_soc.setObjectName("btn_soc")
        self.horizontalLayout.addWidget(self.btn_soc)
        self.verticalLayout.addWidget(self.groupBox)

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

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


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