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

# Form implementation generated from reading ui file '/work/a/ports/graphics/qgis/work/qgis-1.6.0/python/plugins/GdalTools/tools/widgetContour.ui'
#
# Created: Wed Feb  2 00:51:17 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(520, 172)
        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_3 = QtGui.QVBoxLayout(GdalToolsWidget)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        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.outputDirEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.outputDirEdit.setMinimumSize(QtCore.QSize(100, 0))
        self.outputDirEdit.setObjectName(_fromUtf8("outputDirEdit"))
        self.horizontalLayout_2.addWidget(self.outputDirEdit)
        self.selectOutputDirButton = QtGui.QPushButton(GdalToolsWidget)
        self.selectOutputDirButton.setObjectName(_fromUtf8("selectOutputDirButton"))
        self.horizontalLayout_2.addWidget(self.selectOutputDirButton)
        self.gridLayout.addLayout(self.horizontalLayout_2, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(GdalToolsWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.intervalDSpinBox = QtGui.QDoubleSpinBox(GdalToolsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.intervalDSpinBox.sizePolicy().hasHeightForWidth())
        self.intervalDSpinBox.setSizePolicy(sizePolicy)
        self.intervalDSpinBox.setMaximum(2140000000.0)
        self.intervalDSpinBox.setObjectName(_fromUtf8("intervalDSpinBox"))
        self.gridLayout.addWidget(self.intervalDSpinBox, 2, 1, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.attributeCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.attributeCheck.setObjectName(_fromUtf8("attributeCheck"))
        self.verticalLayout.addWidget(self.attributeCheck)
        self.label_5 = QtGui.QLabel(GdalToolsWidget)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.label_5.setFont(font)
        self.label_5.setIndent(16)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.verticalLayout.addWidget(self.label_5)
        self.gridLayout.addLayout(self.verticalLayout, 3, 0, 1, 1)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.attributeEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.attributeEdit.setObjectName(_fromUtf8("attributeEdit"))
        self.verticalLayout_2.addWidget(self.attributeEdit)
        spacerItem = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        self.verticalLayout_2.addItem(spacerItem)
        self.gridLayout.addLayout(self.verticalLayout_2, 3, 1, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout)
        self.label.setBuddy(self.selectInputFileButton)
        self.label_2.setBuddy(self.selectOutputDirButton)
        self.label_3.setBuddy(self.intervalDSpinBox)

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

    def retranslateUi(self, GdalToolsWidget):
        GdalToolsWidget.setWindowTitle(QtGui.QApplication.translate("GdalToolsWidget", "Contour", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Input file (raster):", 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 directory for contour lines (shapefile):", None, QtGui.QApplication.UnicodeUTF8))
        self.selectOutputDirButton.setText(QtGui.QApplication.translate("GdalToolsWidget", "Select...", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("GdalToolsWidget", "I&nterval between contour lines:", None, QtGui.QApplication.UnicodeUTF8))
        self.attributeCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Attribute name:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("GdalToolsWidget", "If not provided, no elevation attribute is attached.", None, QtGui.QApplication.UnicodeUTF8))
        self.attributeEdit.setText(QtGui.QApplication.translate("GdalToolsWidget", "ELEV", None, QtGui.QApplication.UnicodeUTF8))

