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

# Form implementation generated from reading ui file '/work/a/ports/graphics/qgis/work/qgis-1.6.0/python/plugins/GdalTools/tools/widgetConvert.ui'
#
# Created: Wed Feb  2 00:51:16 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(356, 181)
        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 = 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.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        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.addWidget(self.inputLayerCombo)
        self.selectInputFileButton = QtGui.QPushButton(GdalToolsWidget)
        self.selectInputFileButton.setObjectName(_fromUtf8("selectInputFileButton"))
        self.horizontalLayout.addWidget(self.selectInputFileButton)
        self.gridLayout.addLayout(self.horizontalLayout, 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.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.colorsCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.colorsCheck.setObjectName(_fromUtf8("colorsCheck"))
        self.gridLayout.addWidget(self.colorsCheck, 2, 0, 1, 1)
        self.colorsSpin = QtGui.QSpinBox(GdalToolsWidget)
        self.colorsSpin.setMinimum(2)
        self.colorsSpin.setMaximum(256)
        self.colorsSpin.setObjectName(_fromUtf8("colorsSpin"))
        self.gridLayout.addWidget(self.colorsSpin, 2, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.progressBar = QtGui.QProgressBar(GdalToolsWidget)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.verticalLayout.addWidget(self.progressBar)
        self.label.setBuddy(self.selectInputFileButton)
        self.label_2.setBuddy(self.selectInputFileButton)

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

    def retranslateUi(self, GdalToolsWidget):
        GdalToolsWidget.setWindowTitle(QtGui.QApplication.translate("GdalToolsWidget", "Convert RGB image to paletted", 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.colorsCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "Number of colors", None, QtGui.QApplication.UnicodeUTF8))

