QGIS/python/plugins/fTools/tools/frmPointsInPolygon.py
cfarmer cb449d0627 change ftools directory to fTools
git-svn-id: http://svn.osgeo.org/qgis/trunk@10074 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-31 20:01:11 +00:00

110 lines
4.8 KiB
Python
Executable File

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'frmPointsInPolygon.ui'
#
# Created: Mon Nov 10 00:01:16 2008
# by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.setWindowModality(QtCore.Qt.NonModal)
Dialog.resize(QtCore.QSize(QtCore.QRect(0,0,383,291).size()).expandedTo(Dialog.minimumSizeHint()))
Dialog.setSizeGripEnabled(True)
self.gridlayout = QtGui.QGridLayout(Dialog)
self.gridlayout.setObjectName("gridlayout")
self.vboxlayout = QtGui.QVBoxLayout()
self.vboxlayout.setObjectName("vboxlayout")
self.label_3 = QtGui.QLabel(Dialog)
self.label_3.setObjectName("label_3")
self.vboxlayout.addWidget(self.label_3)
self.inPolygon = QtGui.QComboBox(Dialog)
self.inPolygon.setObjectName("inPolygon")
self.vboxlayout.addWidget(self.inPolygon)
self.gridlayout.addLayout(self.vboxlayout,0,0,1,2)
self.vboxlayout1 = QtGui.QVBoxLayout()
self.vboxlayout1.setObjectName("vboxlayout1")
self.label_4 = QtGui.QLabel(Dialog)
self.label_4.setObjectName("label_4")
self.vboxlayout1.addWidget(self.label_4)
self.inPoint = QtGui.QComboBox(Dialog)
self.inPoint.setObjectName("inPoint")
self.vboxlayout1.addWidget(self.inPoint)
self.gridlayout.addLayout(self.vboxlayout1,1,0,1,2)
self.hboxlayout = QtGui.QHBoxLayout()
self.hboxlayout.setObjectName("hboxlayout")
self.label_5 = QtGui.QLabel(Dialog)
self.label_5.setObjectName("label_5")
self.hboxlayout.addWidget(self.label_5)
self.lnField = QtGui.QLineEdit(Dialog)
self.lnField.setMaxLength(10)
self.lnField.setObjectName("lnField")
self.hboxlayout.addWidget(self.lnField)
self.gridlayout.addLayout(self.hboxlayout,2,0,1,2)
spacerItem = QtGui.QSpacerItem(20,16,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
self.gridlayout.addItem(spacerItem,3,0,1,2)
self.vboxlayout2 = QtGui.QVBoxLayout()
self.vboxlayout2.setObjectName("vboxlayout2")
self.label_2 = QtGui.QLabel(Dialog)
self.label_2.setObjectName("label_2")
self.vboxlayout2.addWidget(self.label_2)
self.hboxlayout1 = QtGui.QHBoxLayout()
self.hboxlayout1.setObjectName("hboxlayout1")
self.outShape = QtGui.QLineEdit(Dialog)
self.outShape.setReadOnly(True)
self.outShape.setObjectName("outShape")
self.hboxlayout1.addWidget(self.outShape)
self.toolOut = QtGui.QToolButton(Dialog)
self.toolOut.setObjectName("toolOut")
self.hboxlayout1.addWidget(self.toolOut)
self.vboxlayout2.addLayout(self.hboxlayout1)
self.gridlayout.addLayout(self.vboxlayout2,4,0,1,2)
self.progressBar = QtGui.QProgressBar(Dialog)
self.progressBar.setProperty("value",QtCore.QVariant(0))
self.progressBar.setAlignment(QtCore.Qt.AlignCenter)
self.progressBar.setTextVisible(True)
self.progressBar.setObjectName("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("buttonBox_2")
self.gridlayout.addWidget(self.buttonBox_2,5,1,1,1)
self.retranslateUi(Dialog)
QtCore.QObject.connect(self.buttonBox_2,QtCore.SIGNAL("accepted()"),Dialog.accept)
QtCore.QObject.connect(self.buttonBox_2,QtCore.SIGNAL("rejected()"),Dialog.close)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Count Points In Polygons", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setText(QtGui.QApplication.translate("Dialog", "Input polygon vector layer", None, QtGui.QApplication.UnicodeUTF8))
self.label_4.setText(QtGui.QApplication.translate("Dialog", "Input point vector layer", None, QtGui.QApplication.UnicodeUTF8))
self.label_5.setText(QtGui.QApplication.translate("Dialog", "Output count field name", None, QtGui.QApplication.UnicodeUTF8))
self.lnField.setText(QtGui.QApplication.translate("Dialog", "PNTCNT", 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))