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

# Form implementation generated from reading ui file 'D:/src/qgis-1.8/python/plugins/GdalTools/tools/widgetOverview.ui'
#
# Created: Sun Aug 11 10:30:13 2013
#      by: PyQt4 UI code generator 4.10.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_GdalToolsWidget(object):
    def setupUi(self, GdalToolsWidget):
        GdalToolsWidget.setObjectName(_fromUtf8("GdalToolsWidget"))
        GdalToolsWidget.resize(376, 311)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, 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 = 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.algorithmCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.algorithmCheck.setObjectName(_fromUtf8("algorithmCheck"))
        self.gridLayout.addWidget(self.algorithmCheck, 1, 0, 1, 1)
        self.algorithmCombo = QtGui.QComboBox(GdalToolsWidget)
        self.algorithmCombo.setObjectName(_fromUtf8("algorithmCombo"))
        self.algorithmCombo.addItem(_fromUtf8(""))
        self.algorithmCombo.addItem(_fromUtf8(""))
        self.algorithmCombo.addItem(_fromUtf8(""))
        self.algorithmCombo.addItem(_fromUtf8(""))
        self.algorithmCombo.addItem(_fromUtf8(""))
        self.algorithmCombo.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.algorithmCombo, 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.levelsEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.levelsEdit.setObjectName(_fromUtf8("levelsEdit"))
        self.gridLayout.addWidget(self.levelsEdit, 2, 1, 1, 1)
        self.inSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.inSelector.setObjectName(_fromUtf8("inSelector"))
        self.gridLayout.addWidget(self.inSelector, 0, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.cleanCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.cleanCheck.setObjectName(_fromUtf8("cleanCheck"))
        self.verticalLayout.addWidget(self.cleanCheck)
        self.roModeCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.roModeCheck.setObjectName(_fromUtf8("roModeCheck"))
        self.verticalLayout.addWidget(self.roModeCheck)
        self.tiffjpegCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.tiffjpegCheck.setObjectName(_fromUtf8("tiffjpegCheck"))
        self.verticalLayout.addWidget(self.tiffjpegCheck)
        self.jpegQualityContainer = QtGui.QFrame(GdalToolsWidget)
        self.jpegQualityContainer.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jpegQualityContainer.sizePolicy().hasHeightForWidth())
        self.jpegQualityContainer.setSizePolicy(sizePolicy)
        self.jpegQualityContainer.setMinimumSize(QtCore.QSize(0, 25))
        self.jpegQualityContainer.setObjectName(_fromUtf8("jpegQualityContainer"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.jpegQualityContainer)
        self.horizontalLayout_2.setContentsMargins(24, 0, -1, 0)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.jpegQualityLabel = QtGui.QLabel(self.jpegQualityContainer)
        self.jpegQualityLabel.setObjectName(_fromUtf8("jpegQualityLabel"))
        self.horizontalLayout_2.addWidget(self.jpegQualityLabel)
        self.jpegQualitySpin = QtGui.QSpinBox(self.jpegQualityContainer)
        self.jpegQualitySpin.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jpegQualitySpin.sizePolicy().hasHeightForWidth())
        self.jpegQualitySpin.setSizePolicy(sizePolicy)
        self.jpegQualitySpin.setMaximum(100)
        self.jpegQualitySpin.setObjectName(_fromUtf8("jpegQualitySpin"))
        self.horizontalLayout_2.addWidget(self.jpegQualitySpin)
        self.verticalLayout.addWidget(self.jpegQualityContainer)
        self.rrdCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.rrdCheck.setObjectName(_fromUtf8("rrdCheck"))
        self.verticalLayout.addWidget(self.rrdCheck)
        self.progressBar = QtGui.QProgressBar(GdalToolsWidget)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.verticalLayout.addWidget(self.progressBar)
        self.label.setBuddy(self.inSelector)

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

    def retranslateUi(self, GdalToolsWidget):
        GdalToolsWidget.setWindowTitle(_translate("GdalToolsWidget", "Build overviews (Pyramids)", None))
        self.batchCheck.setText(_translate("GdalToolsWidget", "Batch mode (for processing whole directory)", None))
        self.label.setText(_translate("GdalToolsWidget", "&Input file", None))
        self.algorithmCheck.setText(_translate("GdalToolsWidget", "Resampling method", None))
        self.algorithmCombo.setItemText(0, _translate("GdalToolsWidget", "nearest", None))
        self.algorithmCombo.setItemText(1, _translate("GdalToolsWidget", "average", None))
        self.algorithmCombo.setItemText(2, _translate("GdalToolsWidget", "gauss", None))
        self.algorithmCombo.setItemText(3, _translate("GdalToolsWidget", "average_mp", None))
        self.algorithmCombo.setItemText(4, _translate("GdalToolsWidget", "average_magphase", None))
        self.algorithmCombo.setItemText(5, _translate("GdalToolsWidget", "mode", None))
        self.label_3.setText(_translate("GdalToolsWidget", "Levels (space delimited)", None))
        self.cleanCheck.setToolTip(_translate("GdalToolsWidget", "Remove all overviews.", None))
        self.cleanCheck.setText(_translate("GdalToolsWidget", "Clean", None))
        self.roModeCheck.setToolTip(_translate("GdalToolsWidget", "In order to generate external overview (for GeoTIFF especially).", None))
        self.roModeCheck.setText(_translate("GdalToolsWidget", "Open in read-only mode", None))
        self.tiffjpegCheck.setToolTip(_translate("GdalToolsWidget", "Create external overviews in TIFF format, compressed using JPEG.", None))
        self.tiffjpegCheck.setText(_translate("GdalToolsWidget", "Overviews in TIFF format with JPEG compression", None))
        self.jpegQualityLabel.setToolTip(_translate("GdalToolsWidget", "For JPEG compressed external overviews, \n"
"the JPEG quality can be set.", None))
        self.jpegQualityLabel.setText(_translate("GdalToolsWidget", "JPEG Quality (1-100)", None))
        self.jpegQualitySpin.setToolTip(_translate("GdalToolsWidget", "For JPEG compressed external overviews, \n"
"the JPEG quality can be set.", None))
        self.rrdCheck.setToolTip(_translate("GdalToolsWidget", "Alternate overview format using Erdas Imagine format, \n"
"placing the overviews in an associated .aux file \n"
"suitable for direct use with Imagine,ArcGIS, GDAL.", None))
        self.rrdCheck.setText(_translate("GdalToolsWidget", "Use Imagine format (.aux file)", None))

from inOutSelector import GdalToolsInOutSelector
