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

# Form implementation generated from reading ui file 'qtui/grassapi_settings_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_GRASSAPI(object):
    def setupUi(self, GRASSAPI):
        GRASSAPI.setObjectName("GRASSAPI")
        GRASSAPI.resize(488, 543)
        GRASSAPI.setMinimumSize(QtCore.QSize(2, 0))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/GRASS/icons/GRASS/grass-40x40.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        GRASSAPI.setWindowIcon(icon)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(GRASSAPI)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.scrollArea = QtWidgets.QScrollArea(GRASSAPI)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 454, 655))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.groupBox = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMaximumSize(QtCore.QSize(16777215, 70))
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.grass_api_endpoint = QtWidgets.QLineEdit(self.groupBox)
        self.grass_api_endpoint.setObjectName("grass_api_endpoint")
        self.horizontalLayout.addWidget(self.grass_api_endpoint)
        self.verticalLayout_3.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setMaximumSize(QtCore.QSize(16777215, 170))
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName("gridLayout")
        self.grass_gisdb = QtWidgets.QLineEdit(self.groupBox_2)
        self.grass_gisdb.setObjectName("grass_gisdb")
        self.gridLayout.addWidget(self.grass_gisdb, 0, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.groupBox_2)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.groupBox_2)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 3, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.new_grass_location_dialog = QtWidgets.QToolButton(self.groupBox_2)
        self.new_grass_location_dialog.setObjectName("new_grass_location_dialog")
        self.horizontalLayout_2.addWidget(self.new_grass_location_dialog)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.reload = QtWidgets.QToolButton(self.groupBox_2)
        self.reload.setMinimumSize(QtCore.QSize(30, 30))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/icons/qtui/icons/arrows-rotate.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.reload.setIcon(icon1)
        self.reload.setObjectName("reload")
        self.horizontalLayout_2.addWidget(self.reload)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.set_location = QtWidgets.QPushButton(self.groupBox_2)
        self.set_location.setObjectName("set_location")
        self.horizontalLayout_2.addWidget(self.set_location)
        self.gridLayout.addLayout(self.horizontalLayout_2, 5, 1, 1, 1)
        self.grass_location_list = QtWidgets.QComboBox(self.groupBox_2)
        self.grass_location_list.setObjectName("grass_location_list")
        self.gridLayout.addWidget(self.grass_location_list, 3, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.groupBox_2)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.location_mapset_list = QtWidgets.QComboBox(self.groupBox_2)
        self.location_mapset_list.setObjectName("location_mapset_list")
        self.gridLayout.addWidget(self.location_mapset_list, 4, 1, 1, 1)
        self.verticalLayout_3.addWidget(self.groupBox_2)
        self.grass_new_location_groupbox = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grass_new_location_groupbox.sizePolicy().hasHeightForWidth())
        self.grass_new_location_groupbox.setSizePolicy(sizePolicy)
        self.grass_new_location_groupbox.setMaximumSize(QtCore.QSize(16777215, 250))
        self.grass_new_location_groupbox.setObjectName("grass_new_location_groupbox")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.grass_new_location_groupbox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.epsg_code = QtWidgets.QComboBox(self.grass_new_location_groupbox)
        self.epsg_code.setObjectName("epsg_code")
        self.horizontalLayout_7.addWidget(self.epsg_code)
        self.search_epsg = QtWidgets.QToolButton(self.grass_new_location_groupbox)
        self.search_epsg.setMinimumSize(QtCore.QSize(30, 30))
        self.search_epsg.setText("")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/icons/qtui/icons/grass_mapset_search.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.search_epsg.setIcon(icon2)
        self.search_epsg.setObjectName("search_epsg")
        self.horizontalLayout_7.addWidget(self.search_epsg)
        self.gridLayout_2.addLayout(self.horizontalLayout_7, 1, 2, 1, 1)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.georef_file = QtWidgets.QLineEdit(self.grass_new_location_groupbox)
        self.georef_file.setObjectName("georef_file")
        self.horizontalLayout_6.addWidget(self.georef_file)
        self.set_georef_file = QtWidgets.QToolButton(self.grass_new_location_groupbox)
        self.set_georef_file.setMinimumSize(QtCore.QSize(30, 30))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/icons/qtui/icons/file-image.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.set_georef_file.setIcon(icon3)
        self.set_georef_file.setObjectName("set_georef_file")
        self.horizontalLayout_6.addWidget(self.set_georef_file)
        self.verticalLayout_2.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_10 = QtWidgets.QLabel(self.grass_new_location_groupbox)
        self.label_10.setObjectName("label_10")
        self.horizontalLayout_5.addWidget(self.label_10)
        self.layer_name = QtWidgets.QLineEdit(self.grass_new_location_groupbox)
        self.layer_name.setObjectName("layer_name")
        self.horizontalLayout_5.addWidget(self.layer_name)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.gridLayout_2.addLayout(self.verticalLayout_2, 2, 2, 1, 1)
        self.new_location_name = QtWidgets.QLineEdit(self.grass_new_location_groupbox)
        self.new_location_name.setObjectName("new_location_name")
        self.gridLayout_2.addWidget(self.new_location_name, 0, 2, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.grass_new_location_groupbox)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 1, 0, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.choice_epsg = QtWidgets.QRadioButton(self.grass_new_location_groupbox)
        self.choice_epsg.setChecked(True)
        self.choice_epsg.setObjectName("choice_epsg")
        self.verticalLayout.addWidget(self.choice_epsg)
        self.choice_georef = QtWidgets.QRadioButton(self.grass_new_location_groupbox)
        self.choice_georef.setObjectName("choice_georef")
        self.verticalLayout.addWidget(self.choice_georef)
        self.horizontalLayout_3.addLayout(self.verticalLayout)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.create_location = QtWidgets.QPushButton(self.grass_new_location_groupbox)
        self.create_location.setObjectName("create_location")
        self.horizontalLayout_3.addWidget(self.create_location)
        self.gridLayout_2.addLayout(self.horizontalLayout_3, 3, 2, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.grass_new_location_groupbox)
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 2, 0, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.grass_new_location_groupbox)
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 0, 0, 1, 1)
        self.verticalLayout_3.addWidget(self.grass_new_location_groupbox)
        self.grass_new_mapset_groupbox = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grass_new_mapset_groupbox.sizePolicy().hasHeightForWidth())
        self.grass_new_mapset_groupbox.setSizePolicy(sizePolicy)
        self.grass_new_mapset_groupbox.setMaximumSize(QtCore.QSize(16777215, 140))
        self.grass_new_mapset_groupbox.setObjectName("grass_new_mapset_groupbox")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.grass_new_mapset_groupbox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem3)
        self.create_mapset = QtWidgets.QPushButton(self.grass_new_mapset_groupbox)
        self.create_mapset.setObjectName("create_mapset")
        self.horizontalLayout_4.addWidget(self.create_mapset)
        self.gridLayout_3.addLayout(self.horizontalLayout_4, 2, 1, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.grass_new_mapset_groupbox)
        self.label_8.setObjectName("label_8")
        self.gridLayout_3.addWidget(self.label_8, 1, 0, 1, 1)
        self.new_mapset = QtWidgets.QLineEdit(self.grass_new_mapset_groupbox)
        self.new_mapset.setObjectName("new_mapset")
        self.gridLayout_3.addWidget(self.new_mapset, 1, 1, 1, 1)
        self.label_9 = QtWidgets.QLabel(self.grass_new_mapset_groupbox)
        self.label_9.setObjectName("label_9")
        self.gridLayout_3.addWidget(self.label_9, 0, 0, 1, 1)
        self.grass_location_list2 = QtWidgets.QComboBox(self.grass_new_mapset_groupbox)
        self.grass_location_list2.setObjectName("grass_location_list2")
        self.gridLayout_3.addWidget(self.grass_location_list2, 0, 1, 1, 1)
        self.verticalLayout_3.addWidget(self.grass_new_mapset_groupbox)
        spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem4)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_4.addWidget(self.scrollArea)
        self.command_output = QtWidgets.QTextEdit(GRASSAPI)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.command_output.sizePolicy().hasHeightForWidth())
        self.command_output.setSizePolicy(sizePolicy)
        self.command_output.setObjectName("command_output")
        self.verticalLayout_4.addWidget(self.command_output)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.show_output_log = QtWidgets.QPushButton(GRASSAPI)
        self.show_output_log.setMaximumSize(QtCore.QSize(90, 16777215))
        self.show_output_log.setCheckable(False)
        self.show_output_log.setObjectName("show_output_log")
        self.horizontalLayout_8.addWidget(self.show_output_log)
        self.frame = QtWidgets.QFrame(GRASSAPI)
        self.frame.setMinimumSize(QtCore.QSize(0, 15))
        self.frame.setMaximumSize(QtCore.QSize(16777215, 30))
        self.frame.setStyleSheet("QFrame {\n"
"            border: 1px solid black;\n"
"            border-radius: 1px;\n"
"            background-color: rgb(51, 209, 122);\n"
"            }")
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.horizontalLayout_8.addWidget(self.frame)
        self.exit = QtWidgets.QPushButton(GRASSAPI)
        self.exit.setMaximumSize(QtCore.QSize(90, 16777215))
        self.exit.setObjectName("exit")
        self.horizontalLayout_8.addWidget(self.exit)
        self.verticalLayout_4.addLayout(self.horizontalLayout_8)

        self.retranslateUi(GRASSAPI)
        QtCore.QMetaObject.connectSlotsByName(GRASSAPI)

    def retranslateUi(self, GRASSAPI):
        _translate = QtCore.QCoreApplication.translate
        GRASSAPI.setWindowTitle(_translate("GRASSAPI", "GRASS API Settings"))
        self.groupBox.setTitle(_translate("GRASSAPI", "GRASS API"))
        self.label.setText(_translate("GRASSAPI", "Endpoint"))
        self.grass_api_endpoint.setText(_translate("GRASSAPI", "http://localhost"))
        self.groupBox_2.setTitle(_translate("GRASSAPI", "GRASS ENVIRONMENT"))
        self.grass_gisdb.setText(_translate("GRASSAPI", "/tmp"))
        self.label_3.setText(_translate("GRASSAPI", "MAPSET"))
        self.label_2.setText(_translate("GRASSAPI", "LOCATION"))
        self.new_grass_location_dialog.setText(_translate("GRASSAPI", "New"))
        self.reload.setText(_translate("GRASSAPI", "..."))
        self.set_location.setText(_translate("GRASSAPI", "Set"))
        self.label_4.setText(_translate("GRASSAPI", "GISDB"))
        self.grass_new_location_groupbox.setTitle(_translate("GRASSAPI", "NEW LOCATION"))
        self.set_georef_file.setText(_translate("GRASSAPI", "..."))
        self.label_10.setText(_translate("GRASSAPI", "Layer name"))
        self.label_5.setText(_translate("GRASSAPI", "EPSG"))
        self.choice_epsg.setText(_translate("GRASSAPI", "epsg"))
        self.choice_georef.setText(_translate("GRASSAPI", "georef"))
        self.create_location.setText(_translate("GRASSAPI", "ADD"))
        self.label_6.setText(_translate("GRASSAPI", "Georef File"))
        self.label_7.setText(_translate("GRASSAPI", "NAME"))
        self.grass_new_mapset_groupbox.setTitle(_translate("GRASSAPI", "NEW MAPSET"))
        self.create_mapset.setText(_translate("GRASSAPI", "ADD"))
        self.label_8.setText(_translate("GRASSAPI", "NAME"))
        self.label_9.setText(_translate("GRASSAPI", "LOCATION"))
        self.show_output_log.setText(_translate("GRASSAPI", "output log"))
        self.exit.setText(_translate("GRASSAPI", "Exit"))
import groundtruther.resources_rc
