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

# Form implementation generated from reading ui file '/usr/obj/ports/qgis-1.7.0/qgis-1.7.0/python/plugins/GdalTools/tools/widgetClipper.ui'
#
# Created: Sun Aug  7 18:23:42 2011
#      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(338, 191)
        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.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(GdalToolsWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.noDataCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.noDataCheck.setObjectName(_fromUtf8("noDataCheck"))
        self.gridLayout.addWidget(self.noDataCheck, 2, 0, 1, 1)
        self.noDataSpin = QtGui.QSpinBox(GdalToolsWidget)
        self.noDataSpin.setMaximum(65000)
        self.noDataSpin.setObjectName(_fromUtf8("noDataSpin"))
        self.gridLayout.addWidget(self.noDataSpin, 2, 1, 1, 1)
        self.label_3 = QtGui.QLabel(GdalToolsWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
        self.outSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.outSelector.setObjectName(_fromUtf8("outSelector"))
        self.gridLayout.addWidget(self.outSelector, 1, 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.extentGroup = QtGui.QGroupBox(GdalToolsWidget)
        self.extentGroup.setObjectName(_fromUtf8("extentGroup"))
        self.gridLayout_2 = QtGui.QGridLayout(self.extentGroup)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.extentModeRadio = QtGui.QRadioButton(self.extentGroup)
        self.extentModeRadio.setChecked(True)
        self.extentModeRadio.setObjectName(_fromUtf8("extentModeRadio"))
        self.gridLayout_2.addWidget(self.extentModeRadio, 0, 0, 1, 1)
        self.maskModeRadio = QtGui.QRadioButton(self.extentGroup)
        self.maskModeRadio.setObjectName(_fromUtf8("maskModeRadio"))
        self.gridLayout_2.addWidget(self.maskModeRadio, 0, 1, 1, 1)
        self.modeStackedWidget = QtGui.QStackedWidget(self.extentGroup)
        self.modeStackedWidget.setObjectName(_fromUtf8("modeStackedWidget"))
        self.page = QtGui.QWidget()
        self.page.setObjectName(_fromUtf8("page"))
        self.gridLayout_3 = QtGui.QGridLayout(self.page)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.extentSelector = GdalToolsExtentSelector(self.page)
        self.extentSelector.setObjectName(_fromUtf8("extentSelector"))
        self.gridLayout_3.addWidget(self.extentSelector, 0, 0, 1, 1)
        self.modeStackedWidget.addWidget(self.page)
        self.page_2 = QtGui.QWidget()
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.gridLayout_4 = QtGui.QGridLayout(self.page_2)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem, 1, 0, 1, 1)
        self.label = QtGui.QLabel(self.page_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_4.addWidget(self.label, 0, 0, 1, 1)
        self.maskSelector = GdalToolsInOutSelector(self.page_2)
        self.maskSelector.setObjectName(_fromUtf8("maskSelector"))
        self.gridLayout_4.addWidget(self.maskSelector, 0, 1, 1, 1)
        self.modeStackedWidget.addWidget(self.page_2)
        self.gridLayout_2.addWidget(self.modeStackedWidget, 1, 0, 1, 2)
        self.verticalLayout.addWidget(self.extentGroup)
        self.label_2.setBuddy(self.outSelector)
        self.label_3.setBuddy(self.inSelector)

        self.retranslateUi(GdalToolsWidget)
        self.modeStackedWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(GdalToolsWidget)

    def retranslateUi(self, GdalToolsWidget):
        GdalToolsWidget.setWindowTitle(QtGui.QApplication.translate("GdalToolsWidget", "Clipper", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Output file", None, QtGui.QApplication.UnicodeUTF8))
        self.noDataCheck.setText(QtGui.QApplication.translate("GdalToolsWidget", "&No data value", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("GdalToolsWidget", "&Input file (raster)", None, QtGui.QApplication.UnicodeUTF8))
        self.extentGroup.setTitle(QtGui.QApplication.translate("GdalToolsWidget", "Clipping mode", None, QtGui.QApplication.UnicodeUTF8))
        self.extentModeRadio.setText(QtGui.QApplication.translate("GdalToolsWidget", "Extent", None, QtGui.QApplication.UnicodeUTF8))
        self.maskModeRadio.setText(QtGui.QApplication.translate("GdalToolsWidget", "Mask layer", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("GdalToolsWidget", "Mask layer", None, QtGui.QApplication.UnicodeUTF8))

from extentSelector import GdalToolsExtentSelector
from inOutSelector import GdalToolsInOutSelector
