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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateUrbanSummaryTable.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_DlgCalculateUrbanSummaryTable(object):
    def setupUi(self, DlgCalculateUrbanSummaryTable):
        DlgCalculateUrbanSummaryTable.setObjectName("DlgCalculateUrbanSummaryTable")
        DlgCalculateUrbanSummaryTable.resize(671, 456)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateUrbanSummaryTable.sizePolicy().hasHeightForWidth())
        DlgCalculateUrbanSummaryTable.setSizePolicy(sizePolicy)
        self.verticalLayout = QtWidgets.QVBoxLayout(DlgCalculateUrbanSummaryTable)
        self.verticalLayout.setObjectName("verticalLayout")
        self.splitter = QtWidgets.QSplitter(DlgCalculateUrbanSummaryTable)
        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(9, 0, 9, 4)
        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, 361, 401))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        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_2 = QtWidgets.QVBoxLayout(self.setup_frame)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.groupBox_2 = QtWidgets.QGroupBox(self.setup_frame)
        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.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.groupBox_2.setFont(font)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.combo_layer_urban_series = WidgetDataIOSelectTELayerExisting(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_urban_series.sizePolicy().hasHeightForWidth())
        self.combo_layer_urban_series.setSizePolicy(sizePolicy)
        self.combo_layer_urban_series.setMinimumSize(QtCore.QSize(0, 30))
        self.combo_layer_urban_series.setProperty("layer_type", "Urban series")
        self.combo_layer_urban_series.setObjectName("combo_layer_urban_series")
        self.verticalLayout_6.addWidget(self.combo_layer_urban_series)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.verticalLayout_4.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_4.addLayout(self.horizontalLayout)
        self.execution_name_la = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.execution_name_la.setObjectName("execution_name_la")
        self.verticalLayout_4.addWidget(self.execution_name_la)
        self.execution_name_le = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.execution_name_le.setObjectName("execution_name_le")
        self.verticalLayout_4.addWidget(self.execution_name_le)
        self.task_notes_la = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.task_notes_la.setObjectName("task_notes_la")
        self.verticalLayout_4.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_4.addWidget(self.task_notes)
        spacerItem = QtWidgets.QSpacerItem(20, 63, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_4.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(True)
        self.alg_help.setObjectName("alg_help")
        self.verticalLayout.addWidget(self.splitter)
        self.button_box = QtWidgets.QDialogButtonBox(DlgCalculateUrbanSummaryTable)
        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(DlgCalculateUrbanSummaryTable)
        self.button_box.accepted.connect(DlgCalculateUrbanSummaryTable.accept)
        self.button_box.rejected.connect(DlgCalculateUrbanSummaryTable.reject)
        QtCore.QMetaObject.connectSlotsByName(DlgCalculateUrbanSummaryTable)

    def retranslateUi(self, DlgCalculateUrbanSummaryTable):
        _translate = QtCore.QCoreApplication.translate
        DlgCalculateUrbanSummaryTable.setWindowTitle(_translate("DlgCalculateUrbanSummaryTable", "Urban Change Summary Table | Urban Change and Land Consumption"))
        self.groupBox_2.setTitle(_translate("DlgCalculateUrbanSummaryTable", "Urban series"))
        self.region_la.setToolTip(_translate("DlgCalculateUrbanSummaryTable", "The current selected region of interest"))
        self.region_button.setToolTip(_translate("DlgCalculateUrbanSummaryTable", "<html><head/><body><p>Opens settings dialog in order to change region of interest.</p></body></html>"))
        self.region_button.setText(_translate("DlgCalculateUrbanSummaryTable", "Change region"))
        self.execution_name_la.setText(_translate("DlgCalculateUrbanSummaryTable", "Execution name:"))
        self.execution_name_le.setToolTip(_translate("DlgCalculateUrbanSummaryTable", "<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("DlgCalculateUrbanSummaryTable", "Notes:"))
        self.task_notes.setToolTip(_translate("DlgCalculateUrbanSummaryTable", "User notes associated with the executed task."))
        self.alg_help.setHtml(_translate("DlgCalculateUrbanSummaryTable", "<!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;\">Urban 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;\">Summary for SDG 11.3.1 Indicator for ratio of land consumption rate to population growth rate.</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;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a href=\"http://trends.earth/docs/en/background/understanding_indicators11.html#\"><span style=\" text-decoration: underline; color:#0000ff;\">More information</span></a></p></body></html>"))
from LDMP.data_io import WidgetDataIOSelectTELayerExisting


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