# -*- 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/frmRegPoints.ui'
#
# Created: Sun Feb 27 07:54:27 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(373, 451)
        Dialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(Dialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.groupBox = QtGui.QGroupBox(Dialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.rdoBoundary = QtGui.QRadioButton(self.groupBox)
        self.rdoBoundary.setChecked(True)
        self.rdoBoundary.setObjectName(_fromUtf8("rdoBoundary"))
        self.gridLayout_2.addWidget(self.rdoBoundary, 0, 0, 1, 4)
        self.inShape = QtGui.QComboBox(self.groupBox)
        self.inShape.setObjectName(_fromUtf8("inShape"))
        self.gridLayout_2.addWidget(self.inShape, 1, 0, 1, 4)
        self.rdoCoordinates = QtGui.QRadioButton(self.groupBox)
        self.rdoCoordinates.setObjectName(_fromUtf8("rdoCoordinates"))
        self.gridLayout_2.addWidget(self.rdoCoordinates, 2, 0, 1, 4)
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 3, 0, 1, 1)
        self.xMin = QtGui.QLineEdit(self.groupBox)
        self.xMin.setEnabled(False)
        self.xMin.setObjectName(_fromUtf8("xMin"))
        self.gridLayout_2.addWidget(self.xMin, 3, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 3, 2, 1, 1)
        self.yMin = QtGui.QLineEdit(self.groupBox)
        self.yMin.setEnabled(False)
        self.yMin.setObjectName(_fromUtf8("yMin"))
        self.gridLayout_2.addWidget(self.yMin, 3, 3, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_2.addWidget(self.label_3, 4, 0, 1, 1)
        self.xMax = QtGui.QLineEdit(self.groupBox)
        self.xMax.setEnabled(False)
        self.xMax.setObjectName(_fromUtf8("xMax"))
        self.gridLayout_2.addWidget(self.xMax, 4, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_2.addWidget(self.label_5, 4, 2, 1, 1)
        self.yMax = QtGui.QLineEdit(self.groupBox)
        self.yMax.setEnabled(False)
        self.yMax.setObjectName(_fromUtf8("yMax"))
        self.gridLayout_2.addWidget(self.yMax, 4, 3, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 2)
        self.gridBox = QtGui.QGroupBox(Dialog)
        self.gridBox.setObjectName(_fromUtf8("gridBox"))
        self.gridlayout = QtGui.QGridLayout(self.gridBox)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.rdoSpacing = QtGui.QRadioButton(self.gridBox)
        self.rdoSpacing.setChecked(True)
        self.rdoSpacing.setObjectName(_fromUtf8("rdoSpacing"))
        self.hboxlayout.addWidget(self.rdoSpacing)
        self.spnSpacing = QtGui.QDoubleSpinBox(self.gridBox)
        self.spnSpacing.setDecimals(4)
        self.spnSpacing.setMinimum(0.0001)
        self.spnSpacing.setMaximum(1000000000.0)
        self.spnSpacing.setSingleStep(0.0001)
        self.spnSpacing.setObjectName(_fromUtf8("spnSpacing"))
        self.hboxlayout.addWidget(self.spnSpacing)
        self.gridlayout.addLayout(self.hboxlayout, 0, 0, 1, 2)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
        self.rdoNumber = QtGui.QRadioButton(self.gridBox)
        self.rdoNumber.setObjectName(_fromUtf8("rdoNumber"))
        self.hboxlayout1.addWidget(self.rdoNumber)
        self.spnNumber = QtGui.QSpinBox(self.gridBox)
        self.spnNumber.setEnabled(False)
        self.spnNumber.setMinimum(1)
        self.spnNumber.setMaximum(9999)
        self.spnNumber.setObjectName(_fromUtf8("spnNumber"))
        self.hboxlayout1.addWidget(self.spnNumber)
        self.gridlayout.addLayout(self.hboxlayout1, 1, 0, 1, 2)
        self.chkRandom = QtGui.QCheckBox(self.gridBox)
        self.chkRandom.setObjectName(_fromUtf8("chkRandom"))
        self.gridlayout.addWidget(self.chkRandom, 2, 0, 1, 2)
        self.spnInset = QtGui.QDoubleSpinBox(self.gridBox)
        self.spnInset.setDecimals(4)
        self.spnInset.setMaximum(9999.0)
        self.spnInset.setSingleStep(0.0001)
        self.spnInset.setObjectName(_fromUtf8("spnInset"))
        self.gridlayout.addWidget(self.spnInset, 3, 1, 1, 1)
        self.label_6 = QtGui.QLabel(self.gridBox)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridlayout.addWidget(self.label_6, 3, 0, 1, 1)
        self.gridLayout.addWidget(self.gridBox, 1, 0, 1, 2)
        self.label_2 = QtGui.QLabel(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName(_fromUtf8("hboxlayout2"))
        self.outShape = QtGui.QLineEdit(Dialog)
        self.outShape.setReadOnly(True)
        self.outShape.setObjectName(_fromUtf8("outShape"))
        self.hboxlayout2.addWidget(self.outShape)
        self.toolOut = QtGui.QToolButton(Dialog)
        self.toolOut.setObjectName(_fromUtf8("toolOut"))
        self.hboxlayout2.addWidget(self.toolOut)
        self.gridLayout.addLayout(self.hboxlayout2, 3, 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, 4, 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, 4, 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.rdoBoundary, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.inShape.setEnabled)
        QtCore.QObject.connect(self.rdoCoordinates, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.xMin.setEnabled)
        QtCore.QObject.connect(self.rdoCoordinates, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.xMax.setEnabled)
        QtCore.QObject.connect(self.rdoCoordinates, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.yMin.setEnabled)
        QtCore.QObject.connect(self.rdoCoordinates, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.yMax.setEnabled)
        QtCore.QObject.connect(self.rdoSpacing, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.spnSpacing.setEnabled)
        QtCore.QObject.connect(self.rdoNumber, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.spnNumber.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Generate Regular Points", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", "Area", None, QtGui.QApplication.UnicodeUTF8))
        self.rdoBoundary.setText(QtGui.QApplication.translate("Dialog", "Input Boundary Layer", None, QtGui.QApplication.UnicodeUTF8))
        self.rdoCoordinates.setText(QtGui.QApplication.translate("Dialog", "Input Coordinates", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Dialog", "X Min", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Dialog", "Y Min", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Dialog", "X Max", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("Dialog", "Y Max", None, QtGui.QApplication.UnicodeUTF8))
        self.gridBox.setTitle(QtGui.QApplication.translate("Dialog", "Grid Spacing", None, QtGui.QApplication.UnicodeUTF8))
        self.rdoSpacing.setText(QtGui.QApplication.translate("Dialog", "Use this point spacing", None, QtGui.QApplication.UnicodeUTF8))
        self.rdoNumber.setText(QtGui.QApplication.translate("Dialog", "Use this number of points", None, QtGui.QApplication.UnicodeUTF8))
        self.chkRandom.setText(QtGui.QApplication.translate("Dialog", "Apply random offset to point spacing", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("Dialog", "Initial inset from corner (LH side)", 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))

