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

# Form implementation generated from reading ui file '/usr/obj/qgis-1.7.3/qgis-1.7.3/python/plugins/fTools/tools/frmSpatialJoin.ui'
#
# Created: Mon Jul 30 21:11:40 2012
#      by: PyQt4 UI code generator 4.8.4
#
# 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(439, 466)
        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, 3)
        self.vboxlayout1 = QtGui.QVBoxLayout()
        self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
        self.label = QtGui.QLabel(Dialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.vboxlayout1.addWidget(self.label)
        self.joinShape = QtGui.QComboBox(Dialog)
        self.joinShape.setObjectName(_fromUtf8("joinShape"))
        self.vboxlayout1.addWidget(self.joinShape)
        self.gridLayout.addLayout(self.vboxlayout1, 1, 0, 1, 3)
        self.groupBox_2 = QtGui.QGroupBox(Dialog)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridlayout = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.rdoFirst = QtGui.QRadioButton(self.groupBox_2)
        self.rdoFirst.setChecked(True)
        self.rdoFirst.setObjectName(_fromUtf8("rdoFirst"))
        self.gridlayout.addWidget(self.rdoFirst, 0, 0, 1, 7)
        self.rdoSummary = QtGui.QRadioButton(self.groupBox_2)
        self.rdoSummary.setObjectName(_fromUtf8("rdoSummary"))
        self.gridlayout.addWidget(self.rdoSummary, 1, 0, 1, 7)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 2, 0, 1, 1)
        self.chkMean = QtGui.QCheckBox(self.groupBox_2)
        self.chkMean.setEnabled(False)
        self.chkMean.setChecked(True)
        self.chkMean.setObjectName(_fromUtf8("chkMean"))
        self.gridlayout.addWidget(self.chkMean, 2, 1, 1, 1)
        self.chkMin = QtGui.QCheckBox(self.groupBox_2)
        self.chkMin.setEnabled(False)
        self.chkMin.setObjectName(_fromUtf8("chkMin"))
        self.gridlayout.addWidget(self.chkMin, 2, 2, 1, 1)
        self.chkMax = QtGui.QCheckBox(self.groupBox_2)
        self.chkMax.setEnabled(False)
        self.chkMax.setObjectName(_fromUtf8("chkMax"))
        self.gridlayout.addWidget(self.chkMax, 2, 3, 1, 1)
        self.chkSum = QtGui.QCheckBox(self.groupBox_2)
        self.chkSum.setEnabled(False)
        self.chkSum.setObjectName(_fromUtf8("chkSum"))
        self.gridlayout.addWidget(self.chkSum, 2, 4, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 2, 6, 1, 1)
        self.chkMedian = QtGui.QCheckBox(self.groupBox_2)
        self.chkMedian.setEnabled(False)
        self.chkMedian.setObjectName(_fromUtf8("chkMedian"))
        self.gridlayout.addWidget(self.chkMedian, 2, 5, 1, 1)
        self.gridLayout.addWidget(self.groupBox_2, 2, 0, 1, 3)
        self.vboxlayout2 = QtGui.QVBoxLayout()
        self.vboxlayout2.setObjectName(_fromUtf8("vboxlayout2"))
        self.label_2 = QtGui.QLabel(Dialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.vboxlayout2.addWidget(self.label_2)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.outShape = QtGui.QLineEdit(Dialog)
        self.outShape.setReadOnly(True)
        self.outShape.setObjectName(_fromUtf8("outShape"))
        self.hboxlayout.addWidget(self.outShape)
        self.toolOut = QtGui.QToolButton(Dialog)
        self.toolOut.setObjectName(_fromUtf8("toolOut"))
        self.hboxlayout.addWidget(self.toolOut)
        self.vboxlayout2.addLayout(self.hboxlayout)
        self.gridLayout.addLayout(self.vboxlayout2, 3, 0, 1, 3)
        self.groupBox_3 = QtGui.QGroupBox(Dialog)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.gridlayout1 = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.rdoMatch = QtGui.QRadioButton(self.groupBox_3)
        self.rdoMatch.setChecked(True)
        self.rdoMatch.setObjectName(_fromUtf8("rdoMatch"))
        self.gridlayout1.addWidget(self.rdoMatch, 0, 0, 1, 1)
        self.rdoKeep = QtGui.QRadioButton(self.groupBox_3)
        self.rdoKeep.setObjectName(_fromUtf8("rdoKeep"))
        self.gridlayout1.addWidget(self.rdoKeep, 1, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox_3, 4, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(359, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 5, 0, 3, 3)
        self.progressBar = QtGui.QProgressBar(Dialog)
        self.progressBar.setProperty(_fromUtf8("value"), 24)
        self.progressBar.setAlignment(QtCore.Qt.AlignCenter)
        self.progressBar.setTextVisible(True)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout.addWidget(self.progressBar, 7, 1, 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, 6, 2, 2, 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.rdoSummary, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkMin.setEnabled)
        QtCore.QObject.connect(self.rdoSummary, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkMax.setEnabled)
        QtCore.QObject.connect(self.rdoSummary, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkSum.setEnabled)
        QtCore.QObject.connect(self.rdoSummary, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkMean.setEnabled)
        QtCore.QObject.connect(self.rdoSummary, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkMedian.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Spatial Join", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Dialog", "Target vector layer", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Dialog", "Join vector layer", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("Dialog", "Attribute Summary", None, QtGui.QApplication.UnicodeUTF8))
        self.rdoFirst.setText(QtGui.QApplication.translate("Dialog", "Take attributes of first located feature", None, QtGui.QApplication.UnicodeUTF8))
        self.rdoSummary.setText(QtGui.QApplication.translate("Dialog", "Take summary of intersecting features", None, QtGui.QApplication.UnicodeUTF8))
        self.chkMean.setText(QtGui.QApplication.translate("Dialog", "Mean", None, QtGui.QApplication.UnicodeUTF8))
        self.chkMin.setText(QtGui.QApplication.translate("Dialog", "Min", None, QtGui.QApplication.UnicodeUTF8))
        self.chkMax.setText(QtGui.QApplication.translate("Dialog", "Max", None, QtGui.QApplication.UnicodeUTF8))
        self.chkSum.setText(QtGui.QApplication.translate("Dialog", "Sum", None, QtGui.QApplication.UnicodeUTF8))
        self.chkMedian.setText(QtGui.QApplication.translate("Dialog", "Median", 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_3.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))

