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

# Form implementation generated from reading ui file '/usr/ports/pobj/qgis-1.6.0/qgis-1.6.0/python/plugins/fTools/tools/frmJoinAttributes.ui'
#
# Created: Sun Feb 27 07:54:32 2011
#      by: PyQt4 UI code generator 4.8.1
#
# 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_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.setWindowModality(QtCore.Qt.NonModal)
        Dialog.resize(417, 562)
        Dialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(Dialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.vboxlayout = QtGui.QVBoxLayout()
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.label_3 = QtGui.QLabel(Dialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.vboxlayout.addWidget(self.label_3)
        self.inShape = QtGui.QComboBox(Dialog)
        self.inShape.setObjectName(_fromUtf8("inShape"))
        self.vboxlayout.addWidget(self.inShape)
        self.gridLayout.addLayout(self.vboxlayout, 0, 0, 1, 2)
        self.vboxlayout1 = QtGui.QVBoxLayout()
        self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
        self.label_4 = QtGui.QLabel(Dialog)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.vboxlayout1.addWidget(self.label_4)
        self.inField = QtGui.QComboBox(Dialog)
        self.inField.setObjectName(_fromUtf8("inField"))
        self.vboxlayout1.addWidget(self.inField)
        self.gridLayout.addLayout(self.vboxlayout1, 1, 0, 1, 2)
        self.groupBox = QtGui.QGroupBox(Dialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridlayout = QtGui.QGridLayout(self.groupBox)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.vboxlayout2 = QtGui.QVBoxLayout()
        self.vboxlayout2.setObjectName(_fromUtf8("vboxlayout2"))
        self.rdoVector = QtGui.QRadioButton(self.groupBox)
        self.rdoVector.setChecked(True)
        self.rdoVector.setObjectName(_fromUtf8("rdoVector"))
        self.vboxlayout2.addWidget(self.rdoVector)
        self.joinShape = QtGui.QComboBox(self.groupBox)
        self.joinShape.setObjectName(_fromUtf8("joinShape"))
        self.vboxlayout2.addWidget(self.joinShape)
        self.gridlayout.addLayout(self.vboxlayout2, 0, 0, 1, 1)
        self.vboxlayout3 = QtGui.QVBoxLayout()
        self.vboxlayout3.setObjectName(_fromUtf8("vboxlayout3"))
        self.rdoTable = QtGui.QRadioButton(self.groupBox)
        self.rdoTable.setObjectName(_fromUtf8("rdoTable"))
        self.vboxlayout3.addWidget(self.rdoTable)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.inTable = QtGui.QLineEdit(self.groupBox)
        self.inTable.setEnabled(False)
        self.inTable.setReadOnly(True)
        self.inTable.setObjectName(_fromUtf8("inTable"))
        self.hboxlayout.addWidget(self.inTable)
        self.toolTable = QtGui.QToolButton(self.groupBox)
        self.toolTable.setEnabled(False)
        self.toolTable.setObjectName(_fromUtf8("toolTable"))
        self.hboxlayout.addWidget(self.toolTable)
        self.vboxlayout3.addLayout(self.hboxlayout)
        self.gridlayout.addLayout(self.vboxlayout3, 1, 0, 1, 1)
        self.vboxlayout4 = QtGui.QVBoxLayout()
        self.vboxlayout4.setObjectName(_fromUtf8("vboxlayout4"))
        self.label_6 = QtGui.QLabel(self.groupBox)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.vboxlayout4.addWidget(self.label_6)
        self.joinField = QtGui.QComboBox(self.groupBox)
        self.joinField.setObjectName(_fromUtf8("joinField"))
        self.vboxlayout4.addWidget(self.joinField)
        self.gridlayout.addLayout(self.vboxlayout4, 2, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 2, 0, 1, 2)
        self.vboxlayout5 = QtGui.QVBoxLayout()
        self.vboxlayout5.setObjectName(_fromUtf8("vboxlayout5"))
        self.label_2 = QtGui.QLabel(Dialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.vboxlayout5.addWidget(self.label_2)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
        self.outShape = QtGui.QLineEdit(Dialog)
        self.outShape.setReadOnly(True)
        self.outShape.setObjectName(_fromUtf8("outShape"))
        self.hboxlayout1.addWidget(self.outShape)
        self.toolOut = QtGui.QToolButton(Dialog)
        self.toolOut.setObjectName(_fromUtf8("toolOut"))
        self.hboxlayout1.addWidget(self.toolOut)
        self.vboxlayout5.addLayout(self.hboxlayout1)
        self.gridLayout.addLayout(self.vboxlayout5, 3, 0, 1, 2)
        self.groupBox_2 = QtGui.QGroupBox(Dialog)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridlayout1 = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.rdoMatch = QtGui.QRadioButton(self.groupBox_2)
        self.rdoMatch.setChecked(True)
        self.rdoMatch.setObjectName(_fromUtf8("rdoMatch"))
        self.gridlayout1.addWidget(self.rdoMatch, 0, 0, 1, 1)
        self.rdoKeep = QtGui.QRadioButton(self.groupBox_2)
        self.rdoKeep.setObjectName(_fromUtf8("rdoKeep"))
        self.gridlayout1.addWidget(self.rdoKeep, 1, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox_2, 4, 0, 1, 2)
        self.progressBar = QtGui.QProgressBar(Dialog)
        self.progressBar.setProperty(_fromUtf8("value"), 0)
        self.progressBar.setAlignment(QtCore.Qt.AlignCenter)
        self.progressBar.setTextVisible(True)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout.addWidget(self.progressBar, 5, 0, 1, 1)
        self.buttonBox_2 = QtGui.QDialogButtonBox(Dialog)
        self.buttonBox_2.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox_2.setStandardButtons(QtGui.QDialogButtonBox.Close|QtGui.QDialogButtonBox.Ok)
        self.buttonBox_2.setObjectName(_fromUtf8("buttonBox_2"))
        self.gridLayout.addWidget(self.buttonBox_2, 5, 1, 1, 1)

        self.retranslateUi(Dialog)
        QtCore.QObject.connect(self.buttonBox_2, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept)
        QtCore.QObject.connect(self.buttonBox_2, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.close)
        QtCore.QObject.connect(self.rdoTable, QtCore.SIGNAL(_fromUtf8("clicked()")), self.joinField.clear)
        QtCore.QObject.connect(self.rdoVector, QtCore.SIGNAL(_fromUtf8("clicked()")), self.joinField.clear)
        QtCore.QObject.connect(self.rdoVector, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.joinShape.setEnabled)
        QtCore.QObject.connect(self.rdoTable, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.inTable.setEnabled)
        QtCore.QObject.connect(self.rdoTable, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.toolTable.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Join Attributes", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Dialog", "Target vector layer", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Dialog", "Target join field", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", "Join data", None, QtGui.QApplication.UnicodeUTF8))
        self.rdoVector.setText(QtGui.QApplication.translate("Dialog", "Join vector layer", None, QtGui.QApplication.UnicodeUTF8))
        self.rdoTable.setText(QtGui.QApplication.translate("Dialog", "Join dbf table", None, QtGui.QApplication.UnicodeUTF8))
        self.toolTable.setText(QtGui.QApplication.translate("Dialog", "Browse", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("Dialog", "Join field", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Dialog", "Output Shapefile", None, QtGui.QApplication.UnicodeUTF8))
        self.toolOut.setText(QtGui.QApplication.translate("Dialog", "Browse", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("Dialog", "Output table", None, QtGui.QApplication.UnicodeUTF8))
        self.rdoMatch.setText(QtGui.QApplication.translate("Dialog", "Only keep matching records", None, QtGui.QApplication.UnicodeUTF8))
        self.rdoKeep.setText(QtGui.QApplication.translate("Dialog", "Keep all records (including non-matching target records)", None, QtGui.QApplication.UnicodeUTF8))

