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

# Form implementation generated from reading ui file 'D:/src/qgis-1.8.0/python/plugins/db_manager/ui/DlgTableProperties.ui'
#
# Created: Mon Jul 29 21:42:37 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_DlgTableProperties(object):
    def setupUi(self, DlgTableProperties):
        DlgTableProperties.setObjectName(_fromUtf8("DlgTableProperties"))
        DlgTableProperties.resize(531, 435)
        self.vboxlayout = QtGui.QVBoxLayout(DlgTableProperties)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.tabs = QtGui.QTabWidget(DlgTableProperties)
        self.tabs.setObjectName(_fromUtf8("tabs"))
        self.tabColumns = QtGui.QWidget()
        self.tabColumns.setObjectName(_fromUtf8("tabColumns"))
        self.vboxlayout1 = QtGui.QVBoxLayout(self.tabColumns)
        self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
        self.label = QtGui.QLabel(self.tabColumns)
        self.label.setObjectName(_fromUtf8("label"))
        self.vboxlayout1.addWidget(self.label)
        self.viewFields = QtGui.QTreeView(self.tabColumns)
        self.viewFields.setRootIsDecorated(False)
        self.viewFields.setObjectName(_fromUtf8("viewFields"))
        self.vboxlayout1.addWidget(self.viewFields)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.btnAddColumn = QtGui.QPushButton(self.tabColumns)
        self.btnAddColumn.setObjectName(_fromUtf8("btnAddColumn"))
        self.hboxlayout.addWidget(self.btnAddColumn)
        self.btnAddGeometryColumn = QtGui.QPushButton(self.tabColumns)
        self.btnAddGeometryColumn.setObjectName(_fromUtf8("btnAddGeometryColumn"))
        self.hboxlayout.addWidget(self.btnAddGeometryColumn)
        self.btnEditColumn = QtGui.QPushButton(self.tabColumns)
        self.btnEditColumn.setObjectName(_fromUtf8("btnEditColumn"))
        self.hboxlayout.addWidget(self.btnEditColumn)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.btnDeleteColumn = QtGui.QPushButton(self.tabColumns)
        self.btnDeleteColumn.setObjectName(_fromUtf8("btnDeleteColumn"))
        self.hboxlayout.addWidget(self.btnDeleteColumn)
        self.vboxlayout1.addLayout(self.hboxlayout)
        self.tabs.addTab(self.tabColumns, _fromUtf8(""))
        self.tabConstraints = QtGui.QWidget()
        self.tabConstraints.setObjectName(_fromUtf8("tabConstraints"))
        self.vboxlayout2 = QtGui.QVBoxLayout(self.tabConstraints)
        self.vboxlayout2.setObjectName(_fromUtf8("vboxlayout2"))
        self.label_3 = QtGui.QLabel(self.tabConstraints)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.vboxlayout2.addWidget(self.label_3)
        self.viewConstraints = QtGui.QTreeView(self.tabConstraints)
        self.viewConstraints.setRootIsDecorated(False)
        self.viewConstraints.setObjectName(_fromUtf8("viewConstraints"))
        self.vboxlayout2.addWidget(self.viewConstraints)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
        self.btnAddConstraint = QtGui.QPushButton(self.tabConstraints)
        self.btnAddConstraint.setObjectName(_fromUtf8("btnAddConstraint"))
        self.hboxlayout1.addWidget(self.btnAddConstraint)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem1)
        self.btnDeleteConstraint = QtGui.QPushButton(self.tabConstraints)
        self.btnDeleteConstraint.setObjectName(_fromUtf8("btnDeleteConstraint"))
        self.hboxlayout1.addWidget(self.btnDeleteConstraint)
        self.vboxlayout2.addLayout(self.hboxlayout1)
        self.tabs.addTab(self.tabConstraints, _fromUtf8(""))
        self.tabIndexes = QtGui.QWidget()
        self.tabIndexes.setObjectName(_fromUtf8("tabIndexes"))
        self.vboxlayout3 = QtGui.QVBoxLayout(self.tabIndexes)
        self.vboxlayout3.setObjectName(_fromUtf8("vboxlayout3"))
        self.label_2 = QtGui.QLabel(self.tabIndexes)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.vboxlayout3.addWidget(self.label_2)
        self.viewIndexes = QtGui.QTreeView(self.tabIndexes)
        self.viewIndexes.setRootIsDecorated(False)
        self.viewIndexes.setObjectName(_fromUtf8("viewIndexes"))
        self.vboxlayout3.addWidget(self.viewIndexes)
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName(_fromUtf8("hboxlayout2"))
        self.btnAddIndex = QtGui.QPushButton(self.tabIndexes)
        self.btnAddIndex.setObjectName(_fromUtf8("btnAddIndex"))
        self.hboxlayout2.addWidget(self.btnAddIndex)
        self.btnAddSpatialIndex = QtGui.QPushButton(self.tabIndexes)
        self.btnAddSpatialIndex.setObjectName(_fromUtf8("btnAddSpatialIndex"))
        self.hboxlayout2.addWidget(self.btnAddSpatialIndex)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem2)
        self.btnDeleteIndex = QtGui.QPushButton(self.tabIndexes)
        self.btnDeleteIndex.setObjectName(_fromUtf8("btnDeleteIndex"))
        self.hboxlayout2.addWidget(self.btnDeleteIndex)
        self.vboxlayout3.addLayout(self.hboxlayout2)
        self.tabs.addTab(self.tabIndexes, _fromUtf8(""))
        self.vboxlayout.addWidget(self.tabs)
        self.buttonBox = QtGui.QDialogButtonBox(DlgTableProperties)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(DlgTableProperties)
        self.tabs.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), DlgTableProperties.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DlgTableProperties.reject)
        QtCore.QMetaObject.connectSlotsByName(DlgTableProperties)
        DlgTableProperties.setTabOrder(self.tabs, self.viewFields)
        DlgTableProperties.setTabOrder(self.viewFields, self.btnAddColumn)
        DlgTableProperties.setTabOrder(self.btnAddColumn, self.btnAddGeometryColumn)
        DlgTableProperties.setTabOrder(self.btnAddGeometryColumn, self.btnEditColumn)
        DlgTableProperties.setTabOrder(self.btnEditColumn, self.btnDeleteColumn)
        DlgTableProperties.setTabOrder(self.btnDeleteColumn, self.viewConstraints)
        DlgTableProperties.setTabOrder(self.viewConstraints, self.btnAddConstraint)
        DlgTableProperties.setTabOrder(self.btnAddConstraint, self.btnDeleteConstraint)
        DlgTableProperties.setTabOrder(self.btnDeleteConstraint, self.viewIndexes)
        DlgTableProperties.setTabOrder(self.viewIndexes, self.btnAddIndex)
        DlgTableProperties.setTabOrder(self.btnAddIndex, self.btnAddSpatialIndex)
        DlgTableProperties.setTabOrder(self.btnAddSpatialIndex, self.btnDeleteIndex)
        DlgTableProperties.setTabOrder(self.btnDeleteIndex, self.buttonBox)

    def retranslateUi(self, DlgTableProperties):
        DlgTableProperties.setWindowTitle(QtGui.QApplication.translate("DlgTableProperties", "Table properties", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("DlgTableProperties", "Table columns:", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAddColumn.setText(QtGui.QApplication.translate("DlgTableProperties", "Add column", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAddGeometryColumn.setText(QtGui.QApplication.translate("DlgTableProperties", "Add geometry column", None, QtGui.QApplication.UnicodeUTF8))
        self.btnEditColumn.setText(QtGui.QApplication.translate("DlgTableProperties", "Edit column", None, QtGui.QApplication.UnicodeUTF8))
        self.btnDeleteColumn.setText(QtGui.QApplication.translate("DlgTableProperties", "Delete column", None, QtGui.QApplication.UnicodeUTF8))
        self.tabs.setTabText(self.tabs.indexOf(self.tabColumns), QtGui.QApplication.translate("DlgTableProperties", "Columns", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("DlgTableProperties", "Primary, foreign keys, unique and check constraints:", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAddConstraint.setText(QtGui.QApplication.translate("DlgTableProperties", "Add primary key / unique", None, QtGui.QApplication.UnicodeUTF8))
        self.btnDeleteConstraint.setText(QtGui.QApplication.translate("DlgTableProperties", "Delete constraint", None, QtGui.QApplication.UnicodeUTF8))
        self.tabs.setTabText(self.tabs.indexOf(self.tabConstraints), QtGui.QApplication.translate("DlgTableProperties", "Constraints", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("DlgTableProperties", "Indexes defined for this table:", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAddIndex.setText(QtGui.QApplication.translate("DlgTableProperties", "Add index", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAddSpatialIndex.setText(QtGui.QApplication.translate("DlgTableProperties", "Add spatial index", None, QtGui.QApplication.UnicodeUTF8))
        self.btnDeleteIndex.setText(QtGui.QApplication.translate("DlgTableProperties", "Delete index", None, QtGui.QApplication.UnicodeUTF8))
        self.tabs.setTabText(self.tabs.indexOf(self.tabIndexes), QtGui.QApplication.translate("DlgTableProperties", "Indexes", None, QtGui.QApplication.UnicodeUTF8))

