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

# Form implementation generated from reading ui file 'qtui/paramscale_api_ui.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# 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_paramscale(object):
    def setupUi(self, paramscale):
        paramscale.setObjectName("paramscale")
        paramscale.resize(573, 459)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/grass/qtui/icons/grass/grass_location.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        paramscale.setWindowIcon(icon)
        self.verticalLayout = QtWidgets.QVBoxLayout(paramscale)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(paramscale)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setMinimumSize(QtCore.QSize(40, 40))
        self.label.setMaximumSize(QtCore.QSize(40, 40))
        self.label.setText("")
        self.label.setPixmap(QtGui.QPixmap(":/icons/qtui/icons/grass_location.svg"))
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.label_2 = QtWidgets.QLabel(paramscale)
        self.label_2.setTextFormat(QtCore.Qt.PlainText)
        self.label_2.setScaledContents(False)
        self.label_2.setWordWrap(True)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.tabWidget = QtWidgets.QTabWidget(paramscale)
        self.tabWidget.setObjectName("tabWidget")
        self.required = QtWidgets.QWidget()
        self.required.setObjectName("required")
        self.gridLayout = QtWidgets.QGridLayout(self.required)
        self.gridLayout.setObjectName("gridLayout")
        self.label_3 = QtWidgets.QLabel(self.required)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 2, 2, 1, 1)
        self.output_suffix = QtWidgets.QLineEdit(self.required)
        self.output_suffix.setObjectName("output_suffix")
        self.gridLayout.addWidget(self.output_suffix, 1, 2, 1, 1)
        self.input = QtWidgets.QComboBox(self.required)
        self.input.setObjectName("input")
        self.gridLayout.addWidget(self.input, 0, 2, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.required)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
        self.tabWidget.addTab(self.required, "")
        self.optional = QtWidgets.QWidget()
        self.optional.setObjectName("optional")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.optional)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_6 = QtWidgets.QLabel(self.optional)
        self.label_6.setObjectName("label_6")
        self.gridLayout_3.addWidget(self.label_6, 4, 0, 1, 1)
        self.exponent = QtWidgets.QLineEdit(self.optional)
        self.exponent.setObjectName("exponent")
        self.gridLayout_3.addWidget(self.exponent, 7, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.optional)
        self.label_7.setObjectName("label_7")
        self.gridLayout_3.addWidget(self.label_7, 5, 0, 1, 1)
        self.slope_tolerance = QtWidgets.QLineEdit(self.optional)
        self.slope_tolerance.setObjectName("slope_tolerance")
        self.gridLayout_3.addWidget(self.slope_tolerance, 3, 1, 1, 1)
        self.size = QtWidgets.QSpinBox(self.optional)
        self.size.setMinimum(3)
        self.size.setMaximum(499)
        self.size.setSingleStep(2)
        self.size.setObjectName("size")
        self.gridLayout_3.addWidget(self.size, 5, 1, 1, 1)
        self.method = QtWidgets.QComboBox(self.optional)
        self.method.setObjectName("method")
        self.method.addItem("")
        self.method.addItem("")
        self.method.addItem("")
        self.method.addItem("")
        self.method.addItem("")
        self.method.addItem("")
        self.method.addItem("")
        self.method.addItem("")
        self.method.addItem("")
        self.method.addItem("")
        self.gridLayout_3.addWidget(self.method, 6, 1, 1, 1)
        self.flag_c = QtWidgets.QCheckBox(self.optional)
        self.flag_c.setObjectName("flag_c")
        self.gridLayout_3.addWidget(self.flag_c, 1, 0, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.optional)
        self.label_8.setObjectName("label_8")
        self.gridLayout_3.addWidget(self.label_8, 6, 0, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.optional)
        self.label_5.setObjectName("label_5")
        self.gridLayout_3.addWidget(self.label_5, 3, 0, 1, 1)
        self.zscale = QtWidgets.QLineEdit(self.optional)
        self.zscale.setObjectName("zscale")
        self.gridLayout_3.addWidget(self.zscale, 8, 1, 1, 1)
        self.curvature_tolerance = QtWidgets.QLineEdit(self.optional)
        self.curvature_tolerance.setObjectName("curvature_tolerance")
        self.gridLayout_3.addWidget(self.curvature_tolerance, 4, 1, 1, 1)
        self.overwrite = QtWidgets.QCheckBox(self.optional)
        self.overwrite.setObjectName("overwrite")
        self.gridLayout_3.addWidget(self.overwrite, 2, 0, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem1, 10, 1, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.optional)
        self.label_10.setObjectName("label_10")
        self.gridLayout_3.addWidget(self.label_10, 8, 0, 1, 1)
        self.label_9 = QtWidgets.QLabel(self.optional)
        self.label_9.setObjectName("label_9")
        self.gridLayout_3.addWidget(self.label_9, 7, 0, 1, 1)
        self.derivatives = QtWidgets.QCheckBox(self.optional)
        self.derivatives.setObjectName("derivatives")
        self.gridLayout_3.addWidget(self.derivatives, 9, 0, 1, 1)
        self.tabWidget.addTab(self.optional, "")
        self.manual = QtWidgets.QWidget()
        self.manual.setObjectName("manual")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.manual)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.webView = QtWebKitWidgets.QWebView(self.manual)
        self.webView.setUrl(QtCore.QUrl("about:blank"))
        self.webView.setObjectName("webView")
        self.verticalLayout_2.addWidget(self.webView)
        self.tabWidget.addTab(self.manual, "")
        self.verticalLayout.addWidget(self.tabWidget)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem2)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.run = QtWidgets.QPushButton(paramscale)
        self.run.setObjectName("run")
        self.horizontalLayout_2.addWidget(self.run)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.reload_layers = QtWidgets.QToolButton(paramscale)
        self.reload_layers.setText("")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/icons/qtui/icons/arrows-rotate.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.reload_layers.setIcon(icon1)
        self.reload_layers.setObjectName("reload_layers")
        self.horizontalLayout_2.addWidget(self.reload_layers)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem4)
        self.exit = QtWidgets.QPushButton(paramscale)
        self.exit.setObjectName("exit")
        self.horizontalLayout_2.addWidget(self.exit)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.add_output = QtWidgets.QCheckBox(paramscale)
        self.add_output.setObjectName("add_output")
        self.verticalLayout.addWidget(self.add_output)

        self.retranslateUi(paramscale)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(paramscale)

    def retranslateUi(self, paramscale):
        _translate = QtCore.QCoreApplication.translate
        paramscale.setWindowTitle(_translate("paramscale", "r.param.scale"))
        self.label_2.setText(_translate("paramscale", " Extracts terrain parameters from a DEM. Uses a multi-scale approach by taking fitting quadratic parameters to any size window (via least square)"))
        self.label_3.setText(_translate("paramscale", "Name of input raster map:"))
        self.label_4.setText(_translate("paramscale", "Suffix for output raster map containing morphometric parameter:"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.required), _translate("paramscale", "Required"))
        self.label_6.setText(_translate("paramscale", "Curvature tolerance that defines \'planar\' surface "))
        self.exponent.setText(_translate("paramscale", "0.0"))
        self.label_7.setText(_translate("paramscale", "Size of processing window (odd number only) "))
        self.slope_tolerance.setText(_translate("paramscale", "1.0"))
        self.method.setItemText(0, _translate("paramscale", "elev"))
        self.method.setItemText(1, _translate("paramscale", "slope"))
        self.method.setItemText(2, _translate("paramscale", "aspect"))
        self.method.setItemText(3, _translate("paramscale", "profc"))
        self.method.setItemText(4, _translate("paramscale", "planc"))
        self.method.setItemText(5, _translate("paramscale", "longc"))
        self.method.setItemText(6, _translate("paramscale", "crossc"))
        self.method.setItemText(7, _translate("paramscale", "minc"))
        self.method.setItemText(8, _translate("paramscale", "maxic"))
        self.method.setItemText(9, _translate("paramscale", "feature"))
        self.flag_c.setText(_translate("paramscale", "Constain model through central window cell"))
        self.label_8.setText(_translate("paramscale", "Morphometric parameter in \'size\' window to calculate "))
        self.label_5.setText(_translate("paramscale", "Slope tolerance that defines a \'flat\' surface (degrees) "))
        self.zscale.setText(_translate("paramscale", "1.0"))
        self.curvature_tolerance.setText(_translate("paramscale", "0.0001"))
        self.overwrite.setText(_translate("paramscale", "Allow output files to overwrite existing files"))
        self.label_10.setText(_translate("paramscale", "Vertical scaling factor "))
        self.label_9.setText(_translate("paramscale", "Exponent for distance weighting (0.0-4.0) "))
        self.derivatives.setText(_translate("paramscale", "Build all morphometric parameters"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.optional), _translate("paramscale", "Optional"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.manual), _translate("paramscale", "Manual"))
        self.run.setText(_translate("paramscale", "Run"))
        self.exit.setText(_translate("paramscale", "Close"))
        self.add_output.setText(_translate("paramscale", "Add Geomorphic forms into layer tree"))
from PyQt5 import QtWebKitWidgets
import groundtruther.resources_rc
