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

# Form implementation generated from reading ui file 'LDMP/gui\WidgetDatasetItemDetails.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_WidgetDatasetItemDetails(object):
    def setupUi(self, WidgetDatasetItemDetails):
        WidgetDatasetItemDetails.setObjectName("WidgetDatasetItemDetails")
        WidgetDatasetItemDetails.resize(796, 956)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(WidgetDatasetItemDetails.sizePolicy().hasHeightForWidth())
        WidgetDatasetItemDetails.setSizePolicy(sizePolicy)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(WidgetDatasetItemDetails)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.state_le = QtWidgets.QLineEdit(WidgetDatasetItemDetails)
        self.state_le.setReadOnly(True)
        self.state_le.setObjectName("state_le")
        self.gridLayout.addWidget(self.state_le, 2, 1, 1, 1)
        self.label_5 = QtWidgets.QLabel(WidgetDatasetItemDetails)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1)
        self.label = QtWidgets.QLabel(WidgetDatasetItemDetails)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 3, 0, 1, 1)
        self.created_at_le = QtWidgets.QLineEdit(WidgetDatasetItemDetails)
        self.created_at_le.setReadOnly(True)
        self.created_at_le.setObjectName("created_at_le")
        self.gridLayout.addWidget(self.created_at_le, 3, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(WidgetDatasetItemDetails)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 4, 0, 1, 1)
        self.label_3 = QtWidgets.QLabel(WidgetDatasetItemDetails)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
        self.name_le = QtWidgets.QLineEdit(WidgetDatasetItemDetails)
        self.name_le.setReadOnly(True)
        self.name_le.setObjectName("name_le")
        self.gridLayout.addWidget(self.name_le, 0, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(WidgetDatasetItemDetails)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 5, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.path_le = QtWidgets.QLineEdit(WidgetDatasetItemDetails)
        self.path_le.setReadOnly(True)
        self.path_le.setObjectName("path_le")
        self.horizontalLayout_2.addWidget(self.path_le)
        self.open_directory_btn = QtWidgets.QToolButton(WidgetDatasetItemDetails)
        self.open_directory_btn.setObjectName("open_directory_btn")
        self.horizontalLayout_2.addWidget(self.open_directory_btn)
        self.gridLayout.addLayout(self.horizontalLayout_2, 4, 1, 1, 1)
        self.alg_le = QtWidgets.QLineEdit(WidgetDatasetItemDetails)
        self.alg_le.setReadOnly(True)
        self.alg_le.setObjectName("alg_le")
        self.gridLayout.addWidget(self.alg_le, 5, 1, 1, 1)
        self.label_6 = QtWidgets.QLabel(WidgetDatasetItemDetails)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 1, 0, 1, 1)
        self.id_le = QtWidgets.QLineEdit(WidgetDatasetItemDetails)
        self.id_le.setReadOnly(True)
        self.id_le.setObjectName("id_le")
        self.gridLayout.addWidget(self.id_le, 1, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.alg_box = QgsCollapsibleGroupBox(WidgetDatasetItemDetails)
        self.alg_box.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.alg_box.sizePolicy().hasHeightForWidth())
        self.alg_box.setSizePolicy(sizePolicy)
        self.alg_box.setCollapsed(False)
        self.alg_box.setObjectName("alg_box")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.alg_box)
        self.verticalLayout.setObjectName("verticalLayout")
        self.commentsLabel = QtWidgets.QLabel(self.alg_box)
        self.commentsLabel.setObjectName("commentsLabel")
        self.verticalLayout.addWidget(self.commentsLabel)
        self.comments = QtWidgets.QTextBrowser(self.alg_box)
        self.comments.setMinimumSize(QtCore.QSize(400, 0))
        self.comments.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.comments.setOpenExternalLinks(True)
        self.comments.setObjectName("comments")
        self.verticalLayout.addWidget(self.comments)
        self.inputLabel = QtWidgets.QLabel(self.alg_box)
        self.inputLabel.setObjectName("inputLabel")
        self.verticalLayout.addWidget(self.inputLabel)
        self.input = QtWidgets.QTextBrowser(self.alg_box)
        self.input.setMinimumSize(QtCore.QSize(400, 0))
        self.input.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.input.setObjectName("input")
        self.verticalLayout.addWidget(self.input)
        self.outputLabel = QtWidgets.QLabel(self.alg_box)
        self.outputLabel.setObjectName("outputLabel")
        self.verticalLayout.addWidget(self.outputLabel)
        self.output = QtWidgets.QTextBrowser(self.alg_box)
        self.output.setMinimumSize(QtCore.QSize(400, 0))
        self.output.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.output.setObjectName("output")
        self.verticalLayout.addWidget(self.output)
        self.verticalLayout_2.addWidget(self.alg_box)
        spacerItem = QtWidgets.QSpacerItem(20, 36, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.delete_btn = QtWidgets.QPushButton(WidgetDatasetItemDetails)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("LDMP/gui\\../icons/symbologyAdd.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.delete_btn.setIcon(icon)
        self.delete_btn.setObjectName("delete_btn")
        self.horizontalLayout.addWidget(self.delete_btn)
        self.export_btn = QtWidgets.QPushButton(WidgetDatasetItemDetails)
        self.export_btn.setObjectName("export_btn")
        self.horizontalLayout.addWidget(self.export_btn)
        self.load_btn = QtWidgets.QPushButton(WidgetDatasetItemDetails)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap("LDMP/gui\\../icons/mActionIdentify.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.load_btn.setIcon(icon1)
        self.load_btn.setObjectName("load_btn")
        self.horizontalLayout.addWidget(self.load_btn)
        self.verticalLayout_2.addLayout(self.horizontalLayout)

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

    def retranslateUi(self, WidgetDatasetItemDetails):
        _translate = QtCore.QCoreApplication.translate
        WidgetDatasetItemDetails.setWindowTitle(_translate("WidgetDatasetItemDetails", "Dataset Details"))
        self.label_5.setText(_translate("WidgetDatasetItemDetails", "State"))
        self.label.setText(_translate("WidgetDatasetItemDetails", "Created at"))
        self.label_2.setText(_translate("WidgetDatasetItemDetails", "Available paths"))
        self.label_3.setText(_translate("WidgetDatasetItemDetails", "Name"))
        self.label_4.setText(_translate("WidgetDatasetItemDetails", "Generated by algorithm"))
        self.open_directory_btn.setText(_translate("WidgetDatasetItemDetails", "..."))
        self.label_6.setText(_translate("WidgetDatasetItemDetails", "ID"))
        self.alg_box.setTitle(_translate("WidgetDatasetItemDetails", "Algorithm Details"))
        self.commentsLabel.setText(_translate("WidgetDatasetItemDetails", "Comments:"))
        self.comments.setHtml(_translate("WidgetDatasetItemDetails", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:12pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>"))
        self.inputLabel.setText(_translate("WidgetDatasetItemDetails", "Input:"))
        self.outputLabel.setText(_translate("WidgetDatasetItemDetails", "Output:"))
        self.delete_btn.setText(_translate("WidgetDatasetItemDetails", "Delete dataset"))
        self.export_btn.setText(_translate("WidgetDatasetItemDetails", "Export as a ZIP"))
        self.load_btn.setText(_translate("WidgetDatasetItemDetails", "Load Dataset"))
from qgis.gui import QgsCollapsibleGroupBox


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    WidgetDatasetItemDetails = QtWidgets.QWidget()
    ui = Ui_WidgetDatasetItemDetails()
    ui.setupUi(WidgetDatasetItemDetails)
    WidgetDatasetItemDetails.show()
    sys.exit(app.exec_())
