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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateTCSummaryTable.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_DlgCalculateTCSummaryTable(object):
    def setupUi(self, DlgCalculateTCSummaryTable):
        DlgCalculateTCSummaryTable.setObjectName("DlgCalculateTCSummaryTable")
        DlgCalculateTCSummaryTable.resize(686, 536)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateTCSummaryTable.sizePolicy().hasHeightForWidth())
        DlgCalculateTCSummaryTable.setSizePolicy(sizePolicy)
        self.verticalLayout = QtWidgets.QVBoxLayout(DlgCalculateTCSummaryTable)
        self.verticalLayout.setObjectName("verticalLayout")
        self.splitter = QtWidgets.QSplitter(DlgCalculateTCSummaryTable)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setHandleWidth(16)
        self.splitter.setObjectName("splitter")
        self.configurations = QtWidgets.QFrame(self.splitter)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(2)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.configurations.sizePolicy().hasHeightForWidth())
        self.configurations.setSizePolicy(sizePolicy)
        self.configurations.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.configurations.setFrameShadow(QtWidgets.QFrame.Raised)
        self.configurations.setObjectName("configurations")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.configurations)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.scrollArea = QtWidgets.QScrollArea(self.configurations)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 394, 485))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.setup_frame = QtWidgets.QFrame(self.scrollAreaWidgetContents)
        self.setup_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.setup_frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.setup_frame.setObjectName("setup_frame")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.setup_frame)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.groupBox_3 = QtWidgets.QGroupBox(self.setup_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_3.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.groupBox_3.setFont(font)
        self.groupBox_3.setObjectName("groupBox_3")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.combo_layer_f_loss = WidgetDataIOSelectTELayerExisting(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_f_loss.sizePolicy().hasHeightForWidth())
        self.combo_layer_f_loss.setSizePolicy(sizePolicy)
        self.combo_layer_f_loss.setMinimumSize(QtCore.QSize(0, 30))
        self.combo_layer_f_loss.setProperty("layer_type", "Forest loss")
        self.combo_layer_f_loss.setObjectName("combo_layer_f_loss")
        self.verticalLayout_7.addWidget(self.combo_layer_f_loss)
        self.verticalLayout_4.addWidget(self.groupBox_3)
        self.groupBox_4 = QtWidgets.QGroupBox(self.setup_frame)
        self.groupBox_4.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_4.sizePolicy().hasHeightForWidth())
        self.groupBox_4.setSizePolicy(sizePolicy)
        self.groupBox_4.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.groupBox_4.setFont(font)
        self.groupBox_4.setObjectName("groupBox_4")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.combo_layer_tc = WidgetDataIOSelectTELayerExisting(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_tc.sizePolicy().hasHeightForWidth())
        self.combo_layer_tc.setSizePolicy(sizePolicy)
        self.combo_layer_tc.setMinimumSize(QtCore.QSize(275, 30))
        self.combo_layer_tc.setProperty("layer_type", "Total carbon")
        self.combo_layer_tc.setObjectName("combo_layer_tc")
        self.verticalLayout_8.addWidget(self.combo_layer_tc)
        self.verticalLayout_4.addWidget(self.groupBox_4)
        self.verticalLayout_2.addWidget(self.setup_frame)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setContentsMargins(5, -1, 9, 4)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.region_la = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.region_la.setText("")
        self.region_la.setWordWrap(True)
        self.region_la.setObjectName("region_la")
        self.horizontalLayout.addWidget(self.region_la)
        self.region_button = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        self.region_button.setObjectName("region_button")
        self.horizontalLayout.addWidget(self.region_button)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.execution_name_la = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.execution_name_la.setObjectName("execution_name_la")
        self.verticalLayout_2.addWidget(self.execution_name_la)
        self.execution_name_le = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.execution_name_le.setObjectName("execution_name_le")
        self.verticalLayout_2.addWidget(self.execution_name_le)
        self.task_notes_la = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.task_notes_la.setObjectName("task_notes_la")
        self.verticalLayout_2.addWidget(self.task_notes_la)
        self.task_notes = QtWidgets.QTextEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.task_notes.sizePolicy().hasHeightForWidth())
        self.task_notes.setSizePolicy(sizePolicy)
        self.task_notes.setMinimumSize(QtCore.QSize(0, 0))
        self.task_notes.setMaximumSize(QtCore.QSize(16777215, 100))
        self.task_notes.setObjectName("task_notes")
        self.verticalLayout_2.addWidget(self.task_notes)
        spacerItem = QtWidgets.QSpacerItem(20, 67, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_3.addWidget(self.scrollArea)
        self.alg_help = QtWidgets.QTextBrowser(self.splitter)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.alg_help.sizePolicy().hasHeightForWidth())
        self.alg_help.setSizePolicy(sizePolicy)
        self.alg_help.setAccessibleName("")
        self.alg_help.setOpenExternalLinks(True)
        self.alg_help.setOpenLinks(False)
        self.alg_help.setObjectName("alg_help")
        self.verticalLayout.addWidget(self.splitter)
        self.button_box = QtWidgets.QDialogButtonBox(DlgCalculateTCSummaryTable)
        self.button_box.setOrientation(QtCore.Qt.Horizontal)
        self.button_box.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Help|QtWidgets.QDialogButtonBox.Ok)
        self.button_box.setObjectName("button_box")
        self.verticalLayout.addWidget(self.button_box)

        self.retranslateUi(DlgCalculateTCSummaryTable)
        self.button_box.accepted.connect(DlgCalculateTCSummaryTable.accept)
        self.button_box.rejected.connect(DlgCalculateTCSummaryTable.reject)
        QtCore.QMetaObject.connectSlotsByName(DlgCalculateTCSummaryTable)

    def retranslateUi(self, DlgCalculateTCSummaryTable):
        _translate = QtCore.QCoreApplication.translate
        DlgCalculateTCSummaryTable.setWindowTitle(_translate("DlgCalculateTCSummaryTable", "Carbon Change Summary Table | Total Carbon"))
        self.groupBox_3.setTitle(_translate("DlgCalculateTCSummaryTable", "Forest loss"))
        self.groupBox_4.setTitle(_translate("DlgCalculateTCSummaryTable", "Total carbon"))
        self.region_la.setToolTip(_translate("DlgCalculateTCSummaryTable", "The current selected region of interest"))
        self.region_button.setToolTip(_translate("DlgCalculateTCSummaryTable", "<html><head/><body><p>Opens settings dialog in order to change region of interest.</p></body></html>"))
        self.region_button.setText(_translate("DlgCalculateTCSummaryTable", "Change region"))
        self.execution_name_la.setText(_translate("DlgCalculateTCSummaryTable", "Execution name:"))
        self.execution_name_le.setToolTip(_translate("DlgCalculateTCSummaryTable", "<html><head/><body><p>Input for the name that will be assigned to the execution task, if not filled the algorithm name will be used as the task name.</p></body></html>"))
        self.task_notes_la.setText(_translate("DlgCalculateTCSummaryTable", "Notes:"))
        self.task_notes.setToolTip(_translate("DlgCalculateTCSummaryTable", "User notes associated with the executed task."))
        self.alg_help.setHtml(_translate("DlgCalculateTCSummaryTable", "<!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:\'Ubuntu\'; font-size:11pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Carbon Change Summary Table</span></p>\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-weight:600;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Algorithm for summary of the calculation above and below ground emissions from deforestation.</p>\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-weight:600;\"><br /></p></body></html>"))
from LDMP.data_io import WidgetDataIOSelectTELayerExisting


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