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

# Form implementation generated from reading ui file 'LDMP/gui\DlgDataIOLoadTE.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_DlgDataIOLoadTE(object):
    def setupUi(self, DlgDataIOLoadTE):
        DlgDataIOLoadTE.setObjectName("DlgDataIOLoadTE")
        DlgDataIOLoadTE.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgDataIOLoadTE.resize(890, 238)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgDataIOLoadTE.sizePolicy().hasHeightForWidth())
        DlgDataIOLoadTE.setSizePolicy(sizePolicy)
        self.verticalLayout = QtWidgets.QVBoxLayout(DlgDataIOLoadTE)
        self.verticalLayout.setObjectName("verticalLayout")
        self.data_file_box = QtWidgets.QGroupBox(DlgDataIOLoadTE)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.data_file_box.sizePolicy().hasHeightForWidth())
        self.data_file_box.setSizePolicy(sizePolicy)
        self.data_file_box.setObjectName("data_file_box")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.data_file_box)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.file_lineedit = QtWidgets.QLineEdit(self.data_file_box)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.file_lineedit.sizePolicy().hasHeightForWidth())
        self.file_lineedit.setSizePolicy(sizePolicy)
        self.file_lineedit.setMinimumSize(QtCore.QSize(0, 30))
        self.file_lineedit.setReadOnly(True)
        self.file_lineedit.setObjectName("file_lineedit")
        self.horizontalLayout.addWidget(self.file_lineedit)
        self.file_browse_btn = QtWidgets.QPushButton(self.data_file_box)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.file_browse_btn.sizePolicy().hasHeightForWidth())
        self.file_browse_btn.setSizePolicy(sizePolicy)
        self.file_browse_btn.setMinimumSize(QtCore.QSize(0, 30))
        self.file_browse_btn.setObjectName("file_browse_btn")
        self.horizontalLayout.addWidget(self.file_browse_btn)
        self.verticalLayout.addWidget(self.data_file_box)
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.parsed_name_la = QtWidgets.QLabel(DlgDataIOLoadTE)
        self.parsed_name_la.setObjectName("parsed_name_la")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.parsed_name_la)
        self.parsed_name_le = QtWidgets.QLineEdit(DlgDataIOLoadTE)
        self.parsed_name_le.setReadOnly(True)
        self.parsed_name_le.setObjectName("parsed_name_le")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.parsed_name_le)
        self.parsed_result_la = QtWidgets.QLabel(DlgDataIOLoadTE)
        self.parsed_result_la.setObjectName("parsed_result_la")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.parsed_result_la)
        self.parsed_result_path_le = QtWidgets.QLineEdit(DlgDataIOLoadTE)
        self.parsed_result_path_le.setReadOnly(True)
        self.parsed_result_path_le.setObjectName("parsed_result_path_le")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.parsed_result_path_le)
        self.verticalLayout.addLayout(self.formLayout)
        spacerItem = QtWidgets.QSpacerItem(20, 42, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.buttonBox = QtWidgets.QDialogButtonBox(DlgDataIOLoadTE)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

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

    def retranslateUi(self, DlgDataIOLoadTE):
        _translate = QtCore.QCoreApplication.translate
        DlgDataIOLoadTE.setWindowTitle(_translate("DlgDataIOLoadTE", "Import known Trends.Earth file"))
        self.data_file_box.setTitle(_translate("DlgDataIOLoadTE", "Select a file"))
        self.file_lineedit.setPlaceholderText(_translate("DlgDataIOLoadTE", "Click \"Browse\" to choose a file..."))
        self.file_browse_btn.setText(_translate("DlgDataIOLoadTE", "Browse..."))
        self.parsed_name_la.setText(_translate("DlgDataIOLoadTE", "Name"))
        self.parsed_result_la.setText(_translate("DlgDataIOLoadTE", "Referenced dataset"))


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