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

# Form implementation generated from reading ui file 'ui/main_window.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_ui_main_window(object):
    def setupUi(self, ui_main_window):
        ui_main_window.setObjectName("ui_main_window")
        ui_main_window.setWindowModality(QtCore.Qt.WindowModal)
        ui_main_window.resize(820, 620)
        ui_main_window.setWindowTitle("QuickOSM")
        self.horizontalLayout = QtWidgets.QHBoxLayout(ui_main_window)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.listWidget = QtWidgets.QListWidget(ui_main_window)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.listWidget.sizePolicy().hasHeightForWidth())
        self.listWidget.setSizePolicy(sizePolicy)
        self.listWidget.setMinimumSize(QtCore.QSize(100, 200))
        self.listWidget.setMaximumSize(QtCore.QSize(153, 16777215))
        self.listWidget.setStyleSheet("QListWidget{\n"
"    background-color: rgb(69, 69, 69, 220);\n"
"    outline: 0;\n"
"}\n"
"QListWidget::item {\n"
"    color: white;\n"
"    padding: 3px;\n"
"}\n"
"QListWidget::item::selected {\n"
"    color: black;\n"
"    background-color:palette(Window);\n"
"    padding-right: 0px;\n"
"}")
        self.listWidget.setFrameShape(QtWidgets.QFrame.Box)
        self.listWidget.setLineWidth(0)
        self.listWidget.setIconSize(QtCore.QSize(32, 32))
        self.listWidget.setUniformItemSizes(True)
        self.listWidget.setObjectName("listWidget")
        item = QtWidgets.QListWidgetItem()
        self.listWidget.addItem(item)
        item = QtWidgets.QListWidgetItem()
        self.listWidget.addItem(item)
        item = QtWidgets.QListWidgetItem()
        self.listWidget.addItem(item)
        item = QtWidgets.QListWidgetItem()
        self.listWidget.addItem(item)
        item = QtWidgets.QListWidgetItem()
        self.listWidget.addItem(item)
        self.horizontalLayout.addWidget(self.listWidget)
        self.verticalLayout_13 = QtWidgets.QVBoxLayout()
        self.verticalLayout_13.setObjectName("verticalLayout_13")
        self.messageBar = QgsMessageBar(ui_main_window)
        self.messageBar.setObjectName("messageBar")
        self.verticalLayout_13.addWidget(self.messageBar)
        self.stackedWidget = QtWidgets.QStackedWidget(ui_main_window)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.stackedWidget.sizePolicy().hasHeightForWidth())
        self.stackedWidget.setSizePolicy(sizePolicy)
        self.stackedWidget.setMinimumSize(QtCore.QSize(300, 200))
        self.stackedWidget.setObjectName("stackedWidget")
        self.quick_query = QuickQueryWidget()
        self.quick_query.setObjectName("quick_query")
        self.stackedWidget.addWidget(self.quick_query)
        self.query = QueryWidget()
        self.query.setObjectName("query")
        self.stackedWidget.addWidget(self.query)
        self.osm_file = OsmFileWidget()
        self.osm_file.setObjectName("osm_file")
        self.stackedWidget.addWidget(self.osm_file)
        self.parameters = QtWidgets.QWidget()
        self.parameters.setObjectName("parameters")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.parameters)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.groupBox = QtWidgets.QGroupBox(self.parameters)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.comboBox_default_OAPI = QtWidgets.QComboBox(self.groupBox)
        self.comboBox_default_OAPI.setObjectName("comboBox_default_OAPI")
        self.horizontalLayout_8.addWidget(self.comboBox_default_OAPI)
        self.verticalLayout.addLayout(self.horizontalLayout_8)
        self.timestamp_group = QtWidgets.QGroupBox(self.groupBox)
        self.timestamp_group.setObjectName("timestamp_group")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.timestamp_group)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.pushButton_OAPI_timestamp = QtWidgets.QPushButton(self.timestamp_group)
        self.pushButton_OAPI_timestamp.setObjectName("pushButton_OAPI_timestamp")
        self.horizontalLayout_2.addWidget(self.pushButton_OAPI_timestamp)
        self.label_timestamp_oapi = QtWidgets.QLabel(self.timestamp_group)
        self.label_timestamp_oapi.setObjectName("label_timestamp_oapi")
        self.horizontalLayout_2.addWidget(self.label_timestamp_oapi)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.verticalLayout.addWidget(self.timestamp_group)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.restore_queries_group = QtWidgets.QGroupBox(self.parameters)
        self.restore_queries_group.setEnabled(False)
        self.restore_queries_group.setObjectName("restore_queries_group")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.restore_queries_group)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.pushButton_restoreQueries = QtWidgets.QPushButton(self.restore_queries_group)
        self.pushButton_restoreQueries.setObjectName("pushButton_restoreQueries")
        self.horizontalLayout_7.addWidget(self.pushButton_restoreQueries)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem)
        self.verticalLayout_10.addLayout(self.horizontalLayout_7)
        self.verticalLayout_2.addWidget(self.restore_queries_group)
        self.output_format_option = QtWidgets.QGroupBox(self.parameters)
        self.output_format_option.setObjectName("output_format_option")
        self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.output_format_option)
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.radioButton_outputJson = QtWidgets.QRadioButton(self.output_format_option)
        self.radioButton_outputJson.setObjectName("radioButton_outputJson")
        self.verticalLayout_11.addWidget(self.radioButton_outputJson)
        self.radioButton_outputShape = QtWidgets.QRadioButton(self.output_format_option)
        self.radioButton_outputShape.setObjectName("radioButton_outputShape")
        self.verticalLayout_11.addWidget(self.radioButton_outputShape)
        self.verticalLayout_2.addWidget(self.output_format_option)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem1)
        self.stackedWidget.addWidget(self.parameters)
        self.about = QtWidgets.QWidget()
        self.about.setObjectName("about")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.about)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.scrollArea_2 = QtWidgets.QScrollArea(self.about)
        self.scrollArea_2.setWidgetResizable(True)
        self.scrollArea_2.setObjectName("scrollArea_2")
        self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 645, 592))
        self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_2)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.groupBox_2 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
        self.groupBox_2.setObjectName("groupBox_2")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_13 = QtWidgets.QLabel(self.groupBox_2)
        self.label_13.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.label_13.setText("<html><head/><body><p>Etienne Trimaille</p></body></html>")
        self.label_13.setScaledContents(False)
        self.label_13.setOpenExternalLinks(True)
        self.label_13.setObjectName("label_13")
        self.horizontalLayout_5.addWidget(self.label_13)
        self.label_14 = QtWidgets.QLabel(self.groupBox_2)
        self.label_14.setText("<a href=\"mailto:etienne@trimaille.eu?subject=Plugin QuickOSM - About\" style=\"color:#7BA11A;text-decoration:none;\">etienne@trimaille.eu</a>")
        self.label_14.setOpenExternalLinks(True)
        self.label_14.setObjectName("label_14")
        self.horizontalLayout_5.addWidget(self.label_14)
        self.horizontalLayout_6.addLayout(self.horizontalLayout_5)
        self.verticalLayout_9.addWidget(self.groupBox_2)
        self.groupBox_8 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
        self.groupBox_8.setObjectName("groupBox_8")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.groupBox_8)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.verticalLayout_12 = QtWidgets.QVBoxLayout()
        self.verticalLayout_12.setObjectName("verticalLayout_12")
        self.label_18 = QtWidgets.QLabel(self.groupBox_8)
        self.label_18.setScaledContents(True)
        self.label_18.setWordWrap(True)
        self.label_18.setObjectName("label_18")
        self.verticalLayout_12.addWidget(self.label_18)
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.label_21 = QtWidgets.QLabel(self.groupBox_8)
        self.label_21.setObjectName("label_21")
        self.horizontalLayout_14.addWidget(self.label_21)
        self.label_22 = QtWidgets.QLabel(self.groupBox_8)
        self.label_22.setText("Antony Bartolo")
        self.label_22.setObjectName("label_22")
        self.horizontalLayout_14.addWidget(self.label_22)
        self.verticalLayout_12.addLayout(self.horizontalLayout_14)
        self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_15.setObjectName("horizontalLayout_15")
        self.label_23 = QtWidgets.QLabel(self.groupBox_8)
        self.label_23.setObjectName("label_23")
        self.horizontalLayout_15.addWidget(self.label_23)
        self.label_24 = QtWidgets.QLabel(self.groupBox_8)
        self.label_24.setText("Kari Salovaara")
        self.label_24.setObjectName("label_24")
        self.horizontalLayout_15.addWidget(self.label_24)
        self.verticalLayout_12.addLayout(self.horizontalLayout_15)
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.label_17 = QtWidgets.QLabel(self.groupBox_8)
        self.label_17.setObjectName("label_17")
        self.horizontalLayout_13.addWidget(self.label_17)
        self.label_9 = QtWidgets.QLabel(self.groupBox_8)
        self.label_9.setText("Etienne Trimaille")
        self.label_9.setObjectName("label_9")
        self.horizontalLayout_13.addWidget(self.label_9)
        self.verticalLayout_12.addLayout(self.horizontalLayout_13)
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.label_6 = QtWidgets.QLabel(self.groupBox_8)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_12.addWidget(self.label_6)
        self.label_5 = QtWidgets.QLabel(self.groupBox_8)
        self.label_5.setText("Thomas Moenkemeier")
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_12.addWidget(self.label_5)
        self.verticalLayout_12.addLayout(self.horizontalLayout_12)
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.label_8 = QtWidgets.QLabel(self.groupBox_8)
        self.label_8.setObjectName("label_8")
        self.horizontalLayout_11.addWidget(self.label_8)
        self.label_7 = QtWidgets.QLabel(self.groupBox_8)
        self.label_7.setText("Francesco Bisantis")
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_11.addWidget(self.label_7)
        self.verticalLayout_12.addLayout(self.horizontalLayout_11)
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.label_4 = QtWidgets.QLabel(self.groupBox_8)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_10.addWidget(self.label_4)
        self.label_3 = QtWidgets.QLabel(self.groupBox_8)
        self.label_3.setText("<a href=\"https://github.com/freeExec\" style=\"color:#7BA11A;text-decoration:none;\">freeExec</a>")
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_10.addWidget(self.label_3)
        self.verticalLayout_12.addLayout(self.horizontalLayout_10)
        self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_16.setObjectName("horizontalLayout_16")
        self.label_26 = QtWidgets.QLabel(self.groupBox_8)
        self.label_26.setObjectName("label_26")
        self.horizontalLayout_16.addWidget(self.label_26)
        self.label_25 = QtWidgets.QLabel(self.groupBox_8)
        self.label_25.setText("Supaplextw")
        self.label_25.setObjectName("label_25")
        self.horizontalLayout_16.addWidget(self.label_25)
        self.verticalLayout_12.addLayout(self.horizontalLayout_16)
        self.horizontalLayout_9.addLayout(self.verticalLayout_12)
        self.verticalLayout_9.addWidget(self.groupBox_8)
        self.groupBox_6 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
        self.groupBox_6.setObjectName("groupBox_6")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupBox_6)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label_19 = QtWidgets.QLabel(self.groupBox_6)
        self.label_19.setObjectName("label_19")
        self.gridLayout_4.addWidget(self.label_19, 0, 0, 1, 1)
        self.label_20 = QtWidgets.QLabel(self.groupBox_6)
        self.label_20.setText("<a href=\"https://github.com/3liz/QgisQuickOSMPlugin\" style=\"color:#7BA11A;text-decoration:none;\">https://github.com/3liz/QgisQuickOSMPlugin</a>")
        self.label_20.setOpenExternalLinks(True)
        self.label_20.setObjectName("label_20")
        self.gridLayout_4.addWidget(self.label_20, 0, 1, 1, 1)
        self.verticalLayout_8.addLayout(self.gridLayout_4)
        self.verticalLayout_9.addWidget(self.groupBox_6)
        self.groupBox_4 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
        self.groupBox_4.setObjectName("groupBox_4")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label = QtWidgets.QLabel(self.groupBox_4)
        self.label.setText("OpenStreetMap")
        self.label.setObjectName("label")
        self.gridLayout_3.addWidget(self.label, 2, 0, 1, 1)
        self.label_gnu = QtWidgets.QLabel(self.groupBox_4)
        self.label_gnu.setText("")
        self.label_gnu.setAlignment(QtCore.Qt.AlignCenter)
        self.label_gnu.setOpenExternalLinks(True)
        self.label_gnu.setObjectName("label_gnu")
        self.gridLayout_3.addWidget(self.label_gnu, 1, 1, 1, 1)
        self.label_15 = QtWidgets.QLabel(self.groupBox_4)
        self.label_15.setText("Plugin : Licence GPL Version 2")
        self.label_15.setObjectName("label_15")
        self.gridLayout_3.addWidget(self.label_15, 1, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.groupBox_4)
        self.label_2.setText("<html><head/><body><p>ODBL : © OpenStreetMap\'s contributors </p><p><a href=\"http://www.openstreetmap.org/copyright\"><span style=\" text-decoration: underline; color:#0057ae;\">http://www.openstreetmap.org/copyright</span></a></p></body></html>")
        self.label_2.setObjectName("label_2")
        self.gridLayout_3.addWidget(self.label_2, 2, 1, 1, 1)
        self.verticalLayout_6.addLayout(self.gridLayout_3)
        self.verticalLayout_9.addWidget(self.groupBox_4)
        self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
        self.verticalLayout_4.addWidget(self.scrollArea_2)
        self.stackedWidget.addWidget(self.about)
        self.verticalLayout_13.addWidget(self.stackedWidget)
        self.horizontalLayout.addLayout(self.verticalLayout_13)

        self.retranslateUi(ui_main_window)
        self.listWidget.setCurrentRow(-1)
        self.stackedWidget.setCurrentIndex(3)
        self.listWidget.currentRowChanged['int'].connect(self.stackedWidget.setCurrentIndex)
        QtCore.QMetaObject.connectSlotsByName(ui_main_window)
        ui_main_window.setTabOrder(self.pushButton_OAPI_timestamp, self.listWidget)

    def retranslateUi(self, ui_main_window):
        _translate = QtCore.QCoreApplication.translate
        __sortingEnabled = self.listWidget.isSortingEnabled()
        self.listWidget.setSortingEnabled(False)
        item = self.listWidget.item(0)
        item.setText(_translate("ui_main_window", "Quick query"))
        item = self.listWidget.item(1)
        item.setText(_translate("ui_main_window", "Query"))
        item = self.listWidget.item(2)
        item.setText(_translate("ui_main_window", "OSM File"))
        item = self.listWidget.item(3)
        item.setText(_translate("ui_main_window", "Parameters"))
        item = self.listWidget.item(4)
        item.setText(_translate("ui_main_window", "About"))
        self.listWidget.setSortingEnabled(__sortingEnabled)
        self.groupBox.setTitle(_translate("ui_main_window", "Overpass API"))
        self.timestamp_group.setTitle(_translate("ui_main_window", "Timestamp"))
        self.pushButton_OAPI_timestamp.setText(_translate("ui_main_window", "Get timestamp"))
        self.label_timestamp_oapi.setText(_translate("ui_main_window", "unknow"))
        self.restore_queries_group.setTitle(_translate("ui_main_window", "Queries"))
        self.pushButton_restoreQueries.setText(_translate("ui_main_window", "Restore queries"))
        self.output_format_option.setTitle(_translate("ui_main_window", "Outputs"))
        self.radioButton_outputJson.setText(_translate("ui_main_window", "GeoJSON (not editable, column\'s name longer)"))
        self.radioButton_outputShape.setText(_translate("ui_main_window", "Shapefile (editable, column\'s name shorter)"))
        self.groupBox_2.setTitle(_translate("ui_main_window", "Realization"))
        self.groupBox_8.setTitle(_translate("ui_main_window", "Translators"))
        self.label_18.setText(_translate("ui_main_window", "<html><head/><body><p>The web-based translating platform <a href=\"https://www.transifex.com/projects/p/gui/\"><span style=\" text-decoration: underline; color:#0057ae;\">Transifex</span></a> is used. It\'s easier for translators.</p></body></html>"))
        self.label_21.setText(_translate("ui_main_window", "Dutch"))
        self.label_23.setText(_translate("ui_main_window", "Finnish"))
        self.label_17.setText(_translate("ui_main_window", "French"))
        self.label_6.setText(_translate("ui_main_window", "German"))
        self.label_8.setText(_translate("ui_main_window", "Italian"))
        self.label_4.setText(_translate("ui_main_window", "Russian"))
        self.label_26.setText(_translate("ui_main_window", "Taiwanese Mandarin"))
        self.groupBox_6.setTitle(_translate("ui_main_window", "Sources"))
        self.label_19.setText(_translate("ui_main_window", "Github\'s repository"))
        self.groupBox_4.setTitle(_translate("ui_main_window", "Licence"))

from .osm_file_dialog import OsmFileWidget
from .query_dialog import QueryWidget
from .quick_query_dialog import QuickQueryWidget
from qgis.gui import QgsMessageBar
