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

# Form implementation generated from reading ui file 'D:/src/qgis-1.8.0/python/plugins/db_manager/ui/DlgAddGeometryColumn.ui'
#
# Created: Mon Jul 29 21:42:40 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_DlgAddGeometryColumn(object):
    def setupUi(self, DlgAddGeometryColumn):
        DlgAddGeometryColumn.setObjectName(_fromUtf8("DlgAddGeometryColumn"))
        DlgAddGeometryColumn.resize(297, 179)
        self.gridLayout = QtGui.QGridLayout(DlgAddGeometryColumn)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(DlgAddGeometryColumn)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.editName = QtGui.QLineEdit(DlgAddGeometryColumn)
        self.editName.setObjectName(_fromUtf8("editName"))
        self.gridLayout.addWidget(self.editName, 0, 1, 1, 2)
        self.label_2 = QtGui.QLabel(DlgAddGeometryColumn)
        self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.cboType = QtGui.QComboBox(DlgAddGeometryColumn)
        self.cboType.setObjectName(_fromUtf8("cboType"))
        self.cboType.addItem(_fromUtf8(""))
        self.cboType.addItem(_fromUtf8(""))
        self.cboType.addItem(_fromUtf8(""))
        self.cboType.addItem(_fromUtf8(""))
        self.cboType.addItem(_fromUtf8(""))
        self.cboType.addItem(_fromUtf8(""))
        self.cboType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cboType, 1, 1, 1, 2)
        self.label_3 = QtGui.QLabel(DlgAddGeometryColumn)
        self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.spinDim = QtGui.QSpinBox(DlgAddGeometryColumn)
        self.spinDim.setMinimum(2)
        self.spinDim.setMaximum(4)
        self.spinDim.setObjectName(_fromUtf8("spinDim"))
        self.gridLayout.addWidget(self.spinDim, 2, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 48, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 2, 2, 1)
        self.label_4 = QtGui.QLabel(DlgAddGeometryColumn)
        self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
        self.editSrid = QtGui.QLineEdit(DlgAddGeometryColumn)
        self.editSrid.setObjectName(_fromUtf8("editSrid"))
        self.gridLayout.addWidget(self.editSrid, 3, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(DlgAddGeometryColumn)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 3)

        self.retranslateUi(DlgAddGeometryColumn)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DlgAddGeometryColumn.reject)
        QtCore.QMetaObject.connectSlotsByName(DlgAddGeometryColumn)
        DlgAddGeometryColumn.setTabOrder(self.editName, self.cboType)
        DlgAddGeometryColumn.setTabOrder(self.cboType, self.spinDim)
        DlgAddGeometryColumn.setTabOrder(self.spinDim, self.editSrid)
        DlgAddGeometryColumn.setTabOrder(self.editSrid, self.buttonBox)

    def retranslateUi(self, DlgAddGeometryColumn):
        DlgAddGeometryColumn.setWindowTitle(QtGui.QApplication.translate("DlgAddGeometryColumn", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("DlgAddGeometryColumn", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.editName.setText(QtGui.QApplication.translate("DlgAddGeometryColumn", "geom", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("DlgAddGeometryColumn", "Type", None, QtGui.QApplication.UnicodeUTF8))
        self.cboType.setItemText(0, QtGui.QApplication.translate("DlgAddGeometryColumn", "POINT", None, QtGui.QApplication.UnicodeUTF8))
        self.cboType.setItemText(1, QtGui.QApplication.translate("DlgAddGeometryColumn", "LINESTRING", None, QtGui.QApplication.UnicodeUTF8))
        self.cboType.setItemText(2, QtGui.QApplication.translate("DlgAddGeometryColumn", "POLYGON", None, QtGui.QApplication.UnicodeUTF8))
        self.cboType.setItemText(3, QtGui.QApplication.translate("DlgAddGeometryColumn", "MULTIPOINT", None, QtGui.QApplication.UnicodeUTF8))
        self.cboType.setItemText(4, QtGui.QApplication.translate("DlgAddGeometryColumn", "MULTILINESTRING", None, QtGui.QApplication.UnicodeUTF8))
        self.cboType.setItemText(5, QtGui.QApplication.translate("DlgAddGeometryColumn", "MULTIPOLYGON", None, QtGui.QApplication.UnicodeUTF8))
        self.cboType.setItemText(6, QtGui.QApplication.translate("DlgAddGeometryColumn", "GEOMETRYCOLLECTION", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("DlgAddGeometryColumn", "Dimensions", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("DlgAddGeometryColumn", "SRID", None, QtGui.QApplication.UnicodeUTF8))
        self.editSrid.setText(QtGui.QApplication.translate("DlgAddGeometryColumn", "-1", None, QtGui.QApplication.UnicodeUTF8))

