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

# Form implementation generated from reading ui file '/usr/ports/pobj/qgis-1.6.0/qgis-1.6.0/python/plugins/GdalTools/tools/widgetProximity.ui'
#
# Created: Sun Feb 27 07:55:00 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_GdalToolsWidget(object):
    def setupUi(self, GdalToolsWidget):
        GdalToolsWidget.setObjectName(_fromUtf8("GdalToolsWidget"))
        GdalToolsWidget.resize(356, 257)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(GdalToolsWidget.sizePolicy().hasHeightForWidth())
        GdalToolsWidget.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(GdalToolsWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(GdalToolsWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.inputLayerCombo = QtGui.QComboBox(GdalToolsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.inputLayerCombo.sizePolicy().hasHeightForWidth())
        self.inputLayerCombo.setSizePolicy(sizePolicy)
        self.inputLayerCombo.setEditable(True)
        self.inputLayerCombo.setInsertPolicy(QtGui.QComboBox.NoInsert)
        self.inputLayerCombo.setObjectName(_fromUtf8("inputLayerCombo"))
        self.horizontalLayout_3.addWidget(self.inputLayerCombo)
        self.selectInputFileButton = QtGui.QPushButton(GdalToolsWidget)
        self.selectInputFileButton.setObjectName(_fromUtf8("selectInputFileButton"))
        self.horizontalLayout_3.addWidget(self.selectInputFileButton)
        self.gridLayout.addLayout(self.horizontalLayout_3, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(GdalToolsWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.outputFileEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.outputFileEdit.setObjectName(_fromUtf8("outputFileEdit"))
        self.horizontalLayout_2.addWidget(self.outputFileEdit)
        self.selectOutputFileButton = QtGui.QPushButton(GdalToolsWidget)
        self.selectOutputFileButton.setObjectName(_fromUtf8("selectOutputFileButton"))
        self.horizontalLayout_2.addWidget(self.selectOutputFileButton)
        self.gridLayout.addLayout(self.horizontalLayout_2, 1, 1, 1, 1)
        self.valuesCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.valuesCheck.setObjectName(_fromUtf8("valuesCheck"))
        self.gridLayout.addWidget(self.valuesCheck, 2, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.valueSpin1 = QtGui.QSpinBox(GdalToolsWidget)
        self.valueSpin1.setMaximum(65000)
        self.valueSpin1.setObjectName(_fromUtf8("valueSpin1"))
        self.horizontalLayout.addWidget(self.valueSpin1)
        self.valueSpin2 = QtGui.QSpinBox(GdalToolsWidget)
        self.valueSpin2.setMaximum(65000)
        self.valueSpin2.setObjectName(_fromUtf8("valueSpin2"))
        self.horizontalLayout.addWidget(self.valueSpin2)
        self.valueSpin3 = QtGui.QSpinBox(GdalToolsWidget)
        self.valueSpin3.setMaximum(65000)
        self.valueSpin3.setObjectName(_fromUtf8("valueSpin3"))
        self.horizontalLayout.addWidget(self.valueSpin3)
        self.gridLayout.addLayout(self.horizontalLayout, 2, 1, 1, 1)
        self.distUnitsCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.distUnitsCheck.setChecked(True)
        self.distUnitsCheck.setObjectName(_fromUtf8("distUnitsCheck"))
        self.gridLayout.addWidget(self.distUnitsCheck, 3, 0, 1, 1)
        self.distUnitsCombo = QtGui.QComboBox(GdalToolsWidget)
        self.distUnitsCombo.setObjectName(_fromUtf8("distUnitsCombo"))
        self.distUnitsCombo.addItem(_fromUtf8(""))
        self.distUnitsCombo.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.distUnitsCombo, 3, 1, 1, 1)
        self.maxDistCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.maxDistCheck.setObjectName(_fromUtf8("maxDistCheck"))
        self.gridLayout.addWidget(self.maxDistCheck, 4, 0, 1, 1)
        self.maxDistSpin = QtGui.QSpinBox(GdalToolsWidget)
        self.maxDistSpin.setMaximum(65000)
        self.maxDistSpin.setObjectName(_fromUtf8("maxDistSpin"))
        self.gridLayout.addWidget(self.maxDistSpin, 4, 1, 1, 1)
        self.noDataCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.noDataCheck.setObjectName(_fromUtf8("noDataCheck"))
        self.gridLayout.addWidget(self.noDataCheck, 5, 0, 1, 1)
        self.noDataSpin = QtGui.QSpinBox(GdalToolsWidget)
        self.noDataSpin.setMaximum(65000)
        self.noDataSpin.setObjectName(_fromUtf8("noDataSpin"))
        self.gridLayout.addWidget(self.noDataSpin, 5, 1, 1, 1)
        self.fixedBufValCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.fixedBufValCheck.setObjectName(_fromUtf8("fixedBufValCheck"))
        self.gridLayout.addWidget(self.fixedBufValCheck, 6, 0, 1, 1)
        self.fixedBufValSpin = QtGui.QSpinBox(GdalToolsWidget)
        self.fixedBufValSpin.setMaximum(65000)
        self.fixedBufValSpin.setObjectName(_fromUtf8("fixedBufValSpin"))
        self.gridLayout.addWidget(self.fixedBufValSpin, 6, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.label.setBuddy(self.selectInputFileButton)
        self.label_2.setBuddy(self.selectOutputFileButton)

        self.retranslateUi(GdalToolsWidget)
        QtCore.QMetaObject.connectSlotsByName(GdalToolsWidget)

    def retranslateUi(self, GdalToolsWidget):
        GdalToolsWidget.setWindowTitle(QtGui.QApplication.translate("GdalToolsWidget", "Proximity", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Input file:", None, QtGui.QApplication.UnicodeUTF8))
        self.selectInputFileButton.setText(QtGui.QApplication.translate("GdalToolsWidget", "Select...", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Output file:", None, QtGui.QApplication.UnicodeUTF8))
        self.selectOutputFileButton.setText(QtGui.QApplication.translate("GdalToolsWidget", "Select...", None, QtGui.QApplication.UnicodeUTF8))
        self.valuesCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Values:", None, QtGui.QApplication.UnicodeUTF8))
        self.distUnitsCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Dist units:", None, QtGui.QApplication.UnicodeUTF8))
        self.distUnitsCombo.setItemText(0, QtGui.QApplication.translate("GdalToolsWidget", "GEO", None, QtGui.QApplication.UnicodeUTF8))
        self.distUnitsCombo.setItemText(1, QtGui.QApplication.translate("GdalToolsWidget", "PIXEL", None, QtGui.QApplication.UnicodeUTF8))
        self.maxDistCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Max dist:", None, QtGui.QApplication.UnicodeUTF8))
        self.noDataCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "&No data:", None, QtGui.QApplication.UnicodeUTF8))
        self.fixedBufValCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Fixed buf val:", None, QtGui.QApplication.UnicodeUTF8))

