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

# Form implementation generated from reading ui file 'c:\Users\leonk\Documents\Uni\Semester_5\BP\science_flight_planner\science_flight_planner\options.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 qgis.PyQt import QtCore, QtWidgets


class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.sfpScrollArea = QtWidgets.QScrollArea(Form)
        self.sfpScrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.sfpScrollArea.setWidgetResizable(True)
        self.sfpScrollArea.setObjectName("sfpScrollArea")
        self.sfpScrollAreaContents = QtWidgets.QWidget()
        self.sfpScrollAreaContents.setObjectName("sfpScrollAreaContents")
        self.optionsGridLayout = QtWidgets.QGridLayout(self.sfpScrollAreaContents)
        self.optionsGridLayout.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
        self.optionsGridLayout.setContentsMargins(0, 0, 0, 0)
        self.optionsGridLayout.setObjectName("optionsGridLayout")
        self.generalGroup = QgsCollapsibleGroupBox(self.sfpScrollAreaContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.generalGroup.sizePolicy().hasHeightForWidth())
        self.generalGroup.setSizePolicy(sizePolicy)
        self.generalGroup.setObjectName("generalGroup")
        self.generalGrid = QtWidgets.QGridLayout(self.generalGroup)
        self.generalGrid.setObjectName("generalGrid")
        self.flightSpeedLabel = QtWidgets.QLabel(self.generalGroup)
        self.flightSpeedLabel.setObjectName("flightSpeedLabel")
        self.generalGrid.addWidget(self.flightSpeedLabel, 0, 0, 1, 1)
        self.flightSpeedSpinBox = QtWidgets.QSpinBox(self.generalGroup)
        self.flightSpeedSpinBox.setMaximum(9999)
        self.flightSpeedSpinBox.setObjectName("flightSpeedSpinBox")
        self.generalGrid.addWidget(self.flightSpeedSpinBox, 0, 1, 1, 1)
        self.coverageCrsLabel = QtWidgets.QLabel(self.generalGroup)
        self.coverageCrsLabel.setObjectName("coverageCrsLabel")
        self.generalGrid.addWidget(self.coverageCrsLabel, 1, 0, 1, 1)
        self.coverageCrsWidget = QgsProjectionSelectionWidget(self.generalGroup)
        self.coverageCrsWidget.setObjectName("coverageCrsWidget")
        self.generalGrid.addWidget(self.coverageCrsWidget, 1, 1, 1, 1)
        self.overlapLabel = QtWidgets.QLabel(self.generalGroup)
        self.overlapLabel.setObjectName("overlapLabel")
        self.generalGrid.addWidget(self.overlapLabel, 2, 0, 1, 1)
        self.overlapSpinBox = QtWidgets.QDoubleSpinBox(self.generalGroup)
        self.overlapSpinBox.setMaximum(1)
        self.overlapSpinBox.setObjectName("overlapSpinBox")
        self.generalGrid.addWidget(self.overlapSpinBox, 2, 1, 1, 1)
        self.overlapRotationLabel = QtWidgets.QLabel(self.generalGroup)
        self.overlapRotationLabel.setObjectName("overlapRotationLabel")
        self.generalGrid.addWidget(self.overlapRotationLabel, 3, 0, 1, 1)
        self.overlapComboBox = QtWidgets.QComboBox(self.generalGroup)
        self.overlapComboBox.setObjectName("overlapComboBox")
        self.generalGrid.addWidget(self.overlapComboBox, 3, 1, 1, 1)
        self.generalGrid.setColumnStretch(1, 1)
        self.optionsGridLayout.addWidget(self.generalGroup, 0, 0, 1, 1)
        self.sensorGroup = QgsCollapsibleGroupBox(self.sfpScrollAreaContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sensorGroup.sizePolicy().hasHeightForWidth())
        self.sensorGroup.setSizePolicy(sizePolicy)
        self.sensorGroup.setObjectName("sensorGroup")
        self.gridLayout = QtWidgets.QGridLayout(self.sensorGroup)
        self.gridLayout.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
        self.gridLayout.setObjectName("gridLayout")
        self.label_4 = QtWidgets.QLabel(self.sensorGroup)
        self.label_4.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.sensorGroup)
        self.label_5.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 0, 1, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.sensorGroup)
        self.label_6.setText("")
        self.label_6.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 0, 2, 1, 1)
        self.optionsGridLayout.addWidget(self.sensorGroup, 1, 0, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 100, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.optionsGridLayout.addItem(spacerItem)
        self.sfpScrollArea.setWidget(self.sfpScrollAreaContents)
        self.verticalLayout.addWidget(self.sfpScrollArea)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        self.generalGroup.setTitle(_translate("Form", "ScienceFlightPlanner"))
        self.flightSpeedLabel.setText(_translate("Form", "Flight speed in km/h:"))
        self.coverageCrsLabel.setText(_translate("Form", "CRS used for computing sensor coverage:"))
        self.overlapLabel.setText(_translate("Form", "Amount of overlap (0 - 1):"))
        self.overlapRotationLabel.setText(_translate("Form", "Rotation of overlap lines:"))
        self.sensorGroup.setTitle(_translate("Form", "Sensors"))
        self.label_4.setText(_translate("Form", "Name of sensor"))
        self.label_5.setText(_translate("Form", "Total opening angle in deg"))
from qgscollapsiblegroupbox import QgsCollapsibleGroupBox
from qgsprojectionselectionwidget import QgsProjectionSelectionWidget
