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

# Form implementation generated from reading ui file 'qtui/geomorphon_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_geomorphon(object):
    def setupUi(self, geomorphon):
        geomorphon.setObjectName("geomorphon")
        geomorphon.resize(398, 373)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/grass/qtui/icons/grass/grass_location.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        geomorphon.setWindowIcon(icon)
        self.verticalLayout = QtWidgets.QVBoxLayout(geomorphon)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(geomorphon)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        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(geomorphon)
        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(geomorphon)
        self.tabWidget.setObjectName("tabWidget")
        self.required = QtWidgets.QWidget()
        self.required.setObjectName("required")
        self.gridLayout = QtWidgets.QGridLayout(self.required)
        self.gridLayout.setObjectName("gridLayout")
        self.flat = QtWidgets.QLineEdit(self.required)
        self.flat.setStyleSheet("")
        self.flat.setObjectName("flat")
        self.gridLayout.addWidget(self.flat, 3, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.required)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
        self.elevation = QtWidgets.QComboBox(self.required)
        self.elevation.setObjectName("elevation")
        self.gridLayout.addWidget(self.elevation, 0, 1, 1, 1)
        self.search = QtWidgets.QSpinBox(self.required)
        self.search.setStyleSheet("")
        self.search.setProperty("value", 3)
        self.search.setObjectName("search")
        self.gridLayout.addWidget(self.search, 1, 1, 1, 1)
        self.skip = QtWidgets.QSpinBox(self.required)
        self.skip.setObjectName("skip")
        self.gridLayout.addWidget(self.skip, 2, 1, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.required)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 3, 0, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 6, 1, 1, 1)
        self.output_suffix = QtWidgets.QLineEdit(self.required)
        self.output_suffix.setObjectName("output_suffix")
        self.gridLayout.addWidget(self.output_suffix, 5, 1, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.required)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 5, 0, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.required)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.required)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 4, 0, 1, 1)
        self.dist = QtWidgets.QLineEdit(self.required)
        self.dist.setObjectName("dist")
        self.gridLayout.addWidget(self.dist, 4, 1, 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.flag_m = QtWidgets.QCheckBox(self.optional)
        self.flag_m.setObjectName("flag_m")
        self.gridLayout_3.addWidget(self.flag_m, 1, 0, 1, 1)
        self.flag_e = QtWidgets.QCheckBox(self.optional)
        self.flag_e.setObjectName("flag_e")
        self.gridLayout_3.addWidget(self.flag_e, 2, 0, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem1, 5, 0, 1, 1)
        self.overwrite = QtWidgets.QCheckBox(self.optional)
        self.overwrite.setObjectName("overwrite")
        self.gridLayout_3.addWidget(self.overwrite, 3, 0, 1, 1)
        self.derivatives = QtWidgets.QCheckBox(self.optional)
        self.derivatives.setObjectName("derivatives")
        self.gridLayout_3.addWidget(self.derivatives, 0, 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(geomorphon)
        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(geomorphon)
        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(geomorphon)
        self.exit.setObjectName("exit")
        self.horizontalLayout_2.addWidget(self.exit)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.add_output = QtWidgets.QCheckBox(geomorphon)
        self.add_output.setObjectName("add_output")
        self.verticalLayout.addWidget(self.add_output)

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

    def retranslateUi(self, geomorphon):
        _translate = QtCore.QCoreApplication.translate
        geomorphon.setWindowTitle(_translate("geomorphon", "r.geomorphon"))
        self.label_2.setText(_translate("geomorphon", " Calculates geomorphons (terrain forms) and associated geometry using machine vision approach"))
        self.flat.setText(_translate("geomorphon", "1"))
        self.label_3.setText(_translate("geomorphon", "Name of input elevation raster map:"))
        self.label_6.setText(_translate("geomorphon", "Flatness threshold (degrees):"))
        self.output_suffix.setText(_translate("geomorphon", "geomorphon"))
        self.label_8.setText(_translate("geomorphon", "Output suffix"))
        self.label_5.setText(_translate("geomorphon", "Inner search radius"))
        self.label_7.setText(_translate("geomorphon", "Flatness distance, zero for none:"))
        self.dist.setText(_translate("geomorphon", "0"))
        self.label_4.setText(_translate("geomorphon", "Outer search radius:"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.required), _translate("geomorphon", "Required"))
        self.flag_m.setText(_translate("geomorphon", "Use meters to define search units (default is cells)"))
        self.flag_e.setText(_translate("geomorphon", "Use extended form correction"))
        self.overwrite.setText(_translate("geomorphon", "Allow output files to overwrite existing files"))
        self.derivatives.setText(_translate("geomorphon", "Derivatives"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.optional), _translate("geomorphon", "Optional"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.manual), _translate("geomorphon", "Manual"))
        self.run.setText(_translate("geomorphon", "Run"))
        self.reload_layers.setText(_translate("geomorphon", "..."))
        self.exit.setText(_translate("geomorphon", "Close"))
        self.add_output.setText(_translate("geomorphon", "Add Geomorphic forms into layer tree"))
from PyQt5 import QtWebKitWidgets
import groundtruther.resources_rc
