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

# Form implementation generated from reading ui file '/usr/obj/qgis-1.7.3/qgis-1.7.3/python/plugins/osm/ui_files/OsmDownloadDlg.ui'
#
# Created: Mon Jul 30 21:11:37 2012
#      by: PyQt4 UI code generator 4.8.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_OsmDownloadDlg(object):
    def setupUi(self, OsmDownloadDlg):
        OsmDownloadDlg.setObjectName(_fromUtf8("OsmDownloadDlg"))
        OsmDownloadDlg.setWindowModality(QtCore.Qt.ApplicationModal)
        OsmDownloadDlg.resize(595, 357)
        OsmDownloadDlg.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        OsmDownloadDlg.setToolTip(_fromUtf8(""))
        OsmDownloadDlg.setWhatsThis(_fromUtf8(""))
        OsmDownloadDlg.setModal(True)
        self.vboxlayout = QtGui.QVBoxLayout(OsmDownloadDlg)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.groupBox = QtGui.QGroupBox(OsmDownloadDlg)
        self.groupBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.vboxlayout1 = QtGui.QVBoxLayout(self.groupBox)
        self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridlayout.addWidget(self.label, 0, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridlayout.addWidget(self.label_4, 0, 2, 1, 1)
        self.latFromLineEdit = QtGui.QLineEdit(self.groupBox)
        self.latFromLineEdit.setEnabled(True)
        self.latFromLineEdit.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.latFromLineEdit.setObjectName(_fromUtf8("latFromLineEdit"))
        self.gridlayout.addWidget(self.latFromLineEdit, 0, 3, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridlayout.addWidget(self.label_6, 0, 4, 1, 1)
        self.latToLineEdit = QtGui.QLineEdit(self.groupBox)
        self.latToLineEdit.setEnabled(True)
        self.latToLineEdit.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.latToLineEdit.setObjectName(_fromUtf8("latToLineEdit"))
        self.gridlayout.addWidget(self.latToLineEdit, 0, 5, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridlayout.addWidget(self.label_2, 1, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridlayout.addWidget(self.label_5, 1, 2, 1, 1)
        self.lonFromLineEdit = QtGui.QLineEdit(self.groupBox)
        self.lonFromLineEdit.setEnabled(True)
        self.lonFromLineEdit.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lonFromLineEdit.setObjectName(_fromUtf8("lonFromLineEdit"))
        self.gridlayout.addWidget(self.lonFromLineEdit, 1, 3, 1, 1)
        self.label_7 = QtGui.QLabel(self.groupBox)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridlayout.addWidget(self.label_7, 1, 4, 1, 1)
        self.lonToLineEdit = QtGui.QLineEdit(self.groupBox)
        self.lonToLineEdit.setEnabled(True)
        self.lonToLineEdit.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lonToLineEdit.setObjectName(_fromUtf8("lonToLineEdit"))
        self.gridlayout.addWidget(self.lonToLineEdit, 1, 5, 1, 1)
        self.vboxlayout1.addLayout(self.gridlayout)
        spacerItem = QtGui.QSpacerItem(20, 8, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        self.vboxlayout1.addItem(spacerItem)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        spacerItem1 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem1)
        self.extentInfoLabel = QtGui.QLabel(self.groupBox)
        self.extentInfoLabel.setMargin(0)
        self.extentInfoLabel.setObjectName(_fromUtf8("extentInfoLabel"))
        self.hboxlayout.addWidget(self.extentInfoLabel)
        self.helpButton = QtGui.QToolButton(self.groupBox)
        self.helpButton.setMaximumSize(QtCore.QSize(23, 23))
        self.helpButton.setObjectName(_fromUtf8("helpButton"))
        self.hboxlayout.addWidget(self.helpButton)
        self.vboxlayout1.addLayout(self.hboxlayout)
        self.vboxlayout.addWidget(self.groupBox)
        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.label_9 = QtGui.QLabel(OsmDownloadDlg)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridlayout1.addWidget(self.label_9, 0, 0, 1, 2)
        self.destdirLineEdit = QtGui.QLineEdit(OsmDownloadDlg)
        self.destdirLineEdit.setEnabled(False)
        self.destdirLineEdit.setObjectName(_fromUtf8("destdirLineEdit"))
        self.gridlayout1.addWidget(self.destdirLineEdit, 1, 0, 1, 1)
        self.choosedirButton = QtGui.QPushButton(OsmDownloadDlg)
        self.choosedirButton.setObjectName(_fromUtf8("choosedirButton"))
        self.gridlayout1.addWidget(self.choosedirButton, 1, 1, 1, 1)
        self.vboxlayout.addLayout(self.gridlayout1)
        self.autoLoadCheckBox = QtGui.QCheckBox(OsmDownloadDlg)
        self.autoLoadCheckBox.setChecked(True)
        self.autoLoadCheckBox.setObjectName(_fromUtf8("autoLoadCheckBox"))
        self.vboxlayout.addWidget(self.autoLoadCheckBox)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
        spacerItem2 = QtGui.QSpacerItem(15, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem2)
        self.chkReplaceData = QtGui.QCheckBox(OsmDownloadDlg)
        self.chkReplaceData.setChecked(False)
        self.chkReplaceData.setObjectName(_fromUtf8("chkReplaceData"))
        self.hboxlayout1.addWidget(self.chkReplaceData)
        self.vboxlayout.addLayout(self.hboxlayout1)
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setSpacing(0)
        self.hboxlayout2.setContentsMargins(-1, 0, -1, -1)
        self.hboxlayout2.setObjectName(_fromUtf8("hboxlayout2"))
        spacerItem3 = QtGui.QSpacerItem(15, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem3)
        self.chkCustomRenderer = QtGui.QCheckBox(OsmDownloadDlg)
        self.chkCustomRenderer.setChecked(True)
        self.chkCustomRenderer.setObjectName(_fromUtf8("chkCustomRenderer"))
        self.hboxlayout2.addWidget(self.chkCustomRenderer)
        spacerItem4 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem4)
        self.styleCombo = QtGui.QComboBox(OsmDownloadDlg)
        self.styleCombo.setMinimumSize(QtCore.QSize(182, 0))
        self.styleCombo.setMaximumSize(QtCore.QSize(182, 16777215))
        self.styleCombo.setObjectName(_fromUtf8("styleCombo"))
        self.hboxlayout2.addWidget(self.styleCombo)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem5)
        self.vboxlayout.addLayout(self.hboxlayout2)
        self.hboxlayout3 = QtGui.QHBoxLayout()
        self.hboxlayout3.setObjectName(_fromUtf8("hboxlayout3"))
        spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout3.addItem(spacerItem6)
        self.downloadButton = QtGui.QPushButton(OsmDownloadDlg)
        self.downloadButton.setObjectName(_fromUtf8("downloadButton"))
        self.hboxlayout3.addWidget(self.downloadButton)
        self.cancelButton = QtGui.QPushButton(OsmDownloadDlg)
        self.cancelButton.setObjectName(_fromUtf8("cancelButton"))
        self.hboxlayout3.addWidget(self.cancelButton)
        self.vboxlayout.addLayout(self.hboxlayout3)

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

    def retranslateUi(self, OsmDownloadDlg):
        OsmDownloadDlg.setWindowTitle(QtGui.QApplication.translate("OsmDownloadDlg", "Download OSM data", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("OsmDownloadDlg", "Extent", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("OsmDownloadDlg", "Latitude:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("OsmDownloadDlg", "   From", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("OsmDownloadDlg", "To", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("OsmDownloadDlg", "Longitude:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("OsmDownloadDlg", "   From", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("OsmDownloadDlg", "To", None, QtGui.QApplication.UnicodeUTF8))
        self.extentInfoLabel.setText(QtGui.QApplication.translate("OsmDownloadDlg", "<nothing>", None, QtGui.QApplication.UnicodeUTF8))
        self.helpButton.setText(QtGui.QApplication.translate("OsmDownloadDlg", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("OsmDownloadDlg", "Download to:", None, QtGui.QApplication.UnicodeUTF8))
        self.choosedirButton.setText(QtGui.QApplication.translate("OsmDownloadDlg", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.autoLoadCheckBox.setText(QtGui.QApplication.translate("OsmDownloadDlg", "Open data automatically after download", None, QtGui.QApplication.UnicodeUTF8))
        self.chkReplaceData.setText(QtGui.QApplication.translate("OsmDownloadDlg", "Replace current data (current layer will be removed)", None, QtGui.QApplication.UnicodeUTF8))
        self.chkCustomRenderer.setText(QtGui.QApplication.translate("OsmDownloadDlg", "Use custom renderer", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadButton.setText(QtGui.QApplication.translate("OsmDownloadDlg", "Download", None, QtGui.QApplication.UnicodeUTF8))
        self.cancelButton.setText(QtGui.QApplication.translate("OsmDownloadDlg", "Cancel", None, QtGui.QApplication.UnicodeUTF8))

