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

# Form implementation generated from reading ui file 'valhalla/resources/ui/widget_routing_dock.ui'
#
# Created by: PyQt5 UI code generator 5.15.11
#
# 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_routing_widget(object):
    def setupUi(self, routing_widget):
        routing_widget.setObjectName("routing_widget")
        routing_widget.resize(646, 1061)
        self.verticalLayout = QtWidgets.QVBoxLayout(routing_widget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.verticalWrapper = QtWidgets.QVBoxLayout()
        self.verticalWrapper.setObjectName("verticalWrapper")
        self.wrapperLayout = QtWidgets.QHBoxLayout()
        self.wrapperLayout.setObjectName("wrapperLayout")
        self.widget = QtWidgets.QWidget(routing_widget)
        self.widget.setObjectName("widget")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.widget)
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_5.setSpacing(0)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.menu_widget = QtWidgets.QListWidget(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.menu_widget.sizePolicy().hasHeightForWidth())
        self.menu_widget.setSizePolicy(sizePolicy)
        self.menu_widget.setMaximumSize(QtCore.QSize(50, 16777215))
        self.menu_widget.setStyleSheet("QListWidget{\n"
"    background-color: rgba(69, 69, 69, 220);\n"
"    outline: 0;\n"
"}\n"
"QListWidget::item {\n"
"    color: white;\n"
"    padding: 6px;\n"
"}\n"
"QListWidget::item::selected {\n"
"    color: black;\n"
"    background-color:palette(Window);\n"
"    padding-right: 0px;\n"
"}")
        self.menu_widget.setFrameShape(QtWidgets.QFrame.Box)
        self.menu_widget.setLineWidth(0)
        self.menu_widget.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.menu_widget.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.menu_widget.setAutoScroll(False)
        self.menu_widget.setIconSize(QtCore.QSize(28, 28))
        self.menu_widget.setObjectName("menu_widget")
        item = QtWidgets.QListWidgetItem()
        self.menu_widget.addItem(item)
        item = QtWidgets.QListWidgetItem()
        self.menu_widget.addItem(item)
        item = QtWidgets.QListWidgetItem()
        self.menu_widget.addItem(item)
        item = QtWidgets.QListWidgetItem()
        self.menu_widget.addItem(item)
        self.verticalLayout_5.addWidget(self.menu_widget)
        self.wrapperLayout.addWidget(self.widget)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.scrollArea_2 = QtWidgets.QScrollArea(routing_widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scrollArea_2.sizePolicy().hasHeightForWidth())
        self.scrollArea_2.setSizePolicy(sizePolicy)
        self.scrollArea_2.setWidgetResizable(True)
        self.scrollArea_2.setObjectName("scrollArea_2")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 581, 961))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_7.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.router_box = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.router_box.setObjectName("router_box")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.router_box)
        self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.verticalLayout_7.addWidget(self.router_box)
        self.waypoints_box = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.waypoints_box.sizePolicy().hasHeightForWidth())
        self.waypoints_box.setSizePolicy(sizePolicy)
        self.waypoints_box.setObjectName("waypoints_box")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.waypoints_box)
        self.verticalLayout_10.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.verticalLayout_7.addWidget(self.waypoints_box)
        self.ui_params_stacked = QtWidgets.QStackedWidget(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ui_params_stacked.sizePolicy().hasHeightForWidth())
        self.ui_params_stacked.setSizePolicy(sizePolicy)
        self.ui_params_stacked.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.ui_params_stacked.setObjectName("ui_params_stacked")
        self.ui_valhalla_directions_params = QtWidgets.QWidget()
        self.ui_valhalla_directions_params.setObjectName("ui_valhalla_directions_params")
        self.ui_params_stacked.addWidget(self.ui_valhalla_directions_params)
        self.ui_valhalla_isochrones_params = QtWidgets.QWidget()
        self.ui_valhalla_isochrones_params.setToolTip("")
        self.ui_valhalla_isochrones_params.setObjectName("ui_valhalla_isochrones_params")
        self.formLayout_2 = QtWidgets.QFormLayout(self.ui_valhalla_isochrones_params)
        self.formLayout_2.setContentsMargins(0, 0, 0, 0)
        self.formLayout_2.setObjectName("formLayout_2")
        self.label_2 = QtWidgets.QLabel(self.ui_valhalla_isochrones_params)
        self.label_2.setObjectName("label_2")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_2)
        self.ui_isochrone_intervals = QtWidgets.QLineEdit(self.ui_valhalla_isochrones_params)
        self.ui_isochrone_intervals.setClearButtonEnabled(True)
        self.ui_isochrone_intervals.setObjectName("ui_isochrone_intervals")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.ui_isochrone_intervals)
        self.label_10 = QtWidgets.QLabel(self.ui_valhalla_isochrones_params)
        self.label_10.setObjectName("label_10")
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_10)
        self.ui_isochrone_denoise = gui.QgsDoubleSpinBox(self.ui_valhalla_isochrones_params)
        self.ui_isochrone_denoise.setDecimals(1)
        self.ui_isochrone_denoise.setMaximum(1.0)
        self.ui_isochrone_denoise.setSingleStep(0.1)
        self.ui_isochrone_denoise.setProperty("value", 1.0)
        self.ui_isochrone_denoise.setObjectName("ui_isochrone_denoise")
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.ui_isochrone_denoise)
        self.label_11 = QtWidgets.QLabel(self.ui_valhalla_isochrones_params)
        self.label_11.setObjectName("label_11")
        self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_11)
        self.ui_isochrone_generalize = gui.QgsSpinBox(self.ui_valhalla_isochrones_params)
        self.ui_isochrone_generalize.setMaximum(1000)
        self.ui_isochrone_generalize.setObjectName("ui_isochrone_generalize")
        self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.ui_isochrone_generalize)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.ui_isochrone_time = QtWidgets.QRadioButton(self.ui_valhalla_isochrones_params)
        self.ui_isochrone_time.setChecked(True)
        self.ui_isochrone_time.setObjectName("ui_isochrone_time")
        self.horizontalLayout_5.addWidget(self.ui_isochrone_time)
        self.ui_isochrone_distance = QtWidgets.QRadioButton(self.ui_valhalla_isochrones_params)
        self.ui_isochrone_distance.setObjectName("ui_isochrone_distance")
        self.horizontalLayout_5.addWidget(self.ui_isochrone_distance)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem)
        self.formLayout_2.setLayout(3, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_5)
        self.label_12 = QtWidgets.QLabel(self.ui_valhalla_isochrones_params)
        self.label_12.setObjectName("label_12")
        self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_12)
        self.ui_params_stacked.addWidget(self.ui_valhalla_isochrones_params)
        self.ui_valhalla_matrix_params = QtWidgets.QWidget()
        self.ui_valhalla_matrix_params.setObjectName("ui_valhalla_matrix_params")
        self.ui_params_stacked.addWidget(self.ui_valhalla_matrix_params)
        self.ui_valhalla_expansion_params = QtWidgets.QWidget()
        self.ui_valhalla_expansion_params.setObjectName("ui_valhalla_expansion_params")
        self.formLayout_4 = QtWidgets.QFormLayout(self.ui_valhalla_expansion_params)
        self.formLayout_4.setContentsMargins(0, 0, 0, 0)
        self.formLayout_4.setObjectName("formLayout_4")
        self.label_13 = QtWidgets.QLabel(self.ui_valhalla_expansion_params)
        self.label_13.setObjectName("label_13")
        self.formLayout_4.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_13)
        self.ui_expansion_intervals = QtWidgets.QLineEdit(self.ui_valhalla_expansion_params)
        self.ui_expansion_intervals.setClearButtonEnabled(True)
        self.ui_expansion_intervals.setObjectName("ui_expansion_intervals")
        self.formLayout_4.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.ui_expansion_intervals)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.ui_expansion_time = QtWidgets.QRadioButton(self.ui_valhalla_expansion_params)
        self.ui_expansion_time.setChecked(True)
        self.ui_expansion_time.setObjectName("ui_expansion_time")
        self.horizontalLayout_7.addWidget(self.ui_expansion_time)
        self.ui_expansion_distance = QtWidgets.QRadioButton(self.ui_valhalla_expansion_params)
        self.ui_expansion_distance.setObjectName("ui_expansion_distance")
        self.horizontalLayout_7.addWidget(self.ui_expansion_distance)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem1)
        self.formLayout_4.setLayout(2, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_7)
        self.label_14 = QtWidgets.QLabel(self.ui_valhalla_expansion_params)
        self.label_14.setObjectName("label_14")
        self.formLayout_4.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_14)
        self.label_15 = QtWidgets.QLabel(self.ui_valhalla_expansion_params)
        self.label_15.setObjectName("label_15")
        self.formLayout_4.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_15)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.ui_expansion_dedupe = QtWidgets.QCheckBox(self.ui_valhalla_expansion_params)
        self.ui_expansion_dedupe.setChecked(True)
        self.ui_expansion_dedupe.setObjectName("ui_expansion_dedupe")
        self.horizontalLayout_2.addWidget(self.ui_expansion_dedupe)
        self.ui_expansion_skip_opps = QtWidgets.QCheckBox(self.ui_valhalla_expansion_params)
        self.ui_expansion_skip_opps.setChecked(True)
        self.ui_expansion_skip_opps.setObjectName("ui_expansion_skip_opps")
        self.horizontalLayout_2.addWidget(self.ui_expansion_skip_opps)
        self.formLayout_4.setLayout(3, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_2)
        self.ui_params_stacked.addWidget(self.ui_valhalla_expansion_params)
        self.ui_osrm_directions_params = QtWidgets.QWidget()
        self.ui_osrm_directions_params.setObjectName("ui_osrm_directions_params")
        self.ui_params_stacked.addWidget(self.ui_osrm_directions_params)
        self.ui_osrm_matrix_params = QtWidgets.QWidget()
        self.ui_osrm_matrix_params.setObjectName("ui_osrm_matrix_params")
        self.ui_params_stacked.addWidget(self.ui_osrm_matrix_params)
        self.verticalLayout_7.addWidget(self.ui_params_stacked)
        self.options_box = gui.QgsCollapsibleGroupBox(self.scrollAreaWidgetContents)
        self.options_box.setCheckable(True)
        self.options_box.setChecked(False)
        self.options_box.setCollapsed(True)
        self.options_box.setObjectName("options_box")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.options_box)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout_7.addWidget(self.options_box)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_7.addItem(spacerItem2)
        self.scrollArea_2.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_6.addWidget(self.scrollArea_2)
        self.execute_btn = QtWidgets.QPushButton(routing_widget)
        self.execute_btn.setObjectName("execute_btn")
        self.verticalLayout_6.addWidget(self.execute_btn)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setSpacing(0)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.ui_log_btn = QtWidgets.QToolButton(routing_widget)
        self.ui_log_btn.setText("")
        self.ui_log_btn.setIconSize(QtCore.QSize(32, 32))
        self.ui_log_btn.setObjectName("ui_log_btn")
        self.horizontalLayout_8.addWidget(self.ui_log_btn)
        self.ui_graph_btn = QtWidgets.QToolButton(routing_widget)
        self.ui_graph_btn.setText("")
        self.ui_graph_btn.setIconSize(QtCore.QSize(32, 32))
        self.ui_graph_btn.setObjectName("ui_graph_btn")
        self.horizontalLayout_8.addWidget(self.ui_graph_btn)
        self.ui_debug_btn = QtWidgets.QToolButton(routing_widget)
        self.ui_debug_btn.setText("")
        self.ui_debug_btn.setIconSize(QtCore.QSize(32, 32))
        self.ui_debug_btn.setCheckable(True)
        self.ui_debug_btn.setObjectName("ui_debug_btn")
        self.horizontalLayout_8.addWidget(self.ui_debug_btn)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem3)
        self.ui_about_btn = QtWidgets.QToolButton(routing_widget)
        self.ui_about_btn.setText("")
        icon = QtGui.QIcon.fromTheme(":images/themes/default/mActionPropertiesWidget.svg")
        self.ui_about_btn.setIcon(icon)
        self.ui_about_btn.setIconSize(QtCore.QSize(32, 32))
        self.ui_about_btn.setObjectName("ui_about_btn")
        self.horizontalLayout_8.addWidget(self.ui_about_btn)
        self.ui_help_btn = QtWidgets.QToolButton(routing_widget)
        self.ui_help_btn.setText("")
        icon = QtGui.QIcon.fromTheme(":images/themes/default/mActionHelpContents.svg")
        self.ui_help_btn.setIcon(icon)
        self.ui_help_btn.setIconSize(QtCore.QSize(32, 32))
        self.ui_help_btn.setObjectName("ui_help_btn")
        self.horizontalLayout_8.addWidget(self.ui_help_btn)
        self.label_16 = QtWidgets.QLabel(routing_widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_16.sizePolicy().hasHeightForWidth())
        self.label_16.setSizePolicy(sizePolicy)
        self.label_16.setText("")
        self.label_16.setObjectName("label_16")
        self.horizontalLayout_8.addWidget(self.label_16, 0, QtCore.Qt.AlignHCenter)
        self.verticalLayout_6.addLayout(self.horizontalLayout_8)
        self.wrapperLayout.addLayout(self.verticalLayout_6)
        self.verticalWrapper.addLayout(self.wrapperLayout)
        self.verticalLayout.addLayout(self.verticalWrapper)

        self.retranslateUi(routing_widget)
        self.menu_widget.setCurrentRow(0)
        QtCore.QMetaObject.connectSlotsByName(routing_widget)

    def retranslateUi(self, routing_widget):
        _translate = QtCore.QCoreApplication.translate
        routing_widget.setWindowTitle(_translate("routing_widget", "Valhalla - Routing"))
        __sortingEnabled = self.menu_widget.isSortingEnabled()
        self.menu_widget.setSortingEnabled(False)
        item = self.menu_widget.item(0)
        item.setToolTip(_translate("routing_widget", "Routing"))
        item = self.menu_widget.item(1)
        item.setToolTip(_translate("routing_widget", "Isochrones"))
        item = self.menu_widget.item(2)
        item.setToolTip(_translate("routing_widget", "OD Matrix"))
        item = self.menu_widget.item(3)
        item.setToolTip(_translate("routing_widget", "Expansion"))
        self.menu_widget.setSortingEnabled(__sortingEnabled)
        self.router_box.setTitle(_translate("routing_widget", "Router"))
        self.waypoints_box.setTitle(_translate("routing_widget", "Waypoints"))
        self.label_2.setToolTip(_translate("routing_widget", "<html><head/><body><p>Iso intervals that will be computed for each input feature. You can specify up to four intervals.</p></body></html>"))
        self.label_2.setText(_translate("routing_widget", "Intervals"))
        self.ui_isochrone_intervals.setToolTip(_translate("routing_widget", "Comma-separated list of whole number metric values"))
        self.ui_isochrone_intervals.setPlaceholderText(_translate("routing_widget", "e.g.: 120, 240"))
        self.label_10.setToolTip(_translate("routing_widget", "<html><head/><body><table border=\"0\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;\" cellspacing=\"2\" cellpadding=\"0\"><tr><td/><td><p>A floating point value from <span style=\" font-family:\'Noto Sans Mono\';\">0</span> to <span style=\" font-family:\'Noto Sans Mono\';\">1</span> (default of <span style=\" font-family:\'Noto Sans Mono\';\">1</span>) which can be used to remove smaller contours. A value of <span style=\" font-family:\'Noto Sans Mono\';\">1</span> will only return the largest contour for a given time value. A value of <span style=\" font-family:\'Noto Sans Mono\';\">0.5</span> drops any contours that are less than half the area of the largest contour in the set of contours for that same time value.</p></td></tr></table></body></html>"))
        self.label_10.setText(_translate("routing_widget", "Denoise"))
        self.label_11.setToolTip(_translate("routing_widget", "<html><head/><body><p>A floating point value in meters used as the tolerance for Douglas-Peucker generalization. Note: Generalization of contours can lead to self-intersections, as well as intersections of adjacent contours.</p></body></html>"))
        self.label_11.setText(_translate("routing_widget", "Generalize"))
        self.ui_isochrone_time.setText(_translate("routing_widget", "Time (secs)"))
        self.ui_isochrone_distance.setText(_translate("routing_widget", "Distance (m)"))
        self.label_12.setText(_translate("routing_widget", "Metric"))
        self.label_13.setToolTip(_translate("routing_widget", "<html><head/><body><p>Analogous to isochrone intervals</p></body></html>"))
        self.label_13.setText(_translate("routing_widget", "Intervals"))
        self.ui_expansion_intervals.setToolTip(_translate("routing_widget", "Comma-separated list of whole number metric values"))
        self.ui_expansion_intervals.setPlaceholderText(_translate("routing_widget", "e.g.: 120, 240"))
        self.ui_expansion_time.setText(_translate("routing_widget", "Time (secs)"))
        self.ui_expansion_distance.setText(_translate("routing_widget", "Distance (m)"))
        self.label_14.setText(_translate("routing_widget", "Metric"))
        self.label_15.setText(_translate("routing_widget", "Other"))
        self.ui_expansion_dedupe.setToolTip(_translate("routing_widget", "If checked, the output will contain each edge only once, significantly reducing the response size"))
        self.ui_expansion_dedupe.setText(_translate("routing_widget", "Deduplicate"))
        self.ui_expansion_skip_opps.setToolTip(_translate("routing_widget", "If checked the output won\'t contain an edge\'s opposing edge"))
        self.ui_expansion_skip_opps.setText(_translate("routing_widget", "Skip Opposites"))
        self.options_box.setToolTip(_translate("routing_widget", "If checked, will use the below parameters for the request."))
        self.options_box.setTitle(_translate("routing_widget", "Options"))
        self.execute_btn.setText(_translate("routing_widget", "Execute"))
        self.ui_graph_btn.setToolTip(_translate("routing_widget", "Loads the current graph extent as polygon layer and checks for things like admins & tz dbs"))
from qgis import gui
