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

# Form implementation generated from reading ui file '/work/a/ports/graphics/qgis/work/qgis-1.6.0/python/plugins/GdalTools/tools/widgetClipper.ui'
#
# Created: Wed Feb  2 00:51:15 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(342, 271)
        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_4 = QtGui.QVBoxLayout(GdalToolsWidget)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(GdalToolsWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.outputFileEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.outputFileEdit.setMinimumSize(QtCore.QSize(100, 0))
        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, 0, 1, 1, 1)
        self.noDataCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.noDataCheck.setObjectName(_fromUtf8("noDataCheck"))
        self.gridLayout.addWidget(self.noDataCheck, 1, 0, 1, 1)
        self.noDataSpin = QtGui.QSpinBox(GdalToolsWidget)
        self.noDataSpin.setMaximum(65000)
        self.noDataSpin.setObjectName(_fromUtf8("noDataSpin"))
        self.gridLayout.addWidget(self.noDataSpin, 1, 1, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout)
        self.btnEnableClip = QtGui.QPushButton(GdalToolsWidget)
        self.btnEnableClip.setObjectName(_fromUtf8("btnEnableClip"))
        self.verticalLayout_4.addWidget(self.btnEnableClip)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.label = QtGui.QLabel(GdalToolsWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_3.addWidget(self.label)
        self.label_7 = QtGui.QLabel(GdalToolsWidget)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.verticalLayout_3.addWidget(self.label_7)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.label_8 = QtGui.QLabel(GdalToolsWidget)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.horizontalLayout_4.addWidget(self.label_8)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_3 = QtGui.QLabel(GdalToolsWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout.addWidget(self.label_3)
        self.x1CoordEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.x1CoordEdit.setObjectName(_fromUtf8("x1CoordEdit"))
        self.horizontalLayout.addWidget(self.x1CoordEdit)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label_5 = QtGui.QLabel(GdalToolsWidget)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout_3.addWidget(self.label_5)
        self.y1CoordEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.y1CoordEdit.setObjectName(_fromUtf8("y1CoordEdit"))
        self.horizontalLayout_3.addWidget(self.y1CoordEdit)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_4.addLayout(self.verticalLayout)
        self.horizontalLayout_8.addLayout(self.horizontalLayout_4)
        spacerItem = QtGui.QSpacerItem(13, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.label_9 = QtGui.QLabel(GdalToolsWidget)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.horizontalLayout_7.addWidget(self.label_9)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.label_4 = QtGui.QLabel(GdalToolsWidget)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout_5.addWidget(self.label_4)
        self.x2CoordEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.x2CoordEdit.setObjectName(_fromUtf8("x2CoordEdit"))
        self.horizontalLayout_5.addWidget(self.x2CoordEdit)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.label_6 = QtGui.QLabel(GdalToolsWidget)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout_6.addWidget(self.label_6)
        self.y2CoordEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.y2CoordEdit.setObjectName(_fromUtf8("y2CoordEdit"))
        self.horizontalLayout_6.addWidget(self.y2CoordEdit)
        self.verticalLayout_2.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_7.addLayout(self.verticalLayout_2)
        self.horizontalLayout_8.addLayout(self.horizontalLayout_7)
        self.verticalLayout_3.addLayout(self.horizontalLayout_8)
        self.verticalLayout_4.addLayout(self.verticalLayout_3)
        self.pctCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.pctCheck.setObjectName(_fromUtf8("pctCheck"))
        self.verticalLayout_4.addWidget(self.pctCheck)
        self.label_2.setBuddy(self.selectOutputFileButton)
        self.label_3.setBuddy(self.selectOutputFileButton)
        self.label_5.setBuddy(self.selectOutputFileButton)
        self.label_4.setBuddy(self.selectOutputFileButton)
        self.label_6.setBuddy(self.selectOutputFileButton)

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

    def retranslateUi(self, GdalToolsWidget):
        GdalToolsWidget.setWindowTitle(QtGui.QApplication.translate("GdalToolsWidget", "Clipper", 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.noDataCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "&No data value:", None, QtGui.QApplication.UnicodeUTF8))
        self.btnEnableClip.setText(QtGui.QApplication.translate("GdalToolsWidget", "Re-Enable Clipping", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("GdalToolsWidget", "Select the extent by drag & drop on canvas", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("GdalToolsWidget", "or change the extent coordinates:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("GdalToolsWidget", "1:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("GdalToolsWidget", "x", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("GdalToolsWidget", "y", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("GdalToolsWidget", "2:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("GdalToolsWidget", "x", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("GdalToolsWidget", "y", None, QtGui.QApplication.UnicodeUTF8))
        self.pctCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "Grab pseudocolor table from the first image", None, QtGui.QApplication.UnicodeUTF8))

