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

# Form implementation generated from reading ui file '/work/a/ports/graphics/qgis/work/qgis-1.6.0/python/plugins/GdalTools/tools/widgetWarp.ui'
#
# Created: Wed Feb  2 00:51:14 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(415, 442)
        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.batchCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.batchCheck.setObjectName(_fromUtf8("batchCheck"))
        self.verticalLayout.addWidget(self.batchCheck)
        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.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_2.addLayout(self.horizontalLayout_3, 0, 1, 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.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_2.addLayout(self.horizontalLayout_2, 1, 1, 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, 6, 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, 6, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_2)
        self.resizeGroupBox = QtGui.QGroupBox(GdalToolsWidget)
        self.resizeGroupBox.setCheckable(True)
        self.resizeGroupBox.setChecked(False)
        self.resizeGroupBox.setObjectName(_fromUtf8("resizeGroupBox"))
        self.gridLayout = QtGui.QGridLayout(self.resizeGroupBox)
        self.gridLayout.setContentsMargins(-1, -1, -1, 0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_4 = QtGui.QLabel(self.resizeGroupBox)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.widthSpin = QtGui.QSpinBox(self.resizeGroupBox)
        self.widthSpin.setMaximum(999999)
        self.widthSpin.setObjectName(_fromUtf8("widthSpin"))
        self.gridLayout.addWidget(self.widthSpin, 0, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.resizeGroupBox)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.heightSpin = QtGui.QSpinBox(self.resizeGroupBox)
        self.heightSpin.setMaximum(999999)
        self.heightSpin.setObjectName(_fromUtf8("heightSpin"))
        self.gridLayout.addWidget(self.heightSpin, 1, 1, 1, 1)
        self.verticalLayout.addWidget(self.resizeGroupBox)
        self.progressBar = QtGui.QProgressBar(GdalToolsWidget)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.verticalLayout.addWidget(self.progressBar)
        self.multithreadCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.multithreadCheck.setObjectName(_fromUtf8("multithreadCheck"))
        self.verticalLayout.addWidget(self.multithreadCheck)
        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", "Warp", 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.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.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", "Set no data value", 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.resizeGroupBox.setTitle(QtGui.QApplication.translate("GdalToolsWidget", "Resize", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("GdalToolsWidget", "Image width", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("GdalToolsWidget", "Image height", None, QtGui.QApplication.UnicodeUTF8))
        self.multithreadCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "Use m&ultithreaded warping implementation", None, QtGui.QApplication.UnicodeUTF8))

