# -*- 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/widgetTranslate.ui'
#
# Created: Sun Feb 27 07:54:49 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(335, 453)
        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_2 = QtGui.QVBoxLayout(GdalToolsWidget)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.batchCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.batchCheck.setObjectName(_fromUtf8("batchCheck"))
        self.verticalLayout_2.addWidget(self.batchCheck)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_3 = QtGui.QLabel(GdalToolsWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        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_5.addWidget(self.inputLayerCombo)
        self.selectInputFileButton = QtGui.QPushButton(GdalToolsWidget)
        self.selectInputFileButton.setObjectName(_fromUtf8("selectInputFileButton"))
        self.horizontalLayout_5.addWidget(self.selectInputFileButton)
        self.gridLayout.addLayout(self.horizontalLayout_5, 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.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, 1, 1, 1, 1)
        self.formatLabel = QtGui.QLabel(GdalToolsWidget)
        self.formatLabel.setObjectName(_fromUtf8("formatLabel"))
        self.gridLayout.addWidget(self.formatLabel, 2, 0, 1, 1)
        self.formatCombo = QtGui.QComboBox(GdalToolsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.formatCombo.sizePolicy().hasHeightForWidth())
        self.formatCombo.setSizePolicy(sizePolicy)
        self.formatCombo.setObjectName(_fromUtf8("formatCombo"))
        self.gridLayout.addWidget(self.formatCombo, 2, 1, 1, 1)
        self.targetSRSCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.targetSRSCheck.setObjectName(_fromUtf8("targetSRSCheck"))
        self.gridLayout.addWidget(self.targetSRSCheck, 3, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.targetSRSEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.targetSRSEdit.setMinimumSize(QtCore.QSize(100, 0))
        self.targetSRSEdit.setObjectName(_fromUtf8("targetSRSEdit"))
        self.horizontalLayout.addWidget(self.targetSRSEdit)
        self.selectTargetSRSButton = QtGui.QPushButton(GdalToolsWidget)
        self.selectTargetSRSButton.setObjectName(_fromUtf8("selectTargetSRSButton"))
        self.horizontalLayout.addWidget(self.selectTargetSRSButton)
        self.gridLayout.addLayout(self.horizontalLayout, 3, 1, 1, 1)
        self.outsizeCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.outsizeCheck.setMaximumSize(QtCore.QSize(100, 16777215))
        self.outsizeCheck.setObjectName(_fromUtf8("outsizeCheck"))
        self.gridLayout.addWidget(self.outsizeCheck, 4, 0, 1, 1)
        self.outsizeSpin = QtGui.QSpinBox(GdalToolsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.outsizeSpin.sizePolicy().hasHeightForWidth())
        self.outsizeSpin.setSizePolicy(sizePolicy)
        self.outsizeSpin.setMinimum(1)
        self.outsizeSpin.setMaximum(1000)
        self.outsizeSpin.setObjectName(_fromUtf8("outsizeSpin"))
        self.gridLayout.addWidget(self.outsizeSpin, 4, 1, 1, 1)
        self.nodataCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.nodataCheck.setObjectName(_fromUtf8("nodataCheck"))
        self.gridLayout.addWidget(self.nodataCheck, 5, 0, 1, 1)
        self.expandCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.expandCheck.setObjectName(_fromUtf8("expandCheck"))
        self.gridLayout.addWidget(self.expandCheck, 6, 0, 1, 1)
        self.expandCombo = QtGui.QComboBox(GdalToolsWidget)
        self.expandCombo.setObjectName(_fromUtf8("expandCombo"))
        self.expandCombo.addItem(_fromUtf8(""))
        self.expandCombo.addItem(_fromUtf8(""))
        self.expandCombo.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.expandCombo, 6, 1, 1, 1)
        self.srcwinCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.srcwinCheck.setObjectName(_fromUtf8("srcwinCheck"))
        self.gridLayout.addWidget(self.srcwinCheck, 7, 0, 1, 1)
        self.srcwinEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.srcwinEdit.setObjectName(_fromUtf8("srcwinEdit"))
        self.gridLayout.addWidget(self.srcwinEdit, 7, 1, 1, 1)
        self.prjwinCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.prjwinCheck.setObjectName(_fromUtf8("prjwinCheck"))
        self.gridLayout.addWidget(self.prjwinCheck, 8, 0, 1, 1)
        self.prjwinEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.prjwinEdit.setObjectName(_fromUtf8("prjwinEdit"))
        self.gridLayout.addWidget(self.prjwinEdit, 8, 1, 1, 1)
        self.sdsCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.sdsCheck.setObjectName(_fromUtf8("sdsCheck"))
        self.gridLayout.addWidget(self.sdsCheck, 9, 0, 1, 1)
        self.nodataSpin = QtGui.QSpinBox(GdalToolsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.nodataSpin.sizePolicy().hasHeightForWidth())
        self.nodataSpin.setSizePolicy(sizePolicy)
        self.nodataSpin.setMinimum(-999999999)
        self.nodataSpin.setMaximum(999999999)
        self.nodataSpin.setObjectName(_fromUtf8("nodataSpin"))
        self.gridLayout.addWidget(self.nodataSpin, 5, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.creationGroupBox = QtGui.QGroupBox(GdalToolsWidget)
        self.creationGroupBox.setCheckable(True)
        self.creationGroupBox.setChecked(False)
        self.creationGroupBox.setObjectName(_fromUtf8("creationGroupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.creationGroupBox)
        self.verticalLayout.setContentsMargins(-1, -1, -1, 0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.creationOptionsTable = GdalToolsOptionsTable(self.creationGroupBox)
        self.creationOptionsTable.setObjectName(_fromUtf8("creationOptionsTable"))
        self.verticalLayout.addWidget(self.creationOptionsTable)
        self.verticalLayout_2.addWidget(self.creationGroupBox)
        self.progressBar = QtGui.QProgressBar(GdalToolsWidget)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.verticalLayout_2.addWidget(self.progressBar)
        self.label_3.setBuddy(self.inputLayerCombo)
        self.label_2.setBuddy(self.selectOutputFileButton)

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

    def retranslateUi(self, GdalToolsWidget):
        GdalToolsWidget.setWindowTitle(QtGui.QApplication.translate("GdalToolsWidget", "Translate", None, QtGui.QApplication.UnicodeUTF8))
        self.batchCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "Batch mode (for processing whole directory)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Input Layer:", 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.formatLabel.setText(QtGui.QApplication.translate("GdalToolsWidget", "Output format", 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.outsizeCheck.setToolTip(QtGui.QApplication.translate("GdalToolsWidget", "Percentage to resize image. This will change pixel size/image resolution accordingly: 25% will create an image with pixels 4x larger.", None, QtGui.QApplication.UnicodeUTF8))
        self.outsizeCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "Outsize:", None, QtGui.QApplication.UnicodeUTF8))
        self.outsizeSpin.setToolTip(QtGui.QApplication.translate("GdalToolsWidget", "Percentage to resize image. This will change pixel size/image resolution accordingly: 25% will create an image with pixels 4x larger.", None, QtGui.QApplication.UnicodeUTF8))
        self.outsizeSpin.setSuffix(QtGui.QApplication.translate("GdalToolsWidget", "%", None, QtGui.QApplication.UnicodeUTF8))
        self.nodataCheck.setToolTip(QtGui.QApplication.translate("GdalToolsWidget", "Assign a specified nodata value to output bands.", None, QtGui.QApplication.UnicodeUTF8))
        self.nodataCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "No data:", None, QtGui.QApplication.UnicodeUTF8))
        self.expandCheck.setToolTip(QtGui.QApplication.translate("GdalToolsWidget", "To expose a dataset with 1 band with a color table as a dataset with 3 (RGB) or 4 (RGBA) bands. \n"
"Useful for output drivers such as JPEG, JPEG2000, MrSID, ECW that don\'t support color indexed datasets. \n"
"The \'gray\' value (from GDAL 1.7.0) enables to expand a dataset with a color table that only contains gray levels to a gray indexed dataset.", None, QtGui.QApplication.UnicodeUTF8))
        self.expandCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "Expand:", None, QtGui.QApplication.UnicodeUTF8))
        self.expandCombo.setToolTip(QtGui.QApplication.translate("GdalToolsWidget", "To expose a dataset with 1 band with a color table as a dataset with 3 (RGB) or 4 (RGBA) bands. \n"
"Useful for output drivers such as JPEG, JPEG2000, MrSID, ECW that don\'t support color indexed datasets. \n"
"The \'gray\' value (from GDAL 1.7.0) enables to expand a dataset with a color table that only contains gray levels to a gray indexed dataset.", None, QtGui.QApplication.UnicodeUTF8))
        self.expandCombo.setItemText(0, QtGui.QApplication.translate("GdalToolsWidget", "Gray", None, QtGui.QApplication.UnicodeUTF8))
        self.expandCombo.setItemText(1, QtGui.QApplication.translate("GdalToolsWidget", "RGB", None, QtGui.QApplication.UnicodeUTF8))
        self.expandCombo.setItemText(2, QtGui.QApplication.translate("GdalToolsWidget", "RGBA", None, QtGui.QApplication.UnicodeUTF8))
        self.srcwinCheck.setToolTip(QtGui.QApplication.translate("GdalToolsWidget", "Selects a subwindow from the source image for copying based on pixel/line location. (Enter Xoff Yoff Xsize Ysize)", None, QtGui.QApplication.UnicodeUTF8))
        self.srcwinCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "Srcwin:", None, QtGui.QApplication.UnicodeUTF8))
        self.srcwinEdit.setToolTip(QtGui.QApplication.translate("GdalToolsWidget", "Selects a subwindow from the source image for copying based on pixel/line location. (Enter Xoff Yoff Xsize Ysize)", None, QtGui.QApplication.UnicodeUTF8))
        self.prjwinCheck.setToolTip(QtGui.QApplication.translate("GdalToolsWidget", "Selects a subwindow from the source image for copying (like -srcwin) but with the corners given in georeferenced coordinates. (Enter ulx uly lrx lry)", None, QtGui.QApplication.UnicodeUTF8))
        self.prjwinCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "Prjwin:", None, QtGui.QApplication.UnicodeUTF8))
        self.prjwinEdit.setToolTip(QtGui.QApplication.translate("GdalToolsWidget", "Selects a subwindow from the source image for copying (like -srcwin) but with the corners given in georeferenced coordinates. (Enter ulx uly lrx lry)", None, QtGui.QApplication.UnicodeUTF8))
        self.sdsCheck.setToolTip(QtGui.QApplication.translate("GdalToolsWidget", "Copy all subdatasets of this file to individual output files. Use with formats like HDF or OGDI that have subdatasets.", None, QtGui.QApplication.UnicodeUTF8))
        self.sdsCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "Sds", None, QtGui.QApplication.UnicodeUTF8))
        self.nodataSpin.setToolTip(QtGui.QApplication.translate("GdalToolsWidget", "Assign a specified nodata value to output bands.", None, QtGui.QApplication.UnicodeUTF8))
        self.creationGroupBox.setTitle(QtGui.QApplication.translate("GdalToolsWidget", "&Creation Options:", None, QtGui.QApplication.UnicodeUTF8))

from optionsTable import GdalToolsOptionsTable
