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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateUrbanData.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_DlgCalculateUrbanData(object):
    def setupUi(self, DlgCalculateUrbanData):
        DlgCalculateUrbanData.setObjectName("DlgCalculateUrbanData")
        DlgCalculateUrbanData.resize(956, 612)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateUrbanData.sizePolicy().hasHeightForWidth())
        DlgCalculateUrbanData.setSizePolicy(sizePolicy)
        self.verticalLayout = QtWidgets.QVBoxLayout(DlgCalculateUrbanData)
        self.verticalLayout.setObjectName("verticalLayout")
        self.splitter = QtWidgets.QSplitter(DlgCalculateUrbanData)
        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, 632, 563))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        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 = QtWidgets.QGroupBox(self.setup_frame)
        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.gridLayout = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.spinBox_isi_thr = QtWidgets.QSpinBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBox_isi_thr.sizePolicy().hasHeightForWidth())
        self.spinBox_isi_thr.setSizePolicy(sizePolicy)
        self.spinBox_isi_thr.setMaximumSize(QtCore.QSize(80, 16777215))
        self.spinBox_isi_thr.setMaximum(100)
        self.spinBox_isi_thr.setProperty("value", 30)
        self.spinBox_isi_thr.setObjectName("spinBox_isi_thr")
        self.gridLayout.addWidget(self.spinBox_isi_thr, 2, 2, 1, 1)
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 2, 0, 1, 2)
        self.spinBox_ntl_thr = QtWidgets.QSpinBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBox_ntl_thr.sizePolicy().hasHeightForWidth())
        self.spinBox_ntl_thr.setSizePolicy(sizePolicy)
        self.spinBox_ntl_thr.setMaximumSize(QtCore.QSize(80, 16777215))
        self.spinBox_ntl_thr.setMaximum(100)
        self.spinBox_ntl_thr.setProperty("value", 10)
        self.spinBox_ntl_thr.setObjectName("spinBox_ntl_thr")
        self.gridLayout.addWidget(self.spinBox_ntl_thr, 4, 2, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setWordWrap(True)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 4, 0, 1, 2)
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setWordWrap(True)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 6, 0, 1, 2)
        self.spinBox_wat_thr = QtWidgets.QSpinBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBox_wat_thr.sizePolicy().hasHeightForWidth())
        self.spinBox_wat_thr.setSizePolicy(sizePolicy)
        self.spinBox_wat_thr.setMaximumSize(QtCore.QSize(80, 16777215))
        self.spinBox_wat_thr.setMaximum(100)
        self.spinBox_wat_thr.setProperty("value", 25)
        self.spinBox_wat_thr.setObjectName("spinBox_wat_thr")
        self.gridLayout.addWidget(self.spinBox_wat_thr, 6, 2, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setMinimumSize(QtCore.QSize(0, 0))
        self.label_4.setWordWrap(True)
        self.label_4.setOpenExternalLinks(True)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 1, 0, 1, 3)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.verticalLayout_5.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_5.addLayout(self.horizontalLayout)
        self.execution_name_la = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.execution_name_la.setObjectName("execution_name_la")
        self.verticalLayout_5.addWidget(self.execution_name_la)
        self.execution_name_le = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.execution_name_le.setObjectName("execution_name_le")
        self.verticalLayout_5.addWidget(self.execution_name_le)
        self.task_notes_la = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.task_notes_la.setObjectName("task_notes_la")
        self.verticalLayout_5.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_5.addWidget(self.task_notes)
        self.advance_configurations = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents)
        self.advance_configurations.setCollapsed(True)
        self.advance_configurations.setObjectName("advance_configurations")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.advance_configurations)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.groupBox_4 = QtWidgets.QGroupBox(self.advance_configurations)
        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.setObjectName("groupBox_4")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_6 = QtWidgets.QLabel(self.groupBox_4)
        self.label_6.setWordWrap(True)
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 2, 0, 1, 3)
        self.spinBox_pct_urban = QtWidgets.QSpinBox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBox_pct_urban.sizePolicy().hasHeightForWidth())
        self.spinBox_pct_urban.setSizePolicy(sizePolicy)
        self.spinBox_pct_urban.setMinimumSize(QtCore.QSize(0, 60))
        self.spinBox_pct_urban.setMaximumSize(QtCore.QSize(80, 16777215))
        self.spinBox_pct_urban.setMaximum(100)
        self.spinBox_pct_urban.setProperty("value", 50)
        self.spinBox_pct_urban.setObjectName("spinBox_pct_urban")
        self.gridLayout_2.addWidget(self.spinBox_pct_urban, 2, 3, 1, 1)
        self.spinBox_pct_suburban = QtWidgets.QSpinBox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBox_pct_suburban.sizePolicy().hasHeightForWidth())
        self.spinBox_pct_suburban.setSizePolicy(sizePolicy)
        self.spinBox_pct_suburban.setMinimumSize(QtCore.QSize(0, 60))
        self.spinBox_pct_suburban.setMaximumSize(QtCore.QSize(80, 16777215))
        self.spinBox_pct_suburban.setMaximum(100)
        self.spinBox_pct_suburban.setProperty("value", 25)
        self.spinBox_pct_suburban.setObjectName("spinBox_pct_suburban")
        self.gridLayout_2.addWidget(self.spinBox_pct_suburban, 0, 3, 1, 1, QtCore.Qt.AlignVCenter)
        self.label_7 = QtWidgets.QLabel(self.groupBox_4)
        self.label_7.setWordWrap(True)
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 0, 0, 1, 3)
        self.verticalLayout_4.addWidget(self.groupBox_4)
        self.groupBox_2 = QtWidgets.QGroupBox(self.advance_configurations)
        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_3 = QtWidgets.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_5 = QtWidgets.QLabel(self.groupBox_2)
        self.label_5.setWordWrap(True)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_3.addWidget(self.label_5)
        self.spinBox_cap_ope = QtWidgets.QSpinBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBox_cap_ope.sizePolicy().hasHeightForWidth())
        self.spinBox_cap_ope.setSizePolicy(sizePolicy)
        self.spinBox_cap_ope.setMinimumSize(QtCore.QSize(0, 60))
        self.spinBox_cap_ope.setMaximumSize(QtCore.QSize(80, 16777215))
        self.spinBox_cap_ope.setMaximum(1000000)
        self.spinBox_cap_ope.setProperty("value", 200)
        self.spinBox_cap_ope.setObjectName("spinBox_cap_ope")
        self.horizontalLayout_3.addWidget(self.spinBox_cap_ope)
        self.verticalLayout_4.addWidget(self.groupBox_2)
        self.groupBox_3 = QtWidgets.QGroupBox(self.advance_configurations)
        self.groupBox_3.setObjectName("groupBox_3")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.pop_unadjusted = QtWidgets.QRadioButton(self.groupBox_3)
        self.pop_unadjusted.setChecked(True)
        self.pop_unadjusted.setObjectName("pop_unadjusted")
        self.verticalLayout_6.addWidget(self.pop_unadjusted)
        self.pop_adjusted = QtWidgets.QRadioButton(self.groupBox_3)
        self.pop_adjusted.setObjectName("pop_adjusted")
        self.verticalLayout_6.addWidget(self.pop_adjusted)
        self.verticalLayout_4.addWidget(self.groupBox_3)
        self.verticalLayout_5.addWidget(self.advance_configurations)
        spacerItem = QtWidgets.QSpacerItem(20, 96, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_5.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(DlgCalculateUrbanData)
        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(DlgCalculateUrbanData)
        self.button_box.accepted.connect(DlgCalculateUrbanData.accept)
        QtCore.QMetaObject.connectSlotsByName(DlgCalculateUrbanData)

    def retranslateUi(self, DlgCalculateUrbanData):
        _translate = QtCore.QCoreApplication.translate
        DlgCalculateUrbanData.setWindowTitle(_translate("DlgCalculateUrbanData", "Urban Area Change Metrics | Urban Change and Land Consumption"))
        self.groupBox.setTitle(_translate("DlgCalculateUrbanData", "Thresholds"))
        self.label.setText(_translate("DlgCalculateUrbanData", "<b>Impervious Surface Index (0-100)</b><br>\n"
"(lower values will include low density areas)"))
        self.label_2.setText(_translate("DlgCalculateUrbanData", "<b>Night Time Lights Index (0-100)</b><br>\n"
"(lower values will include low light areas)"))
        self.label_3.setText(_translate("DlgCalculateUrbanData", "<b>Water Frequency (0-100)</b><br>\n"
"(lower values will include low frequency waters)"))
        self.label_4.setText(_translate("DlgCalculateUrbanData", "<html><head/><body><p align=\"center\"><span style=\" font-size:9pt;\">See the </span><a href=\"https://geflanddegradation.users.earthengine.app/view/trendsearth-urban-mapper\"><span style=\" font-size:9pt; text-decoration: underline; color:#0000ff;\">Urban Mapper page</span></a><span style=\" font-size:9pt;\"> for assistance choosing these values.</span></p></body></html>"))
        self.region_la.setToolTip(_translate("DlgCalculateUrbanData", "The current selected region of interest"))
        self.region_button.setToolTip(_translate("DlgCalculateUrbanData", "<html><head/><body><p>Opens settings dialog in order to change region of interest.</p></body></html>"))
        self.region_button.setText(_translate("DlgCalculateUrbanData", "Change region"))
        self.execution_name_la.setText(_translate("DlgCalculateUrbanData", "Execution name:"))
        self.execution_name_le.setToolTip(_translate("DlgCalculateUrbanData", "<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("DlgCalculateUrbanData", "Notes:"))
        self.task_notes.setToolTip(_translate("DlgCalculateUrbanData", "User notes associated with the executed task."))
        self.advance_configurations.setTitle(_translate("DlgCalculateUrbanData", "Advanced configuration"))
        self.groupBox_4.setTitle(_translate("DlgCalculateUrbanData", "Urban definition"))
        self.label_6.setText(_translate("DlgCalculateUrbanData", "<b>Percentage built-up considered urban</b><br/>\n"
"(values below this will be considered suburban)"))
        self.spinBox_pct_urban.setSuffix(_translate("DlgCalculateUrbanData", "%"))
        self.spinBox_pct_suburban.setSuffix(_translate("DlgCalculateUrbanData", "%"))
        self.label_7.setText(_translate("DlgCalculateUrbanData", "<html><head/><body><p><span style=\" font-weight:600;\">Percentage built-up considered suburban</span><br/>(values below this will be considered rural)</p></body></html>"))
        self.groupBox_2.setTitle(_translate("DlgCalculateUrbanData", "Open space definition"))
        self.label_5.setText(_translate("DlgCalculateUrbanData", "<html><head/><body><p><span style=\" font-weight:600;\">Area of largest captured open space (hectares)</span><br/>(continguous captured open space larger than this area will be considered rural)</p></body></html>"))
        self.groupBox_3.setTitle(_translate("DlgCalculateUrbanData", "Population definition (Gridded Population of the World, v4)"))
        self.pop_unadjusted.setText(_translate("DlgCalculateUrbanData", "Population density consistent with national census and population registers"))
        self.pop_adjusted.setText(_translate("DlgCalculateUrbanData", "Population density adjusted to match official UN population estimates"))
        self.alg_help.setHtml(_translate("DlgCalculateUrbanData", "<!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 Area Change Metrics</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;\">SDG 11.3.1 Indicator algorithm 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 qgis.gui import QgsCollapsibleGroupBox


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