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

# Form implementation generated from reading ui file 'D:/src/qgis-1.8.0/python/plugins/db_manager/ui/DlgFieldProperties.ui'
#
# Created: Mon Jul 29 21:42:38 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_DlgFieldProperties(object):
    def setupUi(self, DlgFieldProperties):
        DlgFieldProperties.setObjectName(_fromUtf8("DlgFieldProperties"))
        DlgFieldProperties.resize(261, 247)
        self.vboxlayout = QtGui.QVBoxLayout(DlgFieldProperties)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.label = QtGui.QLabel(DlgFieldProperties)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.editName = QtGui.QLineEdit(DlgFieldProperties)
        self.editName.setObjectName(_fromUtf8("editName"))
        self.gridlayout.addWidget(self.editName, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(DlgFieldProperties)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridlayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.cboType = QtGui.QComboBox(DlgFieldProperties)
        self.cboType.setEditable(True)
        self.cboType.setObjectName(_fromUtf8("cboType"))
        self.gridlayout.addWidget(self.cboType, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(DlgFieldProperties)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridlayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.chkNull = QtGui.QCheckBox(DlgFieldProperties)
        self.chkNull.setText(_fromUtf8(""))
        self.chkNull.setChecked(True)
        self.chkNull.setObjectName(_fromUtf8("chkNull"))
        self.gridlayout.addWidget(self.chkNull, 3, 1, 1, 1)
        self.label_4 = QtGui.QLabel(DlgFieldProperties)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridlayout.addWidget(self.label_4, 4, 0, 1, 1)
        self.editDefault = QtGui.QLineEdit(DlgFieldProperties)
        self.editDefault.setObjectName(_fromUtf8("editDefault"))
        self.gridlayout.addWidget(self.editDefault, 4, 1, 1, 1)
        self.label_5 = QtGui.QLabel(DlgFieldProperties)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridlayout.addWidget(self.label_5, 2, 0, 1, 1)
        self.editLength = QtGui.QLineEdit(DlgFieldProperties)
        self.editLength.setObjectName(_fromUtf8("editLength"))
        self.gridlayout.addWidget(self.editLength, 2, 1, 1, 1)
        self.vboxlayout.addLayout(self.gridlayout)
        self.buttonBox = QtGui.QDialogButtonBox(DlgFieldProperties)
        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(DlgFieldProperties)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DlgFieldProperties.reject)
        QtCore.QMetaObject.connectSlotsByName(DlgFieldProperties)
        DlgFieldProperties.setTabOrder(self.editName, self.cboType)
        DlgFieldProperties.setTabOrder(self.cboType, self.editLength)
        DlgFieldProperties.setTabOrder(self.editLength, self.chkNull)
        DlgFieldProperties.setTabOrder(self.chkNull, self.editDefault)
        DlgFieldProperties.setTabOrder(self.editDefault, self.buttonBox)

    def retranslateUi(self, DlgFieldProperties):
        DlgFieldProperties.setWindowTitle(QtGui.QApplication.translate("DlgFieldProperties", "Field properties", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("DlgFieldProperties", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("DlgFieldProperties", "Type", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("DlgFieldProperties", "Can be NULL", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("DlgFieldProperties", "Default value", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("DlgFieldProperties", "Length", None, QtGui.QApplication.UnicodeUTF8))

