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

# Form implementation generated from reading ui file '/usr/obj/qgis-1.7.3/qgis-1.7.3/python/plugins/GdalTools/tools/widgetWarp.ui'
#
# Created: Mon Jul 30 21:11:44 2012
#      by: PyQt4 UI code generator 4.8.4
#
# 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(415, 422)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(GdalToolsWidget.sizePolicy().hasHeightForWidth())
        GdalToolsWidget.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(GdalToolsWidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.batchCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.batchCheck.setObjectName(_fromUtf8("batchCheck"))
        self.gridLayout.addWidget(self.batchCheck, 0, 0, 1, 1)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label = QtGui.QLabel(GdalToolsWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.label_2 = QtGui.QLabel(GdalToolsWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
        self.sourceSRSCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.sourceSRSCheck.setObjectName(_fromUtf8("sourceSRSCheck"))
        self.gridLayout_2.addWidget(self.sourceSRSCheck, 2, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.sourceSRSEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.sourceSRSEdit.setMinimumSize(QtCore.QSize(100, 0))
        self.sourceSRSEdit.setObjectName(_fromUtf8("sourceSRSEdit"))
        self.horizontalLayout.addWidget(self.sourceSRSEdit)
        self.selectSourceSRSButton = QtGui.QPushButton(GdalToolsWidget)
        self.selectSourceSRSButton.setObjectName(_fromUtf8("selectSourceSRSButton"))
        self.horizontalLayout.addWidget(self.selectSourceSRSButton)
        self.gridLayout_2.addLayout(self.horizontalLayout, 2, 1, 1, 1)
        self.targetSRSCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.targetSRSCheck.setObjectName(_fromUtf8("targetSRSCheck"))
        self.gridLayout_2.addWidget(self.targetSRSCheck, 3, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.targetSRSEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.targetSRSEdit.setMinimumSize(QtCore.QSize(100, 0))
        self.targetSRSEdit.setObjectName(_fromUtf8("targetSRSEdit"))
        self.horizontalLayout_4.addWidget(self.targetSRSEdit)
        self.selectTargetSRSButton = QtGui.QPushButton(GdalToolsWidget)
        self.selectTargetSRSButton.setObjectName(_fromUtf8("selectTargetSRSButton"))
        self.horizontalLayout_4.addWidget(self.selectTargetSRSButton)
        self.gridLayout_2.addLayout(self.horizontalLayout_4, 3, 1, 1, 1)
        self.resamplingCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.resamplingCheck.setObjectName(_fromUtf8("resamplingCheck"))
        self.gridLayout_2.addWidget(self.resamplingCheck, 4, 0, 1, 1)
        self.resamplingCombo = QtGui.QComboBox(GdalToolsWidget)
        self.resamplingCombo.setObjectName(_fromUtf8("resamplingCombo"))
        self.resamplingCombo.addItem(_fromUtf8(""))
        self.resamplingCombo.addItem(_fromUtf8(""))
        self.resamplingCombo.addItem(_fromUtf8(""))
        self.resamplingCombo.addItem(_fromUtf8(""))
        self.resamplingCombo.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.resamplingCombo, 4, 1, 1, 1)
        self.noDataCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.noDataCheck.setObjectName(_fromUtf8("noDataCheck"))
        self.gridLayout_2.addWidget(self.noDataCheck, 5, 0, 1, 1)
        self.noDataEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.noDataEdit.setObjectName(_fromUtf8("noDataEdit"))
        self.gridLayout_2.addWidget(self.noDataEdit, 5, 1, 1, 1)
        self.cacheCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.cacheCheck.setObjectName(_fromUtf8("cacheCheck"))
        self.gridLayout_2.addWidget(self.cacheCheck, 7, 0, 1, 1)
        self.cacheSpin = QtGui.QSpinBox(GdalToolsWidget)
        self.cacheSpin.setMinimum(20)
        self.cacheSpin.setMaximum(1024)
        self.cacheSpin.setObjectName(_fromUtf8("cacheSpin"))
        self.gridLayout_2.addWidget(self.cacheSpin, 7, 1, 1, 1)
        self.maskCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.maskCheck.setObjectName(_fromUtf8("maskCheck"))
        self.gridLayout_2.addWidget(self.maskCheck, 6, 0, 1, 1)
        self.inSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.inSelector.setObjectName(_fromUtf8("inSelector"))
        self.gridLayout_2.addWidget(self.inSelector, 0, 1, 1, 1)
        self.outSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.outSelector.setObjectName(_fromUtf8("outSelector"))
        self.gridLayout_2.addWidget(self.outSelector, 1, 1, 1, 1)
        self.maskSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.maskSelector.setObjectName(_fromUtf8("maskSelector"))
        self.gridLayout_2.addWidget(self.maskSelector, 6, 1, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_2, 1, 0, 1, 1)
        self.resizeGroupBox = QtGui.QGroupBox(GdalToolsWidget)
        self.resizeGroupBox.setCheckable(True)
        self.resizeGroupBox.setChecked(False)
        self.resizeGroupBox.setObjectName(_fromUtf8("resizeGroupBox"))
        self.gridLayout_7 = QtGui.QGridLayout(self.resizeGroupBox)
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.label_11 = QtGui.QLabel(self.resizeGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_11.sizePolicy().hasHeightForWidth())
        self.label_11.setSizePolicy(sizePolicy)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridLayout_7.addWidget(self.label_11, 0, 0, 1, 1)
        self.widthSpin = QtGui.QSpinBox(self.resizeGroupBox)
        self.widthSpin.setMaximum(999999)
        self.widthSpin.setObjectName(_fromUtf8("widthSpin"))
        self.gridLayout_7.addWidget(self.widthSpin, 0, 1, 1, 1)
        self.label_12 = QtGui.QLabel(self.resizeGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_12.sizePolicy().hasHeightForWidth())
        self.label_12.setSizePolicy(sizePolicy)
        self.label_12.setIndent(40)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.gridLayout_7.addWidget(self.label_12, 0, 2, 1, 1)
        self.heightSpin = QtGui.QSpinBox(self.resizeGroupBox)
        self.heightSpin.setMaximum(999999)
        self.heightSpin.setObjectName(_fromUtf8("heightSpin"))
        self.gridLayout_7.addWidget(self.heightSpin, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.resizeGroupBox, 2, 0, 1, 1)
        self.progressBar = QtGui.QProgressBar(GdalToolsWidget)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout.addWidget(self.progressBar, 3, 0, 1, 1)
        self.multithreadCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.multithreadCheck.setObjectName(_fromUtf8("multithreadCheck"))
        self.gridLayout.addWidget(self.multithreadCheck, 4, 0, 1, 1)
        self.label.setBuddy(self.inSelector)
        self.label_2.setBuddy(self.outSelector)

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

    def retranslateUi(self, GdalToolsWidget):
        GdalToolsWidget.setWindowTitle(QtGui.QApplication.translate("GdalToolsWidget", "Warp (Reproject)", None, QtGui.QApplication.UnicodeUTF8))
        self.batchCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "Batch mode (for processing whole directory)", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Input file", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Output file", None, QtGui.QApplication.UnicodeUTF8))
        self.sourceSRSCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Source SRS", None, QtGui.QApplication.UnicodeUTF8))
        self.selectSourceSRSButton.setText(QtGui.QApplication.translate("GdalToolsWidget", "Select...", None, QtGui.QApplication.UnicodeUTF8))
        self.targetSRSCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Target SRS", None, QtGui.QApplication.UnicodeUTF8))
        self.selectTargetSRSButton.setText(QtGui.QApplication.translate("GdalToolsWidget", "Select...", None, QtGui.QApplication.UnicodeUTF8))
        self.resamplingCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Resampling method", None, QtGui.QApplication.UnicodeUTF8))
        self.resamplingCombo.setItemText(0, QtGui.QApplication.translate("GdalToolsWidget", "Near", None, QtGui.QApplication.UnicodeUTF8))
        self.resamplingCombo.setItemText(1, QtGui.QApplication.translate("GdalToolsWidget", "Bilinear", None, QtGui.QApplication.UnicodeUTF8))
        self.resamplingCombo.setItemText(2, QtGui.QApplication.translate("GdalToolsWidget", "Cubic", None, QtGui.QApplication.UnicodeUTF8))
        self.resamplingCombo.setItemText(3, QtGui.QApplication.translate("GdalToolsWidget", "Cubic spline", None, QtGui.QApplication.UnicodeUTF8))
        self.resamplingCombo.setItemText(4, QtGui.QApplication.translate("GdalToolsWidget", "Lanczos", None, QtGui.QApplication.UnicodeUTF8))
        self.noDataCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "No data values", None, QtGui.QApplication.UnicodeUTF8))
        self.noDataEdit.setText(QtGui.QApplication.translate("GdalToolsWidget", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.cacheCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Memory used for caching", None, QtGui.QApplication.UnicodeUTF8))
        self.cacheSpin.setSuffix(QtGui.QApplication.translate("GdalToolsWidget", "MB", None, QtGui.QApplication.UnicodeUTF8))
        self.maskCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "Mask layer", None, QtGui.QApplication.UnicodeUTF8))
        self.resizeGroupBox.setTitle(QtGui.QApplication.translate("GdalToolsWidget", "Resize", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("GdalToolsWidget", "Width", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("GdalToolsWidget", "Height", None, QtGui.QApplication.UnicodeUTF8))
        self.multithreadCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "Use m&ultithreaded warping implementation", None, QtGui.QApplication.UnicodeUTF8))

from inOutSelector import GdalToolsInOutSelector
