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

# Form implementation generated from reading ui file 'D:/src/qgis-1.8.0/python/plugins/db_manager/ui/DlgImportVector.ui'
#
# Created: Mon Jul 15 10:11:12 2013
#      by: PyQt4 UI code generator 4.8.3
#
# 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_DlgImportVector(object):
    def setupUi(self, DlgImportVector):
        DlgImportVector.setObjectName(_fromUtf8("DlgImportVector"))
        DlgImportVector.resize(514, 461)
        self.vboxlayout = QtGui.QVBoxLayout(DlgImportVector)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.label_2 = QtGui.QLabel(DlgImportVector)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridlayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.cboSchema = QtGui.QComboBox(DlgImportVector)
        self.cboSchema.setObjectName(_fromUtf8("cboSchema"))
        self.gridlayout.addWidget(self.cboSchema, 0, 1, 1, 2)
        self.label_3 = QtGui.QLabel(DlgImportVector)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridlayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.cboTable = QtGui.QComboBox(DlgImportVector)
        self.cboTable.setEditable(True)
        self.cboTable.setObjectName(_fromUtf8("cboTable"))
        self.gridlayout.addWidget(self.cboTable, 1, 1, 1, 2)
        self.vboxlayout.addLayout(self.gridlayout)
        self.groupBox = QtGui.QGroupBox(DlgImportVector)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.vboxlayout1 = QtGui.QVBoxLayout(self.groupBox)
        self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
        self.radCreate = QtGui.QRadioButton(self.groupBox)
        self.radCreate.setChecked(True)
        self.radCreate.setObjectName(_fromUtf8("radCreate"))
        self.vboxlayout1.addWidget(self.radCreate)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.chkDropTable = QtGui.QCheckBox(self.groupBox)
        self.chkDropTable.setObjectName(_fromUtf8("chkDropTable"))
        self.hboxlayout.addWidget(self.chkDropTable)
        self.vboxlayout1.addLayout(self.hboxlayout)
        self.radAppend = QtGui.QRadioButton(self.groupBox)
        self.radAppend.setEnabled(False)
        self.radAppend.setObjectName(_fromUtf8("radAppend"))
        self.vboxlayout1.addWidget(self.radAppend)
        self.vboxlayout.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(DlgImportVector)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.chkPrimaryKey = QtGui.QCheckBox(self.groupBox_2)
        self.chkPrimaryKey.setObjectName(_fromUtf8("chkPrimaryKey"))
        self.gridLayout.addWidget(self.chkPrimaryKey, 0, 0, 1, 1)
        self.editPrimaryKey = QtGui.QLineEdit(self.groupBox_2)
        self.editPrimaryKey.setObjectName(_fromUtf8("editPrimaryKey"))
        self.gridLayout.addWidget(self.editPrimaryKey, 0, 1, 1, 1)
        self.chkGeomColumn = QtGui.QCheckBox(self.groupBox_2)
        self.chkGeomColumn.setObjectName(_fromUtf8("chkGeomColumn"))
        self.gridLayout.addWidget(self.chkGeomColumn, 1, 0, 1, 1)
        self.editGeomColumn = QtGui.QLineEdit(self.groupBox_2)
        self.editGeomColumn.setObjectName(_fromUtf8("editGeomColumn"))
        self.gridLayout.addWidget(self.editGeomColumn, 1, 1, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.chkSourceSrid = QtGui.QCheckBox(self.groupBox_2)
        self.chkSourceSrid.setObjectName(_fromUtf8("chkSourceSrid"))
        self.horizontalLayout.addWidget(self.chkSourceSrid)
        self.editSourceSrid = QtGui.QLineEdit(self.groupBox_2)
        self.editSourceSrid.setObjectName(_fromUtf8("editSourceSrid"))
        self.horizontalLayout.addWidget(self.editSourceSrid)
        self.chkTargetSrid = QtGui.QCheckBox(self.groupBox_2)
        self.chkTargetSrid.setObjectName(_fromUtf8("chkTargetSrid"))
        self.horizontalLayout.addWidget(self.chkTargetSrid)
        self.editTargetSrid = QtGui.QLineEdit(self.groupBox_2)
        self.editTargetSrid.setObjectName(_fromUtf8("editTargetSrid"))
        self.horizontalLayout.addWidget(self.editTargetSrid)
        self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 2)
        self.chkEncoding = QtGui.QCheckBox(self.groupBox_2)
        self.chkEncoding.setObjectName(_fromUtf8("chkEncoding"))
        self.gridLayout.addWidget(self.chkEncoding, 3, 0, 1, 1)
        self.cboEncoding = QtGui.QComboBox(self.groupBox_2)
        self.cboEncoding.setEditable(True)
        self.cboEncoding.setObjectName(_fromUtf8("cboEncoding"))
        self.gridLayout.addWidget(self.cboEncoding, 3, 1, 1, 1)
        self.chkSinglePart = QtGui.QCheckBox(self.groupBox_2)
        self.chkSinglePart.setEnabled(False)
        self.chkSinglePart.setObjectName(_fromUtf8("chkSinglePart"))
        self.gridLayout.addWidget(self.chkSinglePart, 4, 0, 1, 2)
        self.chkSpatialIndex = QtGui.QCheckBox(self.groupBox_2)
        self.chkSpatialIndex.setObjectName(_fromUtf8("chkSpatialIndex"))
        self.gridLayout.addWidget(self.chkSpatialIndex, 5, 0, 1, 2)
        self.vboxlayout.addWidget(self.groupBox_2)
        self.buttonBox = QtGui.QDialogButtonBox(DlgImportVector)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(DlgImportVector)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DlgImportVector.reject)
        QtCore.QMetaObject.connectSlotsByName(DlgImportVector)
        DlgImportVector.setTabOrder(self.cboSchema, self.cboTable)
        DlgImportVector.setTabOrder(self.cboTable, self.radCreate)
        DlgImportVector.setTabOrder(self.radCreate, self.chkDropTable)
        DlgImportVector.setTabOrder(self.chkDropTable, self.radAppend)
        DlgImportVector.setTabOrder(self.radAppend, self.chkSourceSrid)
        DlgImportVector.setTabOrder(self.chkSourceSrid, self.editSourceSrid)
        DlgImportVector.setTabOrder(self.editSourceSrid, self.chkEncoding)
        DlgImportVector.setTabOrder(self.chkEncoding, self.cboEncoding)
        DlgImportVector.setTabOrder(self.cboEncoding, self.chkSinglePart)
        DlgImportVector.setTabOrder(self.chkSinglePart, self.chkSpatialIndex)
        DlgImportVector.setTabOrder(self.chkSpatialIndex, self.buttonBox)

    def retranslateUi(self, DlgImportVector):
        DlgImportVector.setWindowTitle(QtGui.QApplication.translate("DlgImportVector", "Import vector layer", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("DlgImportVector", "Schema:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("DlgImportVector", "Table:", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("DlgImportVector", "Action", None, QtGui.QApplication.UnicodeUTF8))
        self.radCreate.setText(QtGui.QApplication.translate("DlgImportVector", "Create new table", None, QtGui.QApplication.UnicodeUTF8))
        self.chkDropTable.setText(QtGui.QApplication.translate("DlgImportVector", "Drop existing one", None, QtGui.QApplication.UnicodeUTF8))
        self.radAppend.setText(QtGui.QApplication.translate("DlgImportVector", "Append data into table", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("DlgImportVector", "Options", None, QtGui.QApplication.UnicodeUTF8))
        self.chkPrimaryKey.setText(QtGui.QApplication.translate("DlgImportVector", "Primary key:", None, QtGui.QApplication.UnicodeUTF8))
        self.chkGeomColumn.setText(QtGui.QApplication.translate("DlgImportVector", "Geometry column:", None, QtGui.QApplication.UnicodeUTF8))
        self.chkSourceSrid.setText(QtGui.QApplication.translate("DlgImportVector", "Source SRID:", None, QtGui.QApplication.UnicodeUTF8))
        self.chkTargetSrid.setText(QtGui.QApplication.translate("DlgImportVector", "Target SRID:", None, QtGui.QApplication.UnicodeUTF8))
        self.chkEncoding.setText(QtGui.QApplication.translate("DlgImportVector", "Encoding:", None, QtGui.QApplication.UnicodeUTF8))
        self.chkSinglePart.setText(QtGui.QApplication.translate("DlgImportVector", "Create single-part geometries instead of multi-part", None, QtGui.QApplication.UnicodeUTF8))
        self.chkSpatialIndex.setText(QtGui.QApplication.translate("DlgImportVector", "Create spatial index", None, QtGui.QApplication.UnicodeUTF8))

